分类: LINUX
2008-12-18 16:36:24
样在安装的时候就出现编译错误:
----------------------------------------------------------------------------
* I could not find a working copy of libart-2.0. Check config.log for hints on why
this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
so that compiler and the linker can find libart_lgpl_2 and its header files. If
you have not installed libart-2.0, you can get it either from its original home on
You can find also find an archive copy on
The last tested version of libart-2.0 is 2.3.17.
LIBS=-lm
LDFLAGS=
CPPFLAGS= -I/usr/include/libart-2.0
checking for cgiInit in -lcgi... yes
checking cgi.h usability... yes
checking cgi.h presence... yes
checking for cgi.h... yes
configure: error: Please fix the library issues listed above and try again.
解决方案:(在之前要先安装CGILIB-0.5,安装方法,参加见另一说明文档)
下载libart_lgpl-2.3.17.ta.gz
#tar -xzvf libart_lgpl-2.3.17.tar.gz
#cd libart_lgpl
#./configure (注意:此处不要安装到一个目录下,如./configure --prefix=/usr/local/libart-2.0,如果这样的话,在安装rrdtool的时候,会一直报错)
#make
#make install (会将文件安装 到/usr/local/include目录下)
#ln -s /usr/local/include/libart-2.0 /usr/include
然后开始安装rrdtool就可以啦