On Mon, Mar 30, 2009 at 10:33 PM, Michael Robinson
<[email protected]> wrote:
> [ad...@web nut-2.2.2]$  ./configure --with-user=ups --with-group=nut
> --mandir=/usr/share/man --docdir=/usr/share/doc --prefix=/usr
> --sysconfdir=/etc/ups --with-cgi
>
> configure: error: libgd not found, required for CGI build
>
> [ad...@web nut-2.2.2]$ rpm -qa | grep gd
> sysklogd-1.4.1-26_EL
> gdbm-1.8.0-24
> php-gd-5.1.6-1.2.1.centos
> gd-devel-2.0.28-5.4E.el4_6.1
> gd-2.0.28-5.4E.el4_6.1
> gd-progs-2.0.28-5.4E.el4_6.1
>
> I am stumped as to what is missing or what I need to do differently to
> get this to configure and compile.

I don't know anything about libgd, but presumably from the output of
rpm we can say it's installed.  Next I would look at config.log to see
if you can figure out why the test for libgd failed.  For example, the
configure script could be looking in the wrong path.  In a case like
that the next step is to figure out if you just need a symlink or
similar to get it working.  Also, there may be a flag you can pass to
configure that tells it where your libgd is installed.

I've also seen configure scripts give output like this when they can
find the required library but it doesn't have the correct api.  In
that situation the test in the configure script fails because of api
incompatibility but with a potentially misleading error message.

> This configure line works on CentOS 5.2.

By the way, what version of gd-devel is on your CentOS 5.2 machine?

Jason
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to