[gdal-dev] Configure GDAL 1.9.1 with GEOS 3.3.6

Ran, Limei lran at email.unc.edu
Thu Dec 13 05:51:43 PST 2012


Hello,

I compiled GEOS 3.3.6 on our Linux server and I used the following configure for GDAL 1.9.1 with GEOS installed dir:

./configure --prefix=/nas01/depts/ie/cempd/SA/sa_06_2009/src/libs/gdal-1.9.1/local --with-static-proj4=/nas01/depts/ie/cempd/SA/sa_06_2009/src/libs/proj-4.8.0/local --with-geos=/nas01/depts/ie/cempd/SA/sa_06_2009/src/libs/geos-3.3.6/local --with-libtiff=internal --with-png=internal --with-jpeg=internal --with-libz=internal --enable-linux-lfs --enable-static --without-curl --without-expat --without-mysql --without-dwgdirect --without-odbc --without-python --without-oci --without-sqlite3 --without-oci-include --without-oci-lib --without-ld-shared

But, I got GEOS support no at the end.
..
SQLite support:            no
  SpatiaLite support:        no
  DWGdirect support          no
  INFORMIX DataBlade support:no
  GEOS support:              no
  VFK support:               yes
  Poppler support:           no
  Podofo support:            no
....

I have:
...
config.status:S["GEOS_CONFIG"]="no"
config.status:S["GEOS_VERSION"]=""
config.status:S["HAVE_GEOS"]=""
config.status:S["GEOS_CFLAGS"]=""
config.status:S["GEOS_LIBS"]="/nas01/depts/ie/cempd/SA/sa_06_2009/src/libs/geos-3.3.6/local/lib"
...

I did uncomment the following:
...
nmake.opt:# Uncomment for GEOS support
nmake.opt:GEOS_DIR=/nas01/depts/ie/cempd/SA/sa_06_2009/src/libs/geos-3.3.6
nmake.opt:GEOS_CFLAGS = -I$(GEOS_DIR)/capi -I$(GEOS_DIR)/source/headers -DHAVE_GEOS
nmake.opt:GEOS_LIB     = $(GEOS_DIR)/local/lib/geos_c_i.lib
...

Could you tell me where the problem could be?

Thanks,

Limei



More information about the gdal-dev mailing list