您当前的位置: 首页 > 服务器教程 > Linux教程 > configure: error: Please fix the library issues listed above and try again错误解决方法

configure: error: Please fix the library issues listed above and try again错误解决方法

作者:xiaoxiao 来源:未知 发布时间: 2013-12-31 15:43 点击:
今天在编译安装rrdtool时,进行到[root@localhost rrdtool-1.4.8]# ./configure --prefix=/usr/local/rrdtool 报错如下: checking for glib_check_version in -lglib-2.0... yes checking glib.h usability... no checking glib.h presence... no checking for glib.h

configure: error: Please fix the library issues listed above and try again错误解决方法

  今天在编译安装rrdtool时,进行到[root@localhost rrdtool-1.4.8]# ./configure --prefix=/usr/local/rrdtool
  
  报错如下:
  
  checking for glib_check_version in -lglib-2.0... yes
  
  checking glib.h usability... no
  
  checking glib.h presence... no
  
  checking for glib.h... no
  
  checking for pkg-config... (cached) pkg-config
  
  checking for glib_check_version in -lglib-2.0... yes
  
  checking glib.h usability... yes
  
  checking glib.h presence... yes
  
  checking for glib.h... yes
  
  checking for xmlParseFile in -lxml2... yes
  
  checking libxml/parser.h usability... yes
  
  checking libxml/parser.h presence... yes
  
  checking for libxml/parser.h... yes
  
  configure: error: Please fix the library issues listed above and try again.
  
  仔细检查了一下应该是少了一些必须支持的库文件,执行以下命令:
  
  [root@localhost rrdtool-1.4.8]# yum -y install pango*
  
  安装完需要的库文件之后,我们重新运行./configure --prefix=/usr/local/rrdtool命令:
  
  Config is DONE!
  
  With MMAP IO: yes
  
  Build rrd_getopt: no
  
  Build rrd_graph: yes
  
  Static programs: no
  
  Perl Modules: perl_piped perl_shared
  
  Perl Binary: /usr/bin/perl
  
  Perl Version: 5.10.1
  
  Perl Options: PREFIX=/usr/local/rrdtool INSTALL_BASE= LIB=/usr/local/rrdtool/lib/perl/5.10.1
  
  Ruby Modules:
  
  Ruby Binary: no
  
  Ruby Options: sitedir=/usr/local/rrdtool/lib/ruby
  
  Build Lua Bindings: no
  
  Build Tcl Bindings: no
  
  Build Python Bindings: no
  
  Build rrdcgi: yes
  
  Build librrd MT: yes
  
  Use gettext: yes
  
  With libDBI: no
  
  With libwrap: no
  
  Libraries: -lxml2 -lglib-2.0 -lcairo -lcairo -lcairo -lm  -lcairo -lpng12   -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
  
  Type 'make' to compile the software and use 'make install' to
  
  install everything to: /usr/local/rrdtool.
  
  ... that wishlist is NO JOKE. If you find RRDtool useful
  
  make me happy. Go to http://tobi.oetiker.ch/wish and
  
  place an order.
  
  -- Tobi Oetiker <tobi@oetiker.ch>
  
  ----------------------------------------------------------------
  
  编译通过,问题解决。

分享到:
本文"configure: error: Please fix the library issues listed above and try again错误解决方法"由远航站长收集整理而来,仅供大家学习与参考使用。更多网站制作教程尽在远航站长站。
顶一下
(1)
100%
踩一下
(0)
0%
[点击 次] [返回上一页] [打印]
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 密码: 验证码:
关于本站 - 联系我们 - 网站声明 - 友情连接- 网站地图 - 站点地图 - 返回顶部
Copyright © 2007-2013 www.yhzhan.com(远航站长). All Rights Reserved .
远航站长:为中小站长提供最佳的学习与交流平台,提供网页制作与网站编程等各类网站制作教程.
官方QQ:445490277 网站群:26680406 网站备案号:豫ICP备07500620号-4