您的位置:首页 > 其它

Install zlib/libpng/jpeg/freetype/libgd/GD on Mavericks即mac10.9(转)

2014-07-29 14:10 696 查看
转自:http://wangqinhu.com/install-gd-on-mavericks/

Various applications depend on library GD, however, you will alway fail on installing GD by CPAN.

I wrapped all the latest of zlib/libpng/jpeg/freetype/libgd/GD moudels and successfully installed GD on Mavericks (Mac OSX 10.9), hope this could help the one who have the similar environments.

Note Xcode should be installed first (if you haven't) and make sure you have a sudo privilege.

Download all the package here.
Extract the package gd.tar.gz and type
sudo ./install
to install.

This is an alternative approach:

curl -O http://wangqinhu.com/data/gd/gd.tar.gz tar -zxf gd.tar.gz
cd gd
sudo ./install


附:对于有些会需要引用freetype内部文件的,需要通过sudo cp -ri freetype's path /usr/local/include
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: