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<br>On configure fail with this<br><br>configure: checking where FreeType 2.x is installed...<br>checking for freetype-config... /usr/bin/freetype-config
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; using libfreetype from -lfreetype -lz<br>checking for FT_Init_FreeType in -lfreetype... yes<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; using libfreetype -lfreetype from system libs.<br>configure: checking where Zlib is installed...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; using runtime libz from -L/lib64 -lz
<br>configure: checking where PNG is installed...<br>checking for png_init_io in -lpng... yes<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; using libpng from system libs.<br>configure: checking whether we should include JPEG support...<br>checking for jpeg_read_header in -ljpeg... yes
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; using libjpeg from system libs.<br>configure: checking where libXpm is installed...<br>checking for XpmFreeXpmImage in -lXpm... no<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XPM (libXpm) library cannot be found, possibly needed for GD<br>configure: checking where libiconv is installed...
<br>checking for iconv_open in -lc... yes<br>checking for libiconv_open in -liconv... no<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; using libiconv from system libs.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libiconv found. Enabling internationalization (-DUSE_ICONV)<br>configure: checking for GD 
2.0.16 or higher...<br>checking for gdFontCacheSetup in -lgd... yes<br>configure: error: Could not find gd.h or libgd.a/libgd.so in /usr/lib64.&nbsp; Make sure GD 2.0.16 or higher is compiled before calling configure. You may also get this error if you didn&#39;t specify the appropriate location for one of GD&#39;s dependencies (freetype, libpng, libjpeg or libiconv).
<br><br><br>!!! Please attach the following file when filing a report to <a href="http://bugs.gentoo.org">bugs.gentoo.org</a>:<br>!!! /var/tmp/portage/sci-geosciences/mapserver-4.8.4/work/mapserver-4.8.4/config.log<br><br>
!!! ERROR: sci-geosciences/mapserver-4.8.4 failed.<br>Call stack:<br>&nbsp; ebuild.sh, line 1614:&nbsp;&nbsp; Called dyn_compile<br>&nbsp; ebuild.sh, line 971:&nbsp;&nbsp; Called qa_call &#39;src_compile&#39;<br>&nbsp; environment, line 4666:&nbsp;&nbsp; Called src_compile
<br>&nbsp; mapserver-4.8.4.ebuild, line 147:&nbsp;&nbsp; Called econf &#39;--with-gdal&#39; &#39;--with-perl&#39; &#39;--with-python&#39; &#39;--without-ruby&#39; &#39;--with-tcl&#39; &#39;--with-proj&#39; &#39;--without-postgis&#39; &#39;--with-tiff&#39; &#39;--with-pdf&#39; &#39;--without-ming&#39; &#39;--without-java&#39; &#39;--with-ogr&#39; &#39;--with-freetype&#39; &#39;--with-gd=/usr/lib64&#39; &#39;--with-geos=/usr/bin/geos-config&#39; &#39;--with-wfs&#39; &#39;--with-wcs&#39; &#39;--with-wmsclient&#39; &#39;--with-wfsclient&#39; &#39;--with-wmsserver&#39; &#39;--with-wmsclient&#39; &#39;--with-php=/usr/lib64/php5/include/php&#39; &#39;--with-mapscript&#39;
<br>&nbsp; ebuild.sh, line 577:&nbsp;&nbsp; Called die<br><br>I think i have all dependencies ok.<br>Thanks.<br><br>Juan M.<br>