next up previous contents
Next: zlib Up: Installation Previous: Unpacking   Contents

Graphics Requirements

Depending on your system you may need to explicitly configure the graphics. EMBOSS includes the plplot graphics library and will link to X11 and the recent (non-GIF) releases of the gd graphics library which also require libz and libpng (and possibly libjpeg). Please see the section 'Configuring EMBOSS graphics' below.

To get PLPLOT to produce PNG images you will need to have the

z
http://www.info-zip.org/pub/infozip/zlib/,
png
http://libpng.sourceforge.net/ and
gd
http://www.boutell.com/gd/ libraries installed.
gd
version $>=$ 1.8.4 is recommended. A recent release must be used as older versions support GIF which is NOT supported in later versions because of software patent problems. If for some reason you do not have the required libraries and your system support group will not update them for the system 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 -- ./configure --with-pngdriver=my_dir where the
z
,
png
and
gd
libraries were each installed using ./configure --prefix=my_dir

??? It may also be helpful to ensure that the

LD_LIBRARY_PATH
environment variable is set appropriately to include the libraries in the path. ???

GD) http://www.boutell.com/gd/ Z) http://www.mirror.ac.uk/sites/ftp.cdrom.com/pub/infozip/zlib/ 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 PNG) ftp://swrinde.nde.swri.edu/pub/png/src/libpng.1.2.1.tar.gz You can unpack the tar.gz files in any directory, and install them in a common area.

By default everything (including EMBOSS) installs in /usr/local but in the examples below we use /home/joe/local

Note: gd does not use a ./configure script, and will fail at the "make install" stage if the installation directory does not have a /bin subdirectory. You can create this directory (e.g. /home/joe/local/bin) if it does not already exist.



Subsections
next up previous contents
Next: zlib Up: Installation Previous: Unpacking   Contents
Peter Rice 2007-04-26