免费注册 查看新帖 |

Chinaunix

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

[FreeBSD] port安装rrdtool的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-03-01 17:58 |只看该作者 |倒序浏览
我在BSD6.2下用PORT安装RRDTOOL,出错。错误如下:
Findr 3rd-Party Libraries
checking for art_vpath_add_point in -lart_lgpl_2... no
checking for pkg-config... pkg-config
gnome-config: not found
configure: WARNING:
----------------------------------------------------------------------------
* I found a copy of pkgconfig, but there is no libart-2.0.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 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://oss.oetiker.ch/rrdtool/pub/libs

  The last tested version of libart-2.0 is 2.3.17.

       LIBS=-lm
   LDFLAGS= -L/usr/local/lib
  CPPFLAGS=-I/usr/local/include -I/usr/local/include/libart-2.0 -I/usr/local/include/freetype2 -D_THREAD_SAFE -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... (cached) pkg-config
gnome-config: not found
configure: WARNING:
----------------------------------------------------------------------------
* I found a copy of pkgconfig, but there is no libpng.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 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://oss.oetiker.ch/rrdtool/pub/libs

  The last tested version of libpng is 1.2.10.

       LIBS=-lz -lm
   LDFLAGS= -L/usr/local/lib
  CPPFLAGS=-I/usr/local/include -I/usr/local/include/libart-2.0 -I/usr/local/include/freetype2 -D_THREAD_SAFE

----------------------------------------------------------------------------

checking for FT_Init_FreeType in -lfreetype... yes
checking ft2build.h usability... yes
checking ft2build.h presence... yes
checking for ft2build.h... yes
configure: error: Please fix the library issues listed above and try again.
===>  Script "configure" failed unexpectedly.
Please report the problem to demon@FreeBSD.org [maintainer] and attach the
"/usr/ports/net/rrdtool/work/rrdtool-1.2.19/config.log" including the output
of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/net/rrdtool.
那位好心人能帮助一下。多谢在线等!!!!

论坛徽章:
0
2 [报告]
发表于 2007-03-26 20:28 |只看该作者
解决了没有呀,兄弟,我们问题和你一样?

论坛徽章:
0
3 [报告]
发表于 2007-03-26 21:21 |只看该作者
兄弟,我搞定了..你去这里ftp://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/2.3/下载一个高版本的liart安装一下试试看...我是这样弄好的.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP