免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1109 | 回复: 4
打印 上一主题 下一主题

rrdtool安装问题? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-12-05 15:57 |只看该作者 |倒序浏览
系统centos 4.2 打算安装rrdtool+mrtg,首先rrdtool需要rrdtool-1.2.11.tar.gz、libart_lgpl-2.3.17.tar.gz、libpng-1.2.8-config.tar.gz、freetype-2.1.9.tar.gz、cgilib-0.5.tar.gz
但是都使用系统自带的安装的。这样在安装的时候就出现编译错误:
----------------------------------------------------------------------------
* 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

     ftp://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/2.3/

  You can find also find an archive copy on

     http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/libs

  The last tested version of libart-2.0 is 2.3.17.

       LIBS=-lm
   LDFLAGS=
  CPPFLAGS= -I/usr/include/libart-2.0

----------------------------------------------------------------------------
               
checking for zlibVersion in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for png_access_version_number in -lpng... no
checking for pkg-config... no
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of libpng. 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 libpng and its header files. If
  you have not installed libpng, you can get it either from its original home on

     http://prdownloads.sourceforge.net/libpng/

  You can find also find an archive copy on

     http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/libs

  The last tested version of libpng is 1.2.8.

       LIBS=-lz -lm
   LDFLAGS=
  CPPFLAGS=

----------------------------------------------------------------------------
               
checking for FT_Init_FreeType in -lfreetype... no
checking for pkg-config... (cached) no
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://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/libs

  The last tested version of freetype2 is 2.1.9.

       LIBS=-lz -lm
   LDFLAGS=
  CPPFLAGS= -I/usr/include/freetype2

----------------------------------------------------------------------------
               
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.

请安装过的朋友指点一下。

论坛徽章:
0
2 [报告]
发表于 2005-12-05 16:15 |只看该作者
请问这里的环境变量如何设置呢?

论坛徽章:
0
3 [报告]
发表于 2005-12-05 18:27 |只看该作者
上面环境问题解决。但是发现freetype-2没有办法安装。

论坛徽章:
0
4 [报告]
发表于 2005-12-23 17:29 |只看该作者

回复 1楼 broadsowrd619 的帖子

楼主,请问你的问题解决了麽?我也遇到了同样的问题,真是头痛。。。

请问你是怎么解决的哪?
我用的是centos4-u2, rrdtool 1.2.12. 谢谢

论坛徽章:
0
5 [报告]
发表于 2005-12-31 17:00 |只看该作者
doc/rrdbuild.txt
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP