BioTech FYI Center - Resources

EMBOSS FAQ (Frequently Asked Questions)

Part:   1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16 

(Continued from previous part...)


SECTION C - Graphics

Q) What Graphics options are available?
A) To see what graphics drivers are available type ? at the promt for the graph type and this will give you a list.

Here are some of those:-

   ps      -> Postscript
   cps     -> Colour Postscript
   x11     -> X display. (also called xterm and xwindows)
   hpgl    -> HP Laserjet III, HPGL emulation mode.
   png     -> PNG (you will need png, z and gd libraries for this)
   tek     -> Tektronix Terminal
   none    -> None.
   data    -> Writes out points to a file for graphs.
   meta    -> plplot meta file.
Q) How do i get the PNG driver?
A) To get the PNG driver you will need to have installed z,png and gd libraries. In particular gd version >= 1.7.3 must be used.

If for some reason you do not have the required libraries and your system support group will not update these ( In particular gd, as the older versions support GIF which is NOT supported in later versions) then install all three latest versions (z,gd,png) to a new directory and then add this new directory to your configure line for EMBOSS.

i.e.

   make clean
   rm config.cache
   ./configure --with-pngdriver=/home/joe/new

as I installed gd etc using --prefix=/home/joe/new in the configure of each.

If you have recently installed the libraries to your system then

   make clean
   make clean
   rm config.cache
   ./configure

By removing config.cache you are telling the system to check again for what is available as these are stored in that file.

make clean removes all the current objects and EMBOSS libraries as these will now need to include the png driver code.

Q) Where to look for the additional libraries needed for PNG.
A)

GD) http://www.boutell.com/gd/ Z) http://www.mirror.ac.uk/sites/ftp.cdrom.com/pub/infozip/zlib/ JPEG) http://www.ijg.org/ PNG) http://www.mirror.ac.uk/sites/ftp.libpng.org/pub/png/libpng.html

These also list the various mirror sites for non UK people.

Alternatively, using ftp :-

GD) (boutell.com no longer allows FTP, no known mirror sites, use HTTP) Z) ftp://ftp.info-zip.org/pub/infozip/zlib/zlib-1.1.3.tar.gz JPEG) ftp://ftp.uu.net/graphics/jpeg/ PNG) ftp://swrinde.nde.swri.edu/pub/png/src/libpng.1.2.1.tar.gz

(Continued on next part...)

Part:   1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16 

EMBOSS FAQ (Frequently Asked Questions)