[gdal-dev] GDAL 1.9.2 not detecting options in ./configure

Eduardo Kanegae eduardo.kanegae at gmail.com
Fri Oct 12 10:52:10 PDT 2012


hello,

I'm on CentOS 6.2 x86_64 trying to configure GDAL 1.9.2 but there's
some options of configure not beeing set, even on explicit cases (like
--with-mydep ).

If I try only:

./configure
# without any params

I get the following conf report:
*******************
  LIBTOOL support:           yes

  LIBZ support:              external
  LIBLZMA support:           no
  GRASS support:             no
  CFITSIO support:           no
  PCRaster support:          internal
  LIBPNG support:            external
  GTA support:               no
  LIBTIFF support:           internal (BigTIFF=yes)
  LIBGEOTIFF support:        internal
  LIBJPEG support:           external
  8/12 bit JPEG TIFF:        no
  LIBGIF support:            external
  OGDI support:              no
  HDF4 support:              yes
  HDF5 support:              yes
  NetCDF support:            yes
  Kakadu support:            no
  JasPer support:            yes (GeoJP2=no)
  OpenJPEG support:          no
  ECW support:               yes
  MrSID support:             no
  MrSID/MG4 Lidar support:   no
  MSG support:               no
  GRIB support:              yes
  EPSILON support:           no
  WebP support:              no
  cURL support (wms/wcs/...):yes
  PostgreSQL support:        yes
  MySQL support:             no
  Ingres support:            no
  Xerces-C support:          yes
  NAS support:               yes
  Expat support:             yes
  Google libkml support:     yes
  ODBC support:              yes
  PGeo support:              yes
  FGDB support:
  MDB support:               no
  PCIDSK support:            internal
  OCI support:               no
  GEORASTER support:         no
  SDE support:               no
  Rasdaman support:          no
  DODS support:              no
  SQLite support:            yes
  SpatiaLite support:        no
  DWGdirect support          no
  INFORMIX DataBlade support:no
  GEOS support:              yes
  VFK support:               yes
  Poppler support:           no
  Podofo support:            no
  OpenCL support:            no
  Armadillo support:         no
  FreeXL support:            yes

  SWIG Bindings:          no

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

But in a second time trying this:
./configure --with-grass=/usr/local/grass-6.4.2 --with-png=/usr \
 --with-ecw=/usr/local --with-mrsid=/usr/local/MrSIDSDK8.5.0/Raster_DSDK \
 --with-jp2mrsid=yes
--with-mrsid_lidar=/usr/local/MrSIDSDK8.5.0/Lidar_DSDK
--with-curl=/usr/bin/curl-config \
 --with-mysql=/usr/bin/mysql_config --with-xerces
--with-xerces-inc=/usr/local/include/xercesc \
 --with-xerces-lib=/usr/local/lib --with-libkml
--with-libkml-inc=/usr/local/include/kml
--with-libkml-lib=/usr/local/lib \
 --with-odbc --with-spatialite=/usr/local/lib
--with-sqlite3=/usr/lib64 --with-poppler=/usr/local/lib \
 --with-freexl=/usr/local/lib --with-python --with-php 2>&1 | tee configure.log

I got the following:
#############
  LIBZ support:              external
  LIBLZMA support:           no
  GRASS support:             grass57+
  CFITSIO support:           no
  PCRaster support:          internal
  LIBPNG support:            external
  GTA support:               no
  LIBTIFF support:           internal (BigTIFF=yes)
  LIBGEOTIFF support:        internal
  LIBJPEG support:           internal
  8/12 bit JPEG TIFF:        yes
  LIBGIF support:            internal
  OGDI support:              no
  HDF4 support:              no
  HDF5 support:              no
  NetCDF support:            no
  Kakadu support:            no
  JasPer support:            no
  OpenJPEG support:          no
  ECW support:               yes
  MrSID support:             yes
  MrSID/MG4 Lidar support:   yes
  MSG support:               no
  GRIB support:              yes
  EPSILON support:           no
  WebP support:              no
  cURL support (wms/wcs/...):no
  PostgreSQL support:        yes
  MySQL support:             yes
  Ingres support:            no
  Xerces-C support:          no
  NAS support:               no
  Expat support:             yes
  Google libkml support:     no
  ODBC support:              no
  PGeo support:              no
  FGDB support:
  MDB support:               no
  PCIDSK support:            internal
  OCI support:               no
  GEORASTER support:         no
  SDE support:               no
  Rasdaman support:          no
  DODS support:              no
  SQLite support:            yes
  SpatiaLite support:        no
  DWGdirect support          no
  INFORMIX DataBlade support:no
  GEOS support:              yes
  VFK support:               yes
  Poppler support:           no
  Podofo support:            no
  OpenCL support:            no
  Armadillo support:         no
  FreeXL support:            no


  SWIG Bindings:          python php

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

Some points:
* why hdf4 + 5, netcdf and jasper was set to "no" if at the 1st time
they were detected and I didn't use "--without" by the second time?
  >> HDF4/5, netCDF and Jasper was built to standard /usr/local prefix
* curl, xerces, libkml and odbc was set to "yes" by the first time but
now, using "with" was set to 'no'
 >> odbc and curl 7.19.7 (+libcurl, libcurl-devel) was used from
standard yum install of CentOS
 >> Xerces-C and libKML (svn 1.3.0) was build to standard /usr/local prefix
* spatialite and poppler was set to 'no' despite --with option
 >> both build to /usr/local too
* freexl was set to 'yes' the first time, but after explicit --with,
it didn't work too.
 >> build to /usr/local too

So, I tried a third form removing failed options:

./configure --with-grass=/usr/local/grass-6.4.2 --with-png=/usr
--with-ecw=/usr/local \
 --with-mrsid=/usr/local/MrSIDSDK8.5.0/Raster_DSDK --with-jp2mrsid=yes
--with-mrsid_lidar=/usr/local/MrSIDSDK8.5.0/Lidar_DSDK \
 --with-mysql=/usr/bin/mysql_config --with-sqlite3=/usr/lib64
--with-python --with-php 2>&1 | tee configure.log

and this gave me the same final report as the second configure shown above.

The full output for earch ./configure command are shown there:

http://dl.dropbox.com/u/108047961/debug/gdal192-config1_12oct2012.log
 1st one without parameters
http://dl.dropbox.com/u/108047961/debug/gdal192-config2_12oct2012.log
 2nd form
http://dl.dropbox.com/u/108047961/debug/gdal192-config3_12oct2012.log
 3rd form

Any tips?

thanks in advance

Eduardo Patto Kanegae
http://www.webmapit.com | @webmapit


More information about the gdal-dev mailing list