cannot make mapserver

Sarah Parrott parrott.sarah at GOOGLEMAIL.COM
Tue Jun 20 10:34:32 EDT 2006


Hi,

 I'm trying to get mapserver to install on suse 10.1.

I use the following configure:

./configure --with-tiff --with-gdal=/usr/bin/gdal-config
--with-ogr=/usr/bin/gdal-config --with-proj --without-pdf --with-threads

the final output of which is
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mapscript/java/Makefile
config.status: creating mapscript/csharp/Makefile

it didn't even get that far to start with but I've installed zlib, libpng,
gd, gdal, ogr and freetype and now it gets  that far.

When i run make I get this:

gcc -c -O2 -fPIC -Wall   -DIGNORE_MISSING_DATA  -DHAVE_VSNPRINTF
-DNEED_STRLCAT  -DUSE_EPPL       -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_WBMP
-DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS    -DUSE_OGR
-DUSE_GDAL  -DUSE_ICONV -DUSE_THREAD -DUSE_ZLIB -I/usr/local/include
-I/usr/src/packages/BUILD/gdal-root//usr/include          maptemplate.c -o
maptemplate.o
In file included from maptemplate.h:45,
                 from maptemplate.c:104:
map.h:383:21: error: ogr_api.h: No such file or directory
In file included from maptemplate.h:45,
                 from maptemplate.c:104:
map.h:1709: error: expected ')' before 'hGeometry'
make: *** [maptemplate.o] Error 1

and that's as far as it gets.

Any ideas what might be going wrong?

Thanks,
Sarah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060620/1e9dd5cd/attachment.html


More information about the mapserver-users mailing list