Re: [GD-DEVEL] errors installing gd for EMBOSS usage
[email protected] (Pierre Joye) Wed, 30 Jun 2010 18:49:44 +0200
| Newsgroups | php.gd.devel |
|---|---|
| Message-ID | <[email protected]> |
hi, What is EMBOSS? On Wed, Jun 30, 2010 at 1:46 PM, Montse Torres <[email protected]> wrote= : > Hello; > I'm trying to install gd library in order to be able to get graphics in E= MBOSS. > 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= make install and make install-headers). > I do: > ../configure --prefix=3D/home/montse/local --with-png=3D/home/montse/loca= l --with-zlib-dir=3D/home/montse/local > And then > make > And I get this error: > > gcc -shared=A0 .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_gi= f_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/gdfont= g.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 .li= bs/wbmp.o=A0 -L/usr/lib -lXpm -lX11 -lpng12 -lz -lm=A0 -Wl,-soname -Wl,libg= d.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_= png.o gd_ss.o gd_topal.o gd_wbmp.o gdcache.o gdfontg.o gdfontl.o gdfontmb.o= gdfonts.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 > gcc -g -O2 -o .libs/annotate annotate.o=A0 -L/usr/lib ./.libs/libgd.so -l= Xpm -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/sh= are/X11 --x-libraries=3D/usr/share/X11 > > And try to run a program that requires graphics I get the following messa= ge: > 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 showe= d the graphics but showed an error message: > libpng12.so.0: no version information available. > Trying to fix that (by installing different versions on libpng) I crashed= it and now I can't make it work again. > > Do you know why gd is not getting installed? > > Thank you very much. > > Montse Torres > > > > --=20 Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org