[mapserver-users] Problem with configure
Hi Running on CentOS5 I am getting an error with configure relating to gd. Here is the last part of the output: MapServer Version from mapserver.h: '5.4.2' checking if pkg-config path is provided... checking for pkg-config... /usr/bin/pkg-config configure: checking where FreeType 2.x is installed... using libfreetype from -L/usr/local/lib/ -lfreetype ./configure: line 5261: test: too many arguments configure: checking where Zlib is installed... checking for zlibVersion in -lz... yes using libz from system libs (-DUSE_ZLIB). configure: checking where PNG is installed... checking for png_init_io in -lpng... yes using libpng from system libs. configure: checking whether we should include JPEG support... checking for jpeg_read_header in -ljpeg... yes using libjpeg from system libs. configure: checking where libXpm is installed... checking for XpmFreeXpmImage in -lXpm... no XPM (libXpm) library cannot be found, possibly needed for GD configure: checking where libiconv is installed... checking for iconv_open in -lc... yes checking for libiconv_open in -liconv... no checking for iconv_open in -liconv... no using libiconv from system libs. 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 Hale __ Information from ESET Smart Security, version of virus signature database 4501 (20091012) __ The message was checked by ESET Smart Security. http://www.eset.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Problem with configure
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
Re: [mapserver-users] Problem with configure
Frank - gd.h was missing from this location but present in /usr/local/include I ran the gd make install again (or maybe I had overlooked to run it the first time?) and the gd.h appeared in /usr/include/ and mapserver configure script has run OK Very many thanks Alan Frank Warmerdam wrote: 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, __ Information from ESET Smart Security, version of virus signature database 4504 (20091013) __ The message was checked by ESET Smart Security. http://www.eset.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Problem with configure
... and I now have Mapserver up and running. Yippeee! Alan Hale wrote: Frank - gd.h was missing from this location but present in /usr/local/include I ran the gd make install again (or maybe I had overlooked to run it the first time?) and the gd.h appeared in /usr/include/ and mapserver configure script has run OK Very many thanks Alan Frank Warmerdam wrote: 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, __ Information from ESET Smart Security, version of virus signature database 4504 (20091013) __ The message was checked by ESET Smart Security. http://www.eset.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users __ Information from ESET Smart Security, version of virus signature database 4504 (20091013) __ The message was checked by ESET Smart Security. http://www.eset.com __ Information from ESET Smart Security, version of virus signature database 4504 (20091013) __ The message was checked by ESET Smart Security. http://www.eset.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users