Trying to install Perl::GD::Graph

Jason Etchason loomis53 at gmail.com
Sat Feb 24 11:35:21 MST 2007


I want to install Perl::GD::Graph.  I have to get GD installed with jpeg
support, but I am having problems getting it to compile.  Any ideas on what
to do or where to find a how-to for this?

Here is the stdout from make:

make  all-recursive
make[1]: Entering directory `/root/gd/gd-2.0.34'
Making all in config
make[2]: Entering directory `/root/gd/gd-2.0.34/config'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/gd/gd-2.0.34/config'
Making all in test
make[2]: Entering directory `/root/gd/gd-2.0.34/test'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/gd/gd-2.0.34/test'
make[2]: Entering directory `/root/gd/gd-2.0.34'
if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I.   -I/usr/include/freetype2  -I/usr/local/include  -g -O2 -MT gd_jpeg.lo
-MD -MP -MF ".deps/gd_jpeg.Tpo" -c -o gd_jpeg.lo gd_jpeg.c; \
then mv -f ".deps/gd_jpeg.Tpo" ".deps/gd_jpeg.Plo"; else rm -f
".deps/gd_jpeg.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/freetype2
-I/usr/local/include -g -O2 -MT gd_jpeg.lo -MD -MP -MF .deps/gd_jpeg.Tpo -c
gd_jpeg.c  -fPIC -DPIC -o .libs/gd_jpeg.o
 gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/freetype2
-I/usr/local/include -g -O2 -MT gd_jpeg.lo -MD -MP -MF .deps/gd_jpeg.Tpo -c
gd_jpeg.c -o gd_jpeg.o >/dev/null 2>&1
/bin/sh ./libtool --tag=CC --mode=link gcc  -g -O2  -L/usr/lib64 -Wl,--rpath
-Wl,/usr/lib64  -L/usr/X11R6/lib -L/usr/local/lib -o libgd.la -rpath
/usr/local/lib -version-info 2:0:0  gd.lo gdfx.lo gd_security.lo gd_gd.lo
gd_gd2.lo gd_io.lo gd_io_dp.lo gd_gif_in.lo gd_gif_out.lo gd_io_file.lo
gd_io_ss.lo gd_jpeg.lo gd_png.lo gd_ss.lo gd_topal.lo gd_wbmp.lo gdcache.lo
gdfontg.lo gdfontl.lo gdfontmb.lo gdfonts.lo gdfontt.lo gdft.lo gdhelpers.lo
gdkanji.lo gdtables.lo gdxpm.lo wbmp.lo  -ljpeg -lfontconfig -lfreetype -lz
-lm
gcc -shared  .libs/gd.o .libs/gdfx.o .libs/gd_security.o .libs/gd_gd.o
.libs/gd_gd2.o .libs/gd_io.o .libs/gd_io_dp.o .libs/gd_gif_in.o
.libs/gd_gif_out.o .libs/gd_io_file.o .libs/gd_io_ss.o .libs/gd_jpeg.o
.libs/gd_png.o .libs/gd_ss.o .libs/gd_topal.o .libs/gd_wbmp.o
.libs/gdcache.o .libs/gdfontg.o .libs/gdfontl.o .libs/gdfontmb.o
.libs/gdfonts.o .libs/gdfontt.o .libs/gdft.o .libs/gdhelpers.o
.libs/gdkanji.o .libs/gdtables.o .libs/gdxpm.o .libs/wbmp.o  -Wl,--rpath
-Wl,/usr/lib64 -Wl,--rpath -Wl,/usr/lib64 -L/usr/lib64 -L/usr/X11R6/lib
-L/usr/local/lib -ljpeg -lfontconfig /usr/lib64/libfreetype.so -lz -lm
-Wl,--rpath -Wl,/usr/lib64 -Wl,-soname -Wl,libgd.so.2 -o
.libs/libgd.so.2.0.0
/usr/bin/ld: /usr/local/lib/libjpeg.a(jcparam.o): relocation R_X86_64_32
against `a local symbol' can not be used when making a shared object;
recompile with -fPIC
/usr/local/lib/libjpeg.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libgd.la] Error 1
make[2]: Leaving directory `/root/gd/gd-2.0.34'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gd/gd-2.0.34'
make: *** [all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20070224/c99c3a5e/attachment.htm 


More information about the PLUG-discuss mailing list