[url]http://sourceforge.net/projects/giflib/[/url] 下载完这些支持组件后还需下载mono相应的支持包,包括libgdiplus-2.2.tar.gz,mono-2.2.tar.bz2,mod_mono-2.2.tar.bz2及xsp-2.2.tar.bz2。
cp /usr/local/jpeg/include/* /usr/include/
tar jxvf libexif-0.6.17.tar.bz2
cd libexif-0.6.17
./configure
make
make install
tar jxvf exif-0.6.17.tar.bz2
cd exif-0.6.17
./configure --prefix=/usr/local/exif
make
make install
cd tiff-3.8.2
./configure --prefix=/usr/local/tiff
make
make install
cd giflib-4.1.6
./configure --prefix=/usr/local/gif
make
make install
cp /usr/local/gif/lib/* /usr/lib/
cp /usr/local/gif/include/* /usr/include/
cp /usr/local/tiff/lib/* /usr/lib/
cp /usr/local/tiff/include/* /usr/include/
cd libgdiplus-2.2
./configure
make
make install
这里需要说明的是,安装mono的目录需要指定为/usr,否则会出现503之类的错误。编译mono的时间会比较长,在编译会有一些警示,这些不会影响到后面的正常编译。
cd mono-2.2
./configure --prefix=/usr
make
make install
cd xsp-2.2
./configure --prefix=/usr
make
make install
cd mod_mono-2.2
./configure --with-apxs=/usr/local/httpd/bin/apxs
make
make install