#install freetype
#yum install zlib* -y
#install libpng
wget http://prdownloads.sourceforge.net/libpng/libpng-1.5.9.tar.gz?download
./configure
make
make install
#install libjpeg
yum install libjpeg* -y
#install gd
./configure --with-freetype=/usr/local/lib --with-png=/usr/local/lib
make
make install
下载链接参考一下这里:
b. The gd graphics library:
c. The PNG graphics library:
http://www.libpng.org/pub/png/libpng.html
d. The zlib compression library:
(OPTIONAL)
e. The FreeType font rendering library for TrueType fonts:
f. The JPEG library, version 6b or later:
ftp://ftp.uu.net/graphics/jpeg/
gd的configure参数
--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
出自:广深互联为您提供专业的服务器租用,服务器托管技术支持
上一篇: [广深互联技术分享]centos setuptool安装
下一篇: 五一劳动节放假通知
--------------------------------------------------------------------------------------------------------------------------------------
最新公告: