[mapserver-users] Compiling Issues: Ubuntu 8.04 -- libgd and gdFontCacheSetup
Daniel Morissette
dmorissette at mapgears.com
Fri Jul 18 06:54:53 PDT 2008
As I wrote in a previous message, is it possible that you configured
using "--with-gd=/usr/lib"? You should use "--with-gd=/usr" only and the
configure script should take care of looking in the right subdirectory
for each file.
Daniel
Matthew Pettis wrote:
> Hi,
>
> More and different compiling issues from the one I've already
> posted... My configure script errors as shown below (truncated because
> I believe the most important part is included):
> ------------------------------------------------------------------------------------------------------------------
> configure: checking where libiconv is installed...
> checking for iconv_open in -lc... yes
> checking for libiconv_open in -liconv... yes
> using libiconv from -L -liconv
> 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/lib.
> 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).
> ------------------------------------------------------------------------------------------------------------------
>
> Now, I have libgd version 2.0.35, so this should work... I have gd.h
> and libgd.a/libgd.so (the latter are in /usr/lib/). I think it is
> choking because of the gdFontCacheSetup. Any idea on how to fix this?
>
> Thanks,
> Matt
>
--
Daniel Morissette
http://www.mapgears.com/
More information about the MapServer-users
mailing list