I have no idea how to install the GD Library.
Can you give me some basic infos?
Or a url perhaps that can give such informations?
GD install
look here, you have certainly to change some path, All the compress files are here in /usr/local/xtra_targz
the install zone is mainly
/usr/local
For PHP 4.2.0 and +
10.3. Graphics libraries install
10.3.1. Libjpeg install
Down load libjpeg from http://www. You download libjpec.v6b.tar.gz inside /usr/local/xtra_targz and run the following commands :
cd /usr/local/xtra_targz
gunzip libjpeg.v6b.tar.gz
tar xvf libjpeg.v6b.tar.
cd libjpeg.v6b
./configure --prefix=/usr –enable-shared –enable-static
make
make install
10.3.2. Lib freetype install
Down load freetype from http://www.gnu.org / . You download freetype.tar.gz inside /usr/local/xtra_targz and run the following commands :
cd /usr/local/xtra_targz
gunzip freetype.x.y.tar.gz
tar freetype.x.y.tar
cd freetype.x.y
make setup CFG= ‘’--prefix=/usr/local’’
make
Before to tun the install process make sure you have => chmod 755 install-sh
make install
10.3.3. Lib zlib install
Zlib is normally installed on the Sun/Solaris platform, but Zlib is needed in a specific way for the Lipng install, so we do the install again.
Down load Zlib from http://www.. You download zlib.xy..tar.gz inside /usr/local/xtra_targz and run the following commands :
cd /usr/local/xtra_targz
gunzip zlib.xy..tar.gz
tar xvf zlib.xy.tar
mv zlib.xy zlib
cd zlib
./configure --prefix=/usr
make
make install
10.3.4. Libpng install
Down load libpng from http://www.. You download libpng.xy.tar.gz inside /usr/local/xtra_targz and run the following commands :
cd /usr/local/xtra_targz
gunzip libpng.xy.tar.gz
tar xvf libpng.xy.tar
cd libpng.xy.tar
cp scripts/makefile.solaris makefile
make the following changes in makefile => replace everywhere /usr/local by /usr for :
prefix =
ZLILIB =….
ZLIBINC=….
Introduce a symlink in /usr/lib
Libucb.so.1 -> ../ucblib/libucb.so.1
make
make install
10.3.5. Lib GD install
Down load GD from http://www.boutell.com/gd/ . You download gd.1.8.4.tar.gz inside /usr/local/xtra_targz and run the following commands :
cd /usr/local/xtra_targz
gunzip gd.1.8.4.tar.gz
tar xvf gd.1.8.4.tar
cd gd.1.8.4
edit the Makefile and :
- comment the line 15 => CFLAGS=-0 –DHAVE_LIBPNG –DHAVE_LIBJPEG
- uncomment line 19-20 and remove from 20 => - DHAVE_LIBTTF
- uncomment line 39 and remove => -lttf
- on line 48 replace /usr/include/freetype2 by /usr/local/include/freetype2
./configure --prefix=/usr/local --with-mysql –disable-ftp
make
make install