急用 在lvs负载均衡环境中想用ganglia监控机群机器.出错!
编译rrdtool-1.2.18出错!./configure --prefix=/usr/local/rrdtool/ CPPFLAGS="-I/usr/local/include/freetype2" CPPFLAGS="-I/usr/local/include/libart-2.0"
configure: WARNING:
----------------------------------------------------------------------------
* I found a copy of pkgconfig, but there is no freetype2.pc file around.
You may want to set the PKG_CONFIG_PATH variable to point to its
location.
----------------------------------------------------------------------------
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of freetype2. 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 libfreetype and its header files. If
you have not installed freetype2, you can get it either from its original home on
[url]http://prdownloads.sourceforge.net/freetype/[/url]
You can find also find an archive copy on
[url]http://oss.oetiker.ch/rrdtool/pub/libs[/url]
The last tested version of freetype2 is 2.1.10.
LIBS=-lpng -lz -lart_lgpl_2 -lm
LDFLAGS=
CPPFLAGS=-I/usr/local/include/libart-2.0 -I/usr/include/libart-2.0 -I/usr/include/freetype2
----------------------------------------------------------------------------
configure: error: Please fix the library issues listed above and try again.
请做过ganglia的监控的人 多多指教!
我的环境变量已经之好了
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/freetype2.pc
[[i] 本帖最后由 linux-admin 于 2007-7-24 14:49 编辑 [/i]]
页:
[1]