[Mapserver-dev] CVS compile with geos

Steve Lime steve.lime at dnr.state.mn.us
Thu Sep 30 17:14:45 EDT 2004


Tom: There's nothing to the GEOS functionality except for stubs,
configure and makefile changes. Looks like the GEOS guys changed the way
geos-config works with GEOS2. I'll fix that. That said there's no reason
to compile with GEOS at this point. I wanted to commit the little work I
had done before it became way outdated so that's why what is there is
there. Sorry for any confusion.

Steve

>>> "Kralidis,Tom [Burlington]" <Tom.Kralidis at ec.gc.ca> 9/30/2004
3:50:53 PM >>>

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

_______________________________________________
Mapserver-dev mailing list
Mapserver-dev at lists.gis.umn.edu 
http://lists.gis.umn.edu/mailman/listinfo/mapserver-dev



More information about the mapserver-dev mailing list