<div>configure errors</div><div><br></div><div>Trying to make configure work for mapserver-5.4.2.  I think I&#39;m getting tripped up on libgd.  Here&#39;s the config I&#39;m using:</div><div><br></div><div>sudo ./configure --with-freetype=/usr/ --with-gd=/usr/</div>
<div><br></div><div>I have libraries:</div><div>/usr/lib/libfreetype.so.6.3.16</div><div>/usr/lib/libgd.so.2.0.0</div><div>/usr/lib/libgd.so.2</div><div>/usr/lib/libgdbm.so.3.0.0</div><div><br></div><div>when I run configure, I get the following messages:</div>
<div><br></div><div><br></div><div><br></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>checking for C compiler default output file name... a.out</div>
<div>checking whether the C compiler works... yes</div><div>checking whether we are cross compiling... no</div><div>checking for suffix of executables...</div><div>checking for suffix of object files... o</div><div>checking whether we are using the GNU C compiler... yes</div>
<div>checking whether gcc accepts -g... yes</div><div>checking for gcc option to accept ISO C89... none needed</div><div>checking for g++... g++</div><div>checking whether we are using the GNU C++ compiler... yes</div><div>
checking whether g++ accepts -g... yes</div><div>checking for ranlib... ranlib</div><div>checking for flex... no</div><div>checking for lex... no</div><div>checking for bison... no</div><div>checking for byacc... no</div>
<div>checking if compiler supports -R... no</div><div>checking if compiler supports -Wl,-rpath,... yes</div><div>checking for exp in -lm... yes</div><div>checking for __gxx_personality_v0 in -lstdc++... yes</div><div>checking how to run the C preprocessor... gcc -E</div>
<div>checking for grep that handles long lines and -e... /bin/grep</div><div>checking for egrep... /bin/grep -E</div><div>checking for ANSI C header files... yes</div><div>checking for strcasecmp... yes</div><div>checking for strncasecmp... yes</div>
<div>checking for strdup... yes</div><div>checking for strrstr... no</div><div>checking for strcasestr... yes</div><div>checking for strlcat... no</div><div>checking for vsnprintf... yes</div><div>MapServer Version from mapserver.h: &#39;5.4.2&#39;</div>
<div>checking if pkg-config path is provided... checking for pkg-config... no</div><div>couldn&#39;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>checking for FT_Init_FreeType in -lfreetype... no</div><div>        freetype-config or libfreetype cannot be found, possibly needed for GD</div><div>configure: checking where Zlib is installed...</div><div>checking for zlibVersion in -lz... no</div>
<div>        Zlib (libz) library cannot be found, possibly needed for GD</div><div>configure: checking where PNG is installed...</div><div>checking for png_init_io in -lpng... no</div><div>        PNG (libpng) library cannot be found, possibly needed for GD</div>
<div>configure: checking whether we should include JPEG support...</div><div>checking for jpeg_read_header in -ljpeg... no</div><div>        libjpeg not found. JPEG support not included, possibly needed for GD.</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&#39;t specify the appropriate location for one of GD&#39;s dependencies (freetype, libpng, libjpeg or libiconv).</div>
<div><br></div></div><div><br></div><div><br></div><div><br></div><div><br></div><div>Any ideas why it doesn&#39;t find freetype, when I tell it where it can find freetype?  I&#39;m not that knowledgeable on compiling/configuring...</div>
<div><br></div>