Error Compiling MapServer 4.8.4
Juan Manuel Docile
juan at ARLAB.COM.AR
Wed Mar 7 14:46:43 EST 2007
Hi, my name is Juan Manuel, i have a problem trying to compile MapServer
4.8.4 on a Linux Gentoo x86_64 2006.1
On configure fail with this
configure: checking where FreeType 2.x is installed...
checking for freetype-config... /usr/bin/freetype-config
using libfreetype from -lfreetype -lz
checking for FT_Init_FreeType in -lfreetype... yes
using libfreetype -lfreetype from system libs.
configure: checking where Zlib is installed...
using runtime libz from -L/lib64 -lz
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
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/lib64.
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).
!!! Please attach the following file when filing a report to bugs.gentoo.org
:
!!! /var/tmp/portage/sci-geosciences/mapserver-4.8.4/work/mapserver-4.8.4
/config.log
!!! ERROR: sci-geosciences/mapserver-4.8.4 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 4666: Called src_compile
mapserver-4.8.4.ebuild, line 147: Called econf '--with-gdal'
'--with-perl' '--with-python' '--without-ruby' '--with-tcl' '--with-proj'
'--without-postgis' '--with-tiff' '--with-pdf' '--without-ming'
'--without-java' '--with-ogr' '--with-freetype' '--with-gd=/usr/lib64'
'--with-geos=/usr/bin/geos-config' '--with-wfs' '--with-wcs'
'--with-wmsclient' '--with-wfsclient' '--with-wmsserver' '--with-wmsclient'
'--with-php=/usr/lib64/php5/include/php' '--with-mapscript'
ebuild.sh, line 577: Called die
I think i have all dependencies ok.
Thanks.
Juan M.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20070307/6e5eddb9/attachment.html
More information about the mapserver-dev
mailing list