GD Library and Module
/usr/bin/perl -MCPAN -e 'install "GD"
or
1. Before you can install the GD Perl module you must install the GD programming library. This library has some optional components that we recommend you compile it with, so these instructions will include installation of those components as well.
2. Obtain and install the latest version of the JPEG programming library. You can download version 6b from our server:
http://www.jmbsoft.com/software/modules/jpegsrc.v6b.tar.gz
Extract the archive on your server and change into the created directory:
gunzip jpegsrc.v6b.tar.gz
tar xf jpegsrc.v6b.tar
cd jpeg-6b
Configure, compile and install the library:
./configure --enable-shared
make
make install
Installation of this library is complete
3. Obtain and install the latest version of the PNG programming library. You can download the 1.2.8 version from our server:
http://www.jmbsoft.com/software/modules/libpng-1.2.8-config.tar.gz
Extract the archive on your server and change into the created directory:
gunzip libpng-1.2.8-config.tar.gz
tar xf libpng-1.2.8-config.tar
cd libpng-1.2.8-config
Configure, compile and install the library:
./configure
make
make install
Installation of this library is complete
4. Obtain and install the latest version of the Freetype2 programming library. You can download the 2.1.8 version from our server:
http://www.jmbsoft.com/software/modules/freetype-2.1.8.tar.gz
Extract the archive on your server and change into the created directory:
gunzip freetype-2.1.8.tar.gz
tar xf freetype-2.1.8.tar
cd freetype-2.1.8
Configure, compile and install the library:
./configure
make
make install
Installation of this library is complete
5. Obtain and install the latest version of the GD programming library. You can download the 2.0.33 version from our server:
http://www.jmbsoft.com/software/modules/gd-2.0.33.tar.gz
Extract the archive on your server and change into the created directory:
gunzip gd-2.0.33.tar.gz
tar xf gd-2.0.33.tar
cd gd-2.0.33
Configure, compile and install the library:
./configure
make
make install
Installation of this library is complete
6. Obtain the latest version of the GD Perl module distribution from a CPAN mirror or download the 2.23 version from our server:
http://www.jmbsoft.com/software/modules/GD-2.23.tar.gz
Extract the archive on your server and change into the created directory:
gunzip GD-2.23.tar.gz
tar xf GD-2.23.tar
cd GD-2.23
Configure, compile and install the module:
perl Makefile.PL
make
make install
The installation of this module is complete