Fwd: [UMN_MAPSERVER-USERS] Compilation issues with gd.h on Linux 64bit

Xin crazygecko at GMAIL.COM
Mon Dec 5 13:00:35 EST 2005


Daniel,

Thanks for the interest.

I've fixed the gd problem now.  Commented out a couple if/else statements in
configure.in so that $GD_LIB is set to /usr/lib64 and $CD_INCLUDE to
/usr/include no matter what.    The 'autoconf -o configure2 configure.in' to
produce the configuration script.  This ran fine!  Compiled ok untill it
complained about no xpm.

That seems to have solved it for the gd problem.  Perhaps a overkill, who
knows.  I'll post the exact steps so it may help others.

Does anyone know where this xpm might be kept and what it might be called?
I assumed it'd be called libXpm.so and be in /usr/lib, /usr/lib64, but it
wasn't in there.  I'm going to have a go at compiling it now.

Cheers,
Xin


---------- Forwarded message ----------
From: Daniel Morissette <dmorissette at dmsolutions.ca>
Date: 05-Dec-2005 17:45
Subject: Re: [UMN_MAPSERVER-USERS] Compilation issues with gd.h on Linux
64bit
To: Xin <crazygecko at gmail.com>
Cc: MAPSERVER-USERS at lists.umn.edu

Xin wrote:
>     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).
>

Do you have a libgd.a or libgd.so, if yes then where is it located?
Maybe we need to look in some lib64 directories? Also, what did you pass
as arguments to configure?

Daniel
--
------------------------------------------------------------
  Daniel Morissette               dmorissette at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20051205/9b93c09e/attachment.html


More information about the mapserver-users mailing list