make install
命令完成后,jpeglib.h被拷到/usr/include目录下,libjpeg.a和libjpeg.so被拷到/usr/local/lib目录下
2. ttf 的安装和配置
http://www.freetype.org
freetype-1.3.1.tar.gz
tar -xzvf freetype-1.3.1.tar.gz
./configure命令完成后该目录下多了个Makefile文件。Makefile文件是许多软件编译、安装的配置和过程控制文件,十分重要,应该学会看懂它的内容。开始编译:
make
make install
编译gd 的时候有error don't found the freetype.h 所以
cp /usr/local/include/freetype/* /usr/local/include/
3, zlib 安装:
Becaust the note, you must install the zlib first!
Before installing libpng, you must first install zlib. zlib
can usually be found wherever you got libpng. zlib can be
placed in another directory, at the same level as libpng.
Note that your system might already have a preinstalled
zlib, but you will still need to have access to the
zlib.h and zconf.h include files that correspond to the
version of zlib that's installed.
http://www.gzip.org/zlib/
ftp://ftp.uu.net/graphics/png/src/zlib-1.1.3.tar.gz
./configure
make
make install4. libpng 安装:
Read INSTALL
http://www.libpng.org/pub/png/
libpng-1.2.0.tar.gz
UNIX example: cp scripts/makefile.std makefile
make
make install5.GD-1.8.3的安装和配置