安装rrdtool之前确保安装了这些库zlib libpng freetype libart_lgpl
验证如下

01 [root@localhost rrdtool-1.2.6]# rpm -qa |grep zlib
02 zlib-1.2.3-3
03 zlib-devel-1.2.3-3
04 [root@localhost rrdtool-1.2.6]# rpm -qa |grep libpng
05 libpng-devel-1.2.10-7
06 libpng-1.2.10-7
07 [root@localhost rrdtool-1.2.6]# rpm -qa |grep freetype
08 freetype-2.2.1-16.el5
09 freetype-devel-2.2.1-16.el5
10 [root@localhost rrdtool-1.2.6]# rpm -qa |grep libart_lgpl
11 libart_lgpl-2.3.17-4
12 libart_lgpl-devel-2.3.17-4

如果确认以上没问题,如果执行./configure还报configure: error: Please fix the library issues listed above and try again错误的话,那就执行


# yum -y install pango*

然后在执行./configure即可

还要确定是否安装了perl和perl-devel

如果没有安装在make的时候会报错。