configure: error: Please fix the library issues listed above and try again错误解决方法
来源:互联网 发布:网络人头像 编辑:程序博客网 时间:2024/06/15 08:28
感谢分享:https://www.aliyun.com/zixun/content/3_12_519180.html
感谢分享:http://blog.csdn.net/home_zhang/article/details/8162347
今天在编译安装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 xmlhttp://www.aliyun.com/zixun/aggregation/33959.html">ParseFile 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>
----------------------------------------------------------------
编译通过,问题解决。
原文链接:http://www.qnr.cn/pc/lin/study/201204/768057.html
RRDTool官方使用手册链接:http://oss.oetiker.ch/rrdtool/tut/rrdtutorial.en.html#___top
一、使用yum安装:
在 /etc/yum.repos.d/下面新建dag.repo文件在文件中输入源地址:
[root@www.linuxidc.com yum.repos.d]# cat dag.repo
[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/RedHat/el$releasever/en/$basearch/dag
gpgcheck=1
gpgkey=http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
enabled=1
[root@www.linuxidc.com yum.repos.d]#yum -y install rrdtool
这样就可以完成RRDTool安装……
二、软件包安装:
先yum安装所要的库文件:
[root@www.linuxidc.com yum.repos.d]#yum install cairo-devel libxml2-devel pango-devel pango libpng-devel freetype freetype-devel libart_lgpl-devel
然后下载rrdtool包,安装:
[root@www.linuxidc.com src]#wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.3.1.tar.gz
[root@www.linuxidc.com src]#tar -zxvf rrdtool-1.3.1.tar.gz
[root@www.linuxidc.com src]#./configure –prefix=/usr/local/rrdtool && make && make install
运行rrdtool –v测试安装成功没有:
[root@www.linuxidc.com src]#rrdtool -v //可以看到RRDTool的用法以及版本信息
三、另一种yum安装(张士波用的是这种方法,其他安装方法没有测试)
[root@www.linuxidc.com src]#wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
[root@www.linuxidc.com src]#rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm
[root@www.linuxidc.com src]#yum -y install rrdtool*
- configure: error: Please fix the library issues listed above and try again错误解决方法
- Debian下安装rrdtool时出现 : configure: error: Please fix the library issues listed above and try again. 解决方案。
- 安装rrdtool时候的报错configure: error: Please fix the library issues listed above and try again
- 安装rrdtool时候的报错configure: error: Please fix the library issues listed above and try again.
- Gradle project sync failed. Please fix your project and try again.错误
- 迁移zencart后出现 WARNING: An Error occurred, please refresh the page and try again的解决方法
- 5.Error running All Tests: Gradle project sync failed. Please fix your project and try again. 怎样解决?
- android studio 报Gradle project sync failed. Please fix your project and try again.错误的解决办法
- AndroidStudio编译报 Gradle project sync failed. Please fix your project and try again错误. 怎样解决?
- 关于android studio错误:gradle project sync failed.please fix your project and try again的解决方案
- An error was encountered. Please return to the previous page and try again.
- Xcode/Git Repository Error: “Please verify that the working copy is reachable and try again.”
- 错误:Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
- 增加优惠券 An error occurred while saving the rule data. Please review the log and try again.
- Gradle project sync failed. Please fix your project and try again
- Gradle project sync failed. Please fix your project and try again.
- Gradle project sync failed. Please fix your project and try again解决方案
- Gradle project sync failed. Please fix your project and try again解决办法
- POJ 3467 Cross Counting 可能会
- 开发人员与非技术同事沟通的八个聪明策略
- MFC下ODBC方式连接数据库
- 【codeforces 768B】Code For 1
- apacheAnt的构建脚本编写以及集成junit进行自动测试
- configure: error: Please fix the library issues listed above and try again错误解决方法
- what is Nexus
- struts2简介
- echarts设置饼状图的大小以及图形位置
- 一起玩游戏技术支持
- 【C语言简单说】十七:数组(补)
- java集合框架02——Collection架构与源码分析
- 怎么制定合理的开发计划
- OC实现的各种简单常见的排序算法