Thanks (again!) Daniel!<div><br></div><div>Installing libgd-dev (Ubuntu Hardy Heron 8.04 LTS) via aptitude did the trick for getting the freetype and other dependencies to resolve.</div><div><br></div><div>However, I still get the following error (see last line -- I excised things in common from original thread output):</div>
<div><br></div><div>--------------------------------------------------------------------------------</div><div>matt@votevis:~/dwnld/mapserver-5.4.2$ sudo ./configure --with-freetype=/usr/ --with-gd=/usr/</div><div>checking for gcc... gcc</div>
<div>...</div><div>MapServer Version from mapserver.h: '5.4.2'</div><div>checking if pkg-config path is provided... checking for pkg-config... no</div><div>couldn't find pkg-config in default path. Please specify full path to pkg-config if needed</div>
<div>configure: checking where FreeType 2.x is installed...</div><div> using libfreetype from -lfreetype -lz</div><div>configure: checking where Zlib is installed...</div><div>checking for zlibVersion in -lz... yes</div>
<div> using libz from system libs (-DUSE_ZLIB).</div><div>configure: checking where PNG is installed...</div><div>checking for png_init_io in -lpng... yes</div><div> using libpng from system libs.</div><div>
configure: checking whether we should include JPEG support...</div><div>checking for jpeg_read_header in -ljpeg... yes</div><div> using libjpeg from system libs.</div><div>configure: checking where libXpm is installed...</div>
<div>checking for XpmFreeXpmImage in -lXpm... no</div><div> XPM (libXpm) library cannot be found, possibly needed for GD</div><div>configure: checking where libiconv is installed...</div><div>checking for iconv_open in -lc... yes</div>
<div>checking for libiconv_open in -liconv... no</div><div>checking for iconv_open in -liconv... no</div><div> using libiconv from system libs.</div><div> libiconv found. Enabling internationalization (-DUSE_ICONV)</div>
<div>configure: checking for GD 2.0.16 or higher...</div><div>checking for gdFontCacheSetup in -lgd... no</div><div>configure: checking whether GD needs libiconv...</div><div>checking for gdFontCacheSetup in -lgd... no</div>
<div>configure: error: Could not find gd.h or libgd.a/libgd.so in /usr/. 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).</div>
<div>--------------------------------------------------------------------------------</div><div><div><br></div><div>But I do have these files on my system:</div><div><br></div><div>/usr/include/gd.h</div><div>/usr/lib/libgd.a</div>
<div>/usr/lib/libgd.so</div><div><br></div><div>I would think they would get recognized from what I provided as my '--with-gd=/usr/' argument.</div><div><br></div><div>Any ideas?</div><div><br></div><div>Thanks again,<br>
Matt</div></div>