I'm having problerms installing GD::Graph on Fedora 1.0

From: _at_NOSPAM-PLASE.commercialventvac dot com (_at_NOSPAM-PLASE.commercialventvac)
Date: 01/25/04


Date: 25 Jan 2004 07:38:37 GMT

Hi. I am trying to install the GD::Graph module on an 80686 running
RedHat Fedora 1.0 and I am running into problems, some of which I have
fixed, and one is really a stumper.

The first problem that I encounted was that the compilation of one of
the files failed because it couldn't find gd.h; and the reason why the
compiler didn't find it is because it wasn't there. A quick search
using Google turns up that gd.h is in the gd-devel-2.0.15-55 so I
installed it and now it compiles fine.

But it doesn't link because it can't find libpng and that stymmies me,
because

 jeffs@jyw jeffs]$ ls -l /usr/lib/libpng*
lrwxrwxrwx 1 root root 19 Nov 6 22:15
/usr/lib/libpng12.so.0 -> libpng12.so.0.1.2.2
-rwxr-xr-x 1 root root 142572 Jun 5 2003
/usr/lib/libpng12.so.0.1.2.2
lrwxrwxrwx 1 root root 18 Nov 6 22:20
/usr/lib/libpng.so.2 -> libpng.so.2.1.0.13
-rwxr-xr-x 1 root root 138436 Jun 9 2003
/usr/lib/libpng.so.2.1.0.13
lrwxrwxrwx 1 root root 19 Nov 6 22:15
/usr/lib/libpng.so.3 -> libpng12.so.0.1.2.2
lrwxrwxrwx 1 root root 19 Nov 6 22:15
/usr/lib/libpng.so.3.1.2.2 -> libpng12.so.0.1.2.2
[jeffs@jyw jeffs]$

I tried making a symlink from /usr/local/lib/libpng.so.

jeffs@jyw jeffs]$ ls -l /usr/local/lib/libpng*
lrwxrwxrwx 1 root root 20 Jan 24 23:23
/usr/local/lib/libpng.so.3 -> /usr/lib/libpng.so.3
[jeffs@jyw jeffs]$

and it still won't link. Here are the compile and link steps:

/usr/bin/perl /usr/lib/perl5/5.8.1/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.8.1/ExtUtils/typemap -typemap typemap GD.xs > GD.xsc
&& mv GD.xsc GD.c
gcc -c -I/usr/local/include -I/usr/local/include/gd -D_REENTRANT
-D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -g -pipe -march=i386 -mcpu=i686
-DVERSION=\"2.11\" -DXS_VERSION=\"2.11\" -fPIC
"-I/usr/lib/perl5/5.8.1/i386-linux-thread-multi/CORE" -DHAVE_JPEG
-DHAVE_FT -DHAVE_XPM GD.c
Running Mkbootstrap for GD ()
chmod 644 GD.bs
rm -f blib/arch/auto/GD/GD.so
*LD_RUN_PATH="/usr/lib:/usr/local/lib:/usr/X11R6/lib" gcc -shared
-L/usr/local/lib GD.o -o blib/arch/auto/GD/GD.so -L/usr/lib/X11
-L/usr/X11R6/lib -L/usr/local/lib -lgd -lpng -lz -lfreetype -ljpeg -lm
-lX11 -lXpm*
*/usr/bin/ld: cannot find -lpng*
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/GD/GD.so] Error 1
  /usr/bin/make -- NOT OK

So - does anybody have any good advice?

 Many thanks

Jeff



Relevant Pages

  • fault installing DBD::mysql in solaris 9
    ... people said that a new mysql server compiled by them solved the problem ... I configure the make as it was recommended by the install document ... detection includes or libraries problems. ... The GD module I compiled again, with the fixed compilation ...
    (comp.lang.perl.modules)
  • Installing DjVu plug-in
    ... I had an unsuccessful attempt to install DjVuLibre -3.5.17 plug-in on ... bash: Gyurka@bakacs: command not found ... You can then perform the compilation by typing ...
    (Fedora)
  • Re: Linux Vs. FreeBSD
    ... >>> required to install a binary under ideal conditions. ... an automated compilation system is an ... > good way to handle very small packages where the amount of time needed ... daily updates typically take about 1.5 ...
    (comp.os.linux.misc)
  • RE: Unable to install DBD:Sybase-1.08 on my AIX 5.2 server with Perl 5.8.0 DBI-1.43
    ... Contact your program supplier to add ... Compilation will proceed shortly. ... Subject: Unable to install DBD:Sybase-1.08 on my AIX 5.2 server with ... any attachments. ...
    (perl.dbi.users)
  • Re: Linux Vs. FreeBSD
    ... >>> required to install a binary under ideal conditions. ... an automated compilation system is an ... Maybe a windows machine would slow to a halt. ... > good way to handle very small packages where the amount of time needed ...
    (comp.os.linux.misc)