esayr's blog 有友共尊田舍酒,无事面对古人书

24五/070

个人感受:freebsd 和 linux 的一点区别

这一月来因为要将三四台正在使用中的服务器操作系统由windows 2003换成开源的.

然后得出以下对比.

目标:安装GD图片处理库.

freebsd 是
# cd /usr/ports/graphics/gd
#make install

然后就等着完成.

linux是

wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.11.tar.gz
tar zxvf libiconv-1.11.tar.gz
cd libiconv-1.11
./configure --prefix=/usr/local
make install

wget http://jaist.dl.sourceforge.net/sourceforge/freetype/freetype-2.1.10.tar.gz
tar zxvf freetype-2.1.10.tar.gz
cd freetype-2.1.10
./configure --prefix=/usr/local
make install

wget http://www.ijg.org/files/jpegsrc.v6b.tar.gz
tar zxvf jpegsrc.v6b.tar.gz
cd jpeg-6
./configure --prefix=/usr/local
make install
make install-lib

wget http://nchc.dl.sourceforge.net/sourceforge/libpng/libpng-1.2.9beta9.tar.gz
tar zxvf libpng-1.2.9beta9.tar.gz
cd libpng-1.2.9beta9
./configure --prefix=/usr/local
sudo make install
wget http://www.boutell.com/gd/http/gd-2.0.33.tar.gz
./configure --prefix=/usr/local
make install

 觉得挺无奈的,谁有更好的办法?

评论 (0) 引用 (0)

还没有评论.


发表评论


还没有引用.