[Mapserver-dev] CVS compile with geos

Kralidis,Tom [Burlington] Tom.Kralidis at ec.gc.ca
Thu Sep 30 16:50:53 EDT 2004


Hi,

When trying to ./configure against geos (as per command below):

./configure --with-freetype=/usr/local/bin/freetype-config
--with-zlib=/usr/local --with-png=/usr/local --with-jpeg=/usr/local
--with-xpm=/usr/local --with-
gd=/usr/local --with-pdf=/usr/local --with-eppl --with-proj=/usr/local
--with-geos=/usr/local/bin/geos-config
--with-gdal=/usr/local/bin/gdal-config --with-
ogr=/usr/local/bin/gdal-config
--with-postgis=/usr/local/pgsql/bin/pg_config --with-wfs --with-wcs
--with-wmsclient --with-wfsclient --without-tiff --with-c
url-config=/usr/local/bin/curl-config

The following output comes back to STDOUT (the geos-related checks):


...

        MPATROL support not requested.
checking if GEOS support requested... yes, user supplied geos-config
(/usr/local/bin/geos-config)
Usage: geos-config [OPTIONS]
Options:
     [--prefix]
     [--version]
     [--libs]
     [--cflags]
     [--includes]
configure: checking whether we should include OGR support......
        OGR enabled (-DUSE_OGR).
...

It looks like it's not running the command as it should?  At any rate,
when I try to make against this, I get:

gcc -c -O2 -fPIC  -Wall -DIGNORE_MISSING_DATA -DNEED_STRLCAT  -DUSE_EPPL
-DUSE_PROJ -DUSE_PROJ_API_H -DUSE_WMS_SVR -DUSE_WMS_LYR -DUSE_WFS_SVR
-DUSE_WFS_LYR
 -DUSE_WCS_SVR     -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP
-DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -DUSE_PDF  -DUSE_OGR -DUSE_GDAL
-DUSE_GEOS -DUSE
_ICONV -DUSE_POSTGIS    -I/usr/local/include -I/usr/local/include
-I/usr/local/include       -I/usr/local/include
-I/usr/local/pgsql/include  -I/usr/local/i
nclude   -I  maptemplate.c -o maptemplate.o
gcc: no input files
make: *** [maptemplate.o] Error 1

The configure command above without geos, then make works fine.

Any hints?

Thanks

..Tom




More information about the mapserver-dev mailing list