[mapserver-users] Re: Mapserver 5.3.2 configure problems
Matthew Pettis
matthew.pettis at gmail.com
Mon Nov 30 14:53:02 PST 2009
Never mind -- my version of libgd wasn't higher than Version 2.0.28, so it
was failing. I installed libgd2-dev instead, and reran the configure
script, and it went through. Thanks for the help -- I'm sure I'll need
more.
On Mon, Nov 30, 2009 at 4:29 PM, Matthew Pettis <matthew.pettis at gmail.com>wrote:
> Thanks (again!) Daniel!
>
> Installing libgd-dev (Ubuntu Hardy Heron 8.04 LTS) via aptitude did the
> trick for getting the freetype and other dependencies to resolve.
>
> However, I still get the following error (see last line -- I excised things
> in common from original thread output):
>
>
> --------------------------------------------------------------------------------
> matt at votevis:~/dwnld/mapserver-5.4.2$ sudo ./configure
> --with-freetype=/usr/ --with-gd=/usr/
> checking for gcc... gcc
> ...
> 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...
> using libfreetype from -lfreetype -lz
> configure: checking where Zlib is installed...
> checking for zlibVersion in -lz... yes
> using libz from system libs (-DUSE_ZLIB).
> 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
> 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).
>
> --------------------------------------------------------------------------------
>
> But I do have these files on my system:
>
> /usr/include/gd.h
> /usr/lib/libgd.a
> /usr/lib/libgd.so
>
> I would think they would get recognized from what I provided as my
> '--with-gd=/usr/' argument.
>
> Any ideas?
>
> Thanks again,
> Matt
>
--
"I have never come across anyone in whom the moral sense was dominant who
was not heartless, cruel, vindictive and entirely lacking in the smallest
sense of humanity." --- Oscar Wilde
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20091130/6c025369/attachment.htm>
More information about the MapServer-users
mailing list