欢子的gd库

欢子的gd

需要的库文件包

Expat

# cd expat-2.1.0

# ./configure --prefix=/usr/local/www/gd

# make

可以修改配置后的makefile文档使得软件支持UTF-16readme

# make install

Zlib

# cd zlib-1.2.7

# ./configure --prefix=/usr/local/www/gd

# make && make install

freetype

# cd freetype-2.3.5

# ./configure --prefix=/usr/local/www/gd

# make

# make install

Libxml

# cd libxml2-2.6.30

# ./configure --prefix=/usr/local/www/gd --with-zlib=/usr/local/www/gd

# make

# make install

Fontconfig

# cd fontconfig-2.11.0

# ./autogen.sh --prefix=/usr/local/www/gd/

--with-expat=/usr/local/www/gd/

--with-xmldir=/usr/local/www/gd/

--with-configdir=/usr/local/www/gd/

# make

# make install

LibXpm-3.5.5

# cd libXpm-3.5.5

# ./configure --prefix=/usr/local/www/gd

# make

# make install

Libpng-1.2.41

# cd libpng-1.2.41

# ./configure --prefix=/usr/local/www/gd

# make

# make install

Jpeg-7

# cd jpeg-7

# ./configure --prefix=/usr/local/www/gd

# make

# make install

安装gd库软件

# cd gd-2.0.33

# ./confiure --prefix=/usr/local/www/gd

--with-png=DIR          where to find the png library

--with-freetype=DIR     where to find the freetype 2.x library

--with-fontconfig=DIR         where to find the fontconfig library

--with-jpeg=DIR         where to find the jpeg library

--with-xpm=DIR          where to find the xpm library

# make

# make install


本文出自 “小崔的实验笔记” 博客,谢绝转载!

你可能感兴趣的:(GD库)