升级安装GD
2009-05-13 04:38:53来源:未知 阅读 ()
好久没升级我服务器上的软件包,今天我对每个重要的软件都看了一下,发现GD和php都有了升级,事不宜迟马上升级
gd的下载我没选择官方网站,因为官方的版本是不支持gif创建函数的,为什么会不支持呢?
官方网站是这样解释的:
When will you put GIF support back into gd?
Many have asked whether gd will support reading and creating GIF files again, since we have passed June 20th, 2003, when the well-known Unisys LZW patent expired in the US. Although this patent has expired in the United States, this patent does not expire for another year in the rest of the world. Since I have no way of limiting distribution of GIF-reading-and-creating code to US users only that is guaranteed to please somebody else's lawyer, I have opted to follow the same policy that the ImageMagick authors are following: GIF support will not reappear in gd until the patent expires world-wide on July 7th, 2004. I realize this situation is frustrating for many; please direct your anger and complaints toward the questionable patent system that allows the patenting of such straightforward algorithms in the first place. Thank you!
所以我从
http://www.rime.com.au/gd/
下载已经打了gif补丁的gd库.
wget http://downloads.rhyme.com.au/gd/gd-2.0.21gif_040120.tar.gz
tar zvxf gd-2.0.21gif_040120.tar.gz
cd gd-2.0.21gif
./configure --with-png=/usr --with-freetype=/usr --with-jpeg=/usr --with-xpm=/usr
make
make install
安装完毕,当然如果你用php的话,最好重新编译一下php,反正今天php今天也要升级到4.3.5.php的编译我就不多说了,不过php的官方好像说对gd的支持只到2.0.17,不知我这么高的版本是否支持的很好,反正不管了,升级.go go go
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/6138/showart_174179.html
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
- FreeBSD下nginx+fast-cgi+mysql+zend的实现 2009-05-13
- gd 安装报错.求助 2009-05-13
- virtualbox for freeBSD 2009-05-13
- 从网上下载的packages为什么本地安装不了?[已解决!] 2009-05-13
- 求PC-BSD 7.1安装指南? 2009-05-13
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash