[四]安裝GD Graphics Library 與 安裝php5

a.安裝 jpeg6 部份﹕
# mkdir -p /usr/local/jpeg6
# mkdir -p /usr/local/jpeg6/bin
# mkdir -p /usr/local/jpeg6/lib
# mkdir -p /usr/local/jpeg6/include
# mkdir -p /usr/local/jpeg6/man
# mkdir -p /usr/local/jpeg6/man1
# mkdir -p /usr/local/jpeg6/man/man1

# cd /home/myhome/software/
# tar zvxf jpegsrc.v6b.tar.gz
# cd jpeg-6b
# ./configure --prefix=/usr/local/jpeg6/ --enable-shared --enable-static
# make; make install

b.安裝 libpng 部份
# cd /home/myhome/software/
# tar -zvxf libpng-1.2.8.tar.gz
# cd libpng-1.2.8
# cp scripts/makefile.std makefile
# make; make install

c.安裝 freetype 部份
# cd /home/myhome/software/
# tar zvxf freetype-2.1.10.tar.gz
# cd freetype-2.1.10

hsinichi 發表在 痞客邦 留言(0) 人氣()