Alan Hale wrote:
Hi

Running on CentOS5 I am getting an error with configure relating to gd. Here is the last part of the output:
...
       libiconv found. Enabling internationalization (-DUSE_ICONV)
configure: checking for GD 2.0.16 or higher...
checking for gdFontCacheSetup in -lgd... yes
configure: error: Could not find gd.h or libgd.a/libgd.so in /usr/lib/. Make sure GD 2.0.16 or higher is compiled before calling configure. You may also get this error if you didn't specify the appropriate location for one of GD's dependencies (freetype, libpng, libjpeg or libiconv).
#########################################################################
And this is my configure line:

./configure --with-ogr=/usr/local/bin/gdal-config --with-ogr=/usr/local//bin/gdal-config --with-httpd=/usr/sbin/httpd --with-wfsclient --with-wmsclient --enable-debug --with-curl-config=/usr/local/bin/curl-config --with-proj=/usr/local --with-tiff --with-gd=/usr/lib/ --with-jpeg --with-freetype=/usr/local/lib/ --with-threads --with-php
################################################

libgd.so is definitely under /usr/lib/ and the script seems to have found all the other dependencies listed for GD. Can anyone please advise?
Many thanks


Alan,

Does gd.h exist in /usr/include or /usr/include/gd*?

If not, you are most likely missing the GD -devel package.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmer...@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to