configure: error: Could not find gd.h or libgd.a/libgd.so

joÿffffffffffe3o Antunes bluetuna_goes_skying at YAHOO.CO.UK
Mon Apr 11 13:05:43 EDT 2005


Thanks a lot!

It works now!

Joao Antunes


--- Frank Warmerdam <fwarmerdam at GMAIL.COM> wrote:
> On Apr 11, 2005 11:46 AM, joÿffffffffffe3o Antunes
> <bluetuna_goes_skying at yahoo.co.uk> wrote:
> > Dear all,
> >
> > I get this error trying to compile mapserver for
> > LINUX:
> >
> > ...
> > configure: checking for GD 2.0.12 or higher...
> > checking for gdImageSetAntiAliased in -lgd... no
> > configure: checking whether GD needs libiconv...
> > checking for gdImageSetAntiAliased in -lgd... no
> > configure: error: Could not find gd.h or
> > libgd.a/libgd.so in /usr/lib/libgd.so.  Make sure
> GD
> > 2.0.12 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).
> >
> > Browsing the internet I noticed I am not the only
> one,
> > but the fact is I could not find an answer..
> >
> > I have already checked that the libreries required
> > actually exist. Taking their paths in
> consideration, I
> > used the option:
> >
> > --with-gd=/usr/include/gd.h
> >
> > No success, though..
> >
> > could someone please give me a hand on this?
>
> Joao,
>
> As the configure message suggests, I believe you
> need to download
> a recent version of gd, build and install it, and
> the configure with
> something like "--with-gd=/usr/local".
>
> Source for a recent GD can be downloaded from:
>   http://www.boutell.com/gd/http/gd-2.0.33.tar.gz
>
> Best regards,
> --
>
---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up   | Frank
> Warmerdam, warmerdam at pobox.com
> light and sound - activate the windows |
> http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial
> Programmer for Rent
>

Send instant messages to your online friends http://uk.messenger.yahoo.com



More information about the mapserver-users mailing list