[mapserver-users] Mapserver 5.3.2 configure problems

Matthew Pettis matthew.pettis at gmail.com
Mon Nov 30 01:28:54 EST 2009


configure errors

Trying to make configure work for mapserver-5.4.2.  I think I'm getting
tripped up on libgd.  Here's the config I'm using:

sudo ./configure --with-freetype=/usr/ --with-gd=/usr/

I have libraries:
/usr/lib/libfreetype.so.6.3.16
/usr/lib/libgd.so.2.0.0
/usr/lib/libgd.so.2
/usr/lib/libgdbm.so.3.0.0

when I run configure, I get the following messages:



matt at votevis:~/dwnld/mapserver-5.4.2$ sudo ./configure --with-freetype=/usr/
--with-gd=/usr/
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ranlib... ranlib
checking for flex... no
checking for lex... no
checking for bison... no
checking for byacc... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for exp in -lm... yes
checking for __gxx_personality_v0 in -lstdc++... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strdup... yes
checking for strrstr... no
checking for strcasestr... yes
checking for strlcat... no
checking for vsnprintf... yes
MapServer Version from mapserver.h: '5.4.2'
checking if pkg-config path is provided... checking for pkg-config... no
couldn't find pkg-config in default path. Please specify full path to
pkg-config if needed
configure: checking where FreeType 2.x is installed...
checking for FT_Init_FreeType in -lfreetype... no
        freetype-config or libfreetype cannot be found, possibly needed for
GD
configure: checking where Zlib is installed...
checking for zlibVersion in -lz... no
        Zlib (libz) library cannot be found, possibly needed for GD
configure: checking where PNG is installed...
checking for png_init_io in -lpng... no
        PNG (libpng) library cannot be found, possibly needed for GD
configure: checking whether we should include JPEG support...
checking for jpeg_read_header in -ljpeg... no
        libjpeg not found. JPEG support not included, possibly needed for
GD.
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... no
configure: checking whether GD needs libiconv...
checking for gdFontCacheSetup in -lgd... no
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).





Any ideas why it doesn't find freetype, when I tell it where it can find
freetype?  I'm not that knowledgeable on compiling/configuring...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20091130/741b73d5/attachment.html


More information about the mapserver-users mailing list