Ticket #3080 (closed defect: wontfix)

Opened 4 years ago

Last modified 4 years ago

libtool: /bin/sh: arg list too long (powerpc-ibm-aix5.3)

Reported by: neteler Owned by: warmerdam
Priority: normal Milestone: 1.6.3
Component: ConfigBuild Version: unspecified
Severity: normal Keywords:
Cc:

Description

I am trying to compile GDAL 1.6.1 (tar.gz) on a powerpc-ibm-aix5.3.0.0 (cluster). I am configuring with minimalistic configuration but run into never-seen-before troubles:

I am trying to compile GDAL 1.6.1 (tar.gz) on a powerpc-ibm-aix5.3.0.0 (cluster). I am configuring with minimalistic configuration but run into never-seen-before troubles:

{{{
# long lines broken for readability
make[1]: Entering directory `/afs/user/neteler/private/software/gdal-1.6.1'
/bin/sh /afs/user/neteler/private/software/gdal-1.6.1/libtool --mode=link 
 g++    -lm -lrt -ldl  
 -o libgdal.la /afs/user/neteler/private/software/gdal-1.6.1/frmts/o/*.lo 
/afs/user/neteler/private/software/gdal-1.6.1/gcore/*.lo
 /afs/user/neteler/private/software/gdal-1.6.1/port/*.lo 
/afs/user/neteler/private/software/gdal-1.6.1/alg/*.lo 
/afs/user/neteler/private/software/gdal-1.6.1/ogr/ogrsf_frmts/o/*.lo 
./ogr/ogrgeometryfactory.lo ./ogr/ogrpoint.lo ./ogr/ogrcurve.lo
 ./ogr/ogrlinestring.lo ./ogr/ogrlinearring.lo ./ogr/ogrpolygon.lo 
./ogr/ogrutils.lo ./ogr/ogrgeometry.lo ./ogr/ogrgeometrycollection.lo
 ./ogr/ogrmultipolygon.lo ./ogr/ogrsurface.lo ./ogr/ogrmultipoint.lo 
./ogr/ogrmultilinestring.lo ./ogr/ogr_api.lo ./ogr/ogrfeature.lo
 ./ogr/ogrfeaturedefn.lo ./ogr/ogrfeaturequery.lo ./ogr/ogrfeaturestyle.lo
 ./ogr/ogrfielddefn.lo ./ogr/ogrspatialreference.lo ./ogr/ogr_srsnode.lo 
./ogr/ogr_srs_proj4.lo ./ogr/ogr_fromepsg.lo ./ogr/ogrct.lo ./ogr/ogr_opt.lo 
./ogr/ogr_srs_esri.lo ./ogr/ogr_srs_pci.lo ./ogr/ogr_srs_usgs.lo 
./ogr/ogr_srs_dict.lo ./ogr/ogr_srs_panorama.lo ./ogr/ogr_srs_erm.lo 
./ogr/swq.lo ./ogr/ogr_srs_validate.lo ./ogr/ogr_srs_xml.lo 
./ogr/ograssemblepolygon.lo ./ogr/ogr2gmlgeometry.lo ./ogr/gml2ogrgeometry.lo \
    -rpath /afs/user/neteler/bin/bin/lib \
    -no-undefined \
    -version-info 14:1:13
/bin/sh: /bin/sh: arg list too long
make[1]: *** [libgdal.la] Error 126 
make[1]: Leaving directory `/afs/user/neteler/private/software/gdal-1.6.1'
make: *** [check-lib] Error 2
}}}

Any suggestion?

Change History

Changed 4 years ago by warmerdam

Markus,

This google hit looks promising if you have superuser access:

 http://unix.derkeiler.com/Newsgroups/comp.unix.aix/2004-01/0372.html

Changed 4 years ago by neteler

I had found the same hint but I am one of hundreds of users. So no superuser access for me nor extra tricks (it is a TOP500 system). I wonder if I could split this part into chunks. I need to obtain this GDAL installation only one time for this architecture to then compile & install GRASS.

Changed 4 years ago by neteler

I also tried without libtool but then:

configure:16852: error: cannot compute sizeof (int)

Worth another ticket?

Changed 4 years ago by neteler

  • status changed from new to closed
  • resolution set to wontfix

the solution was to convince the admins to make a modification in AIX settings:  http://blog.jolexa.net/2009/07/23/aix-argument-list-too-long-quick-tip/

root# chdev -l sys0 -a ncargs=40

Closing.

Note: See TracTickets for help on using tickets.