[mapserver-users] Compiling Mapserver 6 ./configure problem with gif-lib

Gunnar Stroeer Gunnar.Stroeer at stadt.freiburg.de
Wed Jul 6 08:33:48 EDT 2011


Hi all,
 
I've a problem with compiling Mapserver on SLES11, I can't do a clean
configure command without getting errors, even I installed the giv-lib
devs.
 
The "gif_lib.h" is located in following folders:
 
find -name gif_lib.h
./usr/local/src/gdal-1.6.2/frmts/gif/libungif/gif_lib.h
./usr/src/debug/giflib-4.1.6/lib/gif_lib.h
 

My ./configure command for Mapserver 6.0.0 is:
 
./configure --with-gd --with-freetype --without-tiff
--with-gdal=/usr/local/bin/gdal-config
--with-ogr=/usr/local/bin/gdal-config
--with-proj=/usr/local/src/proj-4.7.0 --with-zlib --with-jpeg
--with-png=/usr/ --with-curl-config=/usr/bin/curl-config --with-threads
--with-postgis --with-wfs --with-wcs --with-wmsclient --with-wfsclient
--with-php=/usr/include/php5/ --enable-debug
-with-agg=/usr/local/src/agg-2.5 --with-geos
--with-fastcgi=/usr/local/src/fcgi-2.4.0 --with-oraclespatial=yes
 
I've also tried adding "--with-gif=/usr/src/" and variations without
success. The error is:

...
checking for /usr//include/png.h... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
configure: checking where GIF is installed...
checking for DGifOpenFileHandle in -lgif... no
checking gif_lib.h usability... no
checking gif_lib.h presence... no
checking for gif_lib.h... no
configure: error: cannot find gif headers in system path
 

I'd appreciate any help for getting a solution.
 
Regards,
Gunnar
 
 
---------------------------------------------
Gunnar Ströer
Administration Geodatenmanagement
 
Stadt Freiburg i. Br.
Stabsstelle Geodatenmanagement

Fehrenbachallee 12
79106 Freiburg i. Br.

Tel. +49 761/201-4031
Fax +49 761/201-4049
E-Mail: gunnar.stroeer at stadt.freiburg.de

---------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110706/313b4197/attachment.html


More information about the mapserver-users mailing list