安装包下载http://pan.baidu.com/share/link?shareid=157505291&uk=2737059485
1、安装cgilib-0.5
tar xzf cgilib-0.5.tar.gz
cd cgilib-0.5
make
make install
cp libcgi.a /usr/local/lib
cp cgi.h /usr/include
//最后注意:一定要 cp *.h /usr/include cp libcgi* /usr/lib
2、安装rrdtool-1.4.7
apt-get install libart-2.0 libpango1.0-dev libxml2-dev
tar zxvf rrdtool-1.4.7.tar.gz
cd rrdtool-1.4.7
./configure --prefix=/usr/local/rrdtool
make
make install