[Bioperl-l] gdlib and GD.pm on Dec Alpha running Tru64 Unix

Govind Chandra govind.chandra@bbsrc.ac.uk
Thu, 07 Mar 2002 10:54:00 +0000


Hi,

Anybody successfully running GD.pm on a Tru64 Unix? Well, actually I
could get to the point of installing GD.pm because I failed to install
the gd graphics library. 

First of all gdkanji.c failed to compile so I modified the Makefile not
to use it at all and then make gives the following message at the end:

cc: Warning: wbmp.c, line 166: # not in column 1 is ignored, skipping to
end
of line.
        #ifdef __DEBUG
--------^
cc: Warning: wbmp.c, line 168: # not in column 1 is ignored, skipping to
end
of line.
        #endif
--------^
cc: Warning: wbmp.c, line 176: # not in column 1 is ignored, skipping to
end
of line.
        #ifdef __DEBUG  
--------^
cc: Warning: wbmp.c, line 178: # not in column 1 is ignored, skipping to
end
of line.
        #endif
--------^
cc  -I. -I/usr/include -I/usr/include/X11 -I/usr/X11R6/include/X11
-I/usr/local/include  -O -DHAVE_LIBPNG -DHAVE_LIBJPEG -c gd_wbmp.c
cc  -I. -I/usr/include -I/usr/include/X11 -I/usr/X11R6/include/X11
-I/usr/local/include  -O -DHAVE_LIBPNG -DHAVE_LIBJPEG -c gdhelpers.c
rm -f libgd.a
ar rc libgd.a gd.o gd_gd.o gd_gd2.o gd_io.o gd_io_dp.o  gd_io_file.o
gd_ss.o
gd_io_ss.o gd_png.o gd_jpeg.o gdxpm.o  gdfontt.o gdfonts.o gdfontmb.o
gdfontl.o gdfontg.o  gdtables.o gdft.o gdttf.o gdcache.o wbmp.o 
gd_wbmp.o
gdhelpers.o
ranlib libgd.a
cc  -I. -I/usr/include -I/usr/include/X11 -I/usr/X11R6/include/X11
-I/usr/local/include  -O -DHAVE_LIBPNG -DHAVE_LIBJPEG -c pngtogd.c
cc  -I. -I/usr/include -I/usr/include/X11 -I/usr/X11R6/include/X11
-I/usr/local/include  pngtogd.o -o pngtogd      -L. -L/usr/lib
-L/usr/lib/X11
-L/usr/X11R6/lib  
ld:
Unresolved:
gdImageCreateFromPng
gdImageDestroy
gdImageGd
*** Exit 1
Stop.
# 

I am using cc as it comes on Tru64 and have not tried installing and
using gcc yet. If somebody has done so please let me know about any
issues involved.

I have everything up and running on a Linux (RH7.2) machine but our
webserver is a Tru64 Unix and these are required for the functioning of
the website.

Any help will be greatly appreciated.

Govind Chandra
Molecular Microbiology
John Innes Centre
Norwich NR4 7UH
UK