errors installing gd for EMBOSS usage

[email protected] (Montse Torres) Wed, 30 Jun 2010 11:46:09 +0000 (GMT)
Newsgroups php.gd.devel
Message-ID <[email protected]>
--0-1537865340-1277898369=:64428
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Hello;
I'm trying to install gd library in order to be able to get graphics in EMB=
OSS.
I am installing the libraries in a specific directory /home/montse/local
I have installed there zlib (zlib-1.2.5) and libpng (libpng-1.2.44) (with m=
ake install and make install-headers).
I do:
../configure --prefix=3D/home/montse/local --with-png=3D/home/montse/local -=
-with-zlib-dir=3D/home/montse/local
And then=20
make
And I get this error:

gcc -shared=A0 .libs/gd.o .libs/gdfx.o .libs/gd_security.o .libs/gd_gd.o .l=
ibs/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 .l=
ibs/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/gd=
ft.o .libs/gdhelpers.o .libs/gdkanji.o .libs/gdtables.o .libs/gdxpm.o .libs=
/wbmp.o=A0 -L/usr/lib -lXpm -lX11 -lpng12 -lz -lm=A0 -Wl,-soname -Wl,libgd.=
so.2 -o .libs/libgd.so.2.0.0
(cd .libs && rm -f libgd.so.2 && ln -s libgd.so.2.0.0 libgd.so.2)
(cd .libs && rm -f libgd.so && ln -s libgd.so.2.0.0 libgd.so)
ar cru .libs/libgd.a=A0 gd.o gdfx.o gd_security.o gd_gd.o gd_gd2.o gd_io.o =
gd_io_dp.o gd_gif_in.o gd_gif_out.o gd_io_file.o gd_io_ss.o gd_jpeg.o gd_pn=
g.o gd_ss.o gd_topal.o gd_wbmp.o gdcache.o gdfontg.o gdfontl.o gdfontmb.o g=
dfonts.o gdfontt.o gdft.o gdhelpers.o gdkanji.o gdtables.o gdxpm.o wbmp.o
ranlib .libs/libgd.a
creating libgd.la
(cd .libs && rm -f libgd.la && ln -s ../libgd.la libgd.la)
/bin/bash ./libtool --tag=3DCC --mode=3Dlink gcc=A0 -g -O2=A0 -L/usr/lib=A0=
 -o annotate=A0 annotate.o ./libgd.la=A0 -lXpm -lX11 -lpng12 -lz -lm=20
gcc -g -O2 -o .libs/annotate annotate.o=A0 -L/usr/lib ./.libs/libgd.so -lXp=
m -lX11 -lpng12 -lz -lm -Wl,--rpath -Wl,/home/montse/local/lib
../.libs/libgd.so: undefined reference to `euncompress'
../.libs/libgd.so: undefined reference to `ecompress'
collect2: ld returned 1 exit status
make[2]: *** [annotate] Error 1
make[2]: Leaving directory `/home/montse/gd-2.0.35'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/montse/gd-2.0.35'
make: *** [all] Error 2

And it doesn't get installed in /home/montse/local


When I install EMBOSS with:
../configure --with-pngdriver=3D/home/montse/local --x-includes=3D/usr/share=
/X11 --x-libraries=3D/usr/share/X11

And try to run a program that requires graphics I get the following message=
:
Devices allowed (with alternative names) are:-
ps (postscript)
hpgl
hp7470
hp7580
meta
cps (colourps)
x11 (xwindows)
tek (tek4107t)
tekt (tektronics)
none (null, text)
data
xterm
Error: Invalid graph value 'png'
Died: pepnet terminated: Bad value for '-graph' with -auto defined
The curious thing is that two weeks ago it was working properly, it showed =
the graphics but showed an error message:
libpng12.so.0: no version information available.=20
Trying to fix that (by installing different versions on libpng) I crashed i=
t and now I can't make it work again.

Do you know why gd is not getting installed?

Thank you very much.

Montse Torres
=0A=0A=0A      
--0-1537865340-1277898369=:64428--