[gdal-dev] Error building GDAL with GEOS on Solaris

Namrata namrata.r.sorte at gmail.com
Mon Nov 29 03:32:55 EST 2010


Hi,

I modified few options in configuration script to resolve if any
dependencies, it is as below:

./configure  --prefix=/usr/local \
            --with-threads \
            --with-ogr \
            --with-geos=yes \
            --without-libtool \
            --with-libz=internal \
            --with-libtiff=internal \
            --with-geotiff=internal \
            --without-gif \
            --without-pg \
            --without-grass \
            --without-libgrass \
            --without-cfitsio \
            --without-pcraster \
            --without-netcdf \
            --without-png \
            --with-jpeg=internal \
            --without-gif \
            --without-ogdi \
            --without-fme \
            --without-hdf4 \
            --without-hdf5 \
            --without-jasper \
            --without-ecw \
            --without-kakadu \
            --without-mrsid \
            --without-jp2mrsid \
            --without-bsb \
            --without-grib \
            --without-mysql \
            --without-ingres \
            --without-xerces \
            --without-expat \
            --without-odbc \
            --without-curl \
            --without-sqlite3 \
            --without-dwgdirect \
            --without-panorama \
            --without-idb \
            --without-sde \
            --without-perl \
            --without-php \
            --without-ruby \
            --without-python \
            --without-ogpython \
            --with-hide-internal-symbols


Below is my config status:

GDAL is now configured for sparc-sun-solaris2.10

  Installation directory:    /usr/local
  C compiler:                gcc -g -O2 -fPIC
  C++ compiler:              g++ -g -O2 -fPIC

  LIBTOOL support:           no

  LIBZ support:              internal
  GRASS support:             no
  CFITSIO support:           no
  PCRaster support:          no
  NetCDF support:            no
  LIBPNG support:            no
  LIBTIFF support:           internal (BigTIFF=yes)
  LIBGEOTIFF support:        internal
  LIBJPEG support:           internal
  8/12 bit JPEG TIFF:        yes
  LIBGIF support:            no
  OGDI support:              no
  HDF4 support:              no
  HDF5 support:              no
  Kakadu support:            no
  JasPer support:            no
  ECW support:               no
  MrSID support:             no
  MSG support:               no
  GRIB support:              no
  EPSILON support:           no
  cURL support (wms/wcs/...):no
  PostgreSQL support:        no
  MySQL support:             no
  Ingres support:            no
  Xerces-C support:          no
  NAS support:               no
  Expat support:             no
  ODBC support:              no
  PGeo support:              no
  PCIDSK support:            internal
  OCI support:               no
  GEORASTER support:         no
  SDE support:               no
  DODS support:              no
  SQLite support:            no
  SpatiaLite support:        no
  DWGdirect support          no
  INFORMIX DataBlade support:no
  GEOS support:              yes
  VFK support:               yes


  SWIG Bindings:          no

  Statically link PROJ.4:    no
  enable OGR building:       yes
  enable pthread support:    yes
  hide internal symbols:     no


Now when I execute "make" command I get following error:

.........
........... . . .   .

g++ -DHAVE_MITAB -g -O2 -fPIC  -Wall  -Iogrsf_frmts -I.
-I/pool1/innovations/gdal-1.7.1/port -I/pool1/innovations/gdal-1.7.1/gcore
-I/pool1/innovations/gdal-1.7.1/alg -I/pool1/innovations/gdal-1.7.1/ogr
-I/pool1/innovations/gdal-1.7.1/ogr/ogrsf_frmts   -DHAVE_GEOS=1
-I/usr/local/include -DOGR_ENABLED -I/pool1/innovations/gdal-1.7.1/port  -c
-o ogr_expat.o ogr_expat.cpp
make[1]: Leaving directory `/pool1/innovations/gdal-1.7.1/ogr'
make /pool1/innovations/gdal-1.7.1/libgdal.a
/pool1/innovations/gdal-1.7.1/libgdal.so
make[1]: Entering directory `/pool1/innovations/gdal-1.7.1'
rm -f libgdal.a
ar r /pool1/innovations/gdal-1.7.1/libgdal.a
/pool1/innovations/gdal-1.7.1/frmts/o/*.o
/pool1/innovations/gdal-1.7.1/gcore/*.o
/pool1/innovations/gdal-1.7.1/port/*.o /pool1/innovations/gdal-1.7.1/alg/*.o
/pool1/innovations/gdal-1.7.1/ogr/ogrsf_frmts/o/*.o
./ogr/ogrgeometryfactory.o ./ogr/ogrpoint.o ./ogr/ogrcurve.o
./ogr/ogrlinestring.o ./ogr/ogrlinearring.o ./ogr/ogrpolygon.o
./ogr/ogrutils.o ./ogr/ogrgeometry.o ./ogr/ogrgeometrycollection.o
./ogr/ogrmultipolygon.o ./ogr/ogrsurface.o ./ogr/ogrmultipoint.o
./ogr/ogrmultilinestring.o ./ogr/ogr_api.o ./ogr/ogrfeature.o
./ogr/ogrfeaturedefn.o ./ogr/ogrfeaturequery.o ./ogr/ogrfeaturestyle.o
./ogr/ogrfielddefn.o ./ogr/ogrspatialreference.o ./ogr/ogr_srsnode.o
./ogr/ogr_srs_proj4.o ./ogr/ogr_fromepsg.o ./ogr/ogrct.o ./ogr/ogr_opt.o
./ogr/ogr_srs_esri.o ./ogr/ogr_srs_pci.o ./ogr/ogr_srs_usgs.o
./ogr/ogr_srs_dict.o ./ogr/ogr_srs_panorama.o ./ogr/ogr_srs_ozi.o
./ogr/ogr_srs_erm.o ./ogr/swq.o ./ogr/ogr_srs_validate.o ./ogr/ogr_srs_xml.o
./ogr/ograssemblepolygon.o ./ogr/ogr2gmlgeometry.o ./ogr/gml2ogrgeometry.o
./ogr/ogr_expat.o
/bin/sh: ar: not found
make[1]: *** [/pool1/innovations/gdal-1.7.1/libgdal.a] Error 1
make[1]: Leaving directory `/pool1/innovations/gdal-1.7.1'
make: *** [check-lib] Error 2

Please help me to sort this error.

Thanks,
Namrata
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/gdal-dev-Error-building-GDAL-with-GEOS-on-Solaris-tp5776262p5783578.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list