LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2376|回复: 1

加急! 小弟遇到很难的事 我在安装ganglia 监控公司LVS机群服务器在安装到过成中报错

[复制链接]
发表于 2007-7-24 14:47:04 | 显示全部楼层 |阅读模式
编译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

     http://prdownloads.sourceforge.net/freetype/

  You can find also find an archive copy on

     http://oss.oetiker.ch/rrdtool/pub/libs

  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
发表于 2007-8-12 00:48:49 | 显示全部楼层

using setenv PKG_CONFIG_PATH

I think you would better to use setenv utility to set the environment variables.
setenv PKG_CONFIG_PATH [your path]

command
export PKG_CONFIG_PATH=[your path]
only set shell variable.

Good luck.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表