验证如下
[root@localhost rrdtool-1.2.6]# rpm -qa |grep zlib
zlib-1.2.3-3
zlib-devel-1.2.3-3
[root@localhost rrdtool-1.2.6]# rpm -qa |grep libpng
libpng-devel-1.2.10-7
libpng-1.2.10-7
[root@localhost rrdtool-1.2.6]# rpm -qa |grep freetype
freetype-2.2.1-16.el5
freetype-devel-2.2.1-16.el5
[root@localhost rrdtool-1.2.6]# rpm -qa |grep libart_lgpl
libart_lgpl-2.3.17-4
libart_lgpl-devel-2.3.17-4
例如,没有freetype-devel-2.2.1-16.e15这个包,
通过www.google.com搜索freetype-2.2.1-16 devel就可以找到这个包,注意小版本也需要相同才可以安装
Download:
[url]http://oss.oetiker.ch/rrdtool/[/url]
Dependent package:
[url]http://oss.oetiker.ch/rrdtool/pub/libs/[/url]
Difficulty:
install libcgi
wget [url]http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/libs/cgilib-0.5.tar.gz[/url]
tar zxvf cgilib-0.5.tar.gz
cd cgilib-0.5
make
cp libcgi.a /usr/local/lib
cp cgi.h /usr/include
./configure --disable-tcl 进行配置
make 进行编译
make install 将编译好的安装到/usr/local/rrdtool-1.2.6/
ls /usr/local/rrdtool-1.2.6/ 查看该目录
bin examples include lib man share shared 应该有这些目录才正至此rrdtool安装成功