安装rrdtool出错:configure:error:

最近安装Nagios出图软件rrdtool的时候报错,先整理如下:

安装环境:

[[email protected]~]# uname -rm

2.6.32-504.el6.x86_64x86_64

[[email protected]~]# cat /etc/redhat-release

CentOSrelease 6.6 (Final)

安装rrdtool依赖库

1)安装基础库

[[email protected]~]#yum install cairo pango cairo-devel pango-devel zlib zlib-devel freetypefreetype-devle gd gd-devel –y

2)编译安装libart_lgpl

安装包为:libart_lgpl-2.3.21.tar.gz

3)编译安装rrdtool

安装包为:rrdtool-1.5.0.tar.gz

在configure时,出现如下错误:

configure:error: Please fix the library issues listed above and try again

4)解决办法

[[email protected] ~]#yum install cairo-devel pango-devel–y

如果仍出错请执行

[[email protected] ~]#yum install libart_lgpl-deve –y

5)如果仍然出错请执行:

wget  http://down1.chinaunix.net/distfiles/cgilib-0.5.tar.gz

tar zxvf cgilib-0.5.tar.gz

cd cgilib-0.5

make

cp libcgi.a /usr/local/lib

cp cgi.h /usr/include

总结:

其实主要是在安装的时候并未安装cairo-develpango-devel才导致出错,因此第4)的解决方法可以完全解决configure报错问题。

时间: 2024-08-10 12:24:31

安装rrdtool出错:configure:error:的相关文章

安装php出错configure: error: mcrypt.h not found. Please reinstall libmcrypt

wget ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/attic/libmcrypt/libmcrypt-2.5.7.tar.gz 安装: 66 tar -zxvf libmcrypt-2.5.7.tar.gz 67 cd libmcrypt-2.5.7 68 mkdir -p /usr/local/libmcrypt 69 ./configure prefix=/usr/local/libmcrypt/ 70 make 71 make install 记得

php安装编译时 configure: error: Cannot find OpenSSL's <evp.h>

=============================================== yum install error: protected multilib versions error===============================================sudo yum downgrade openssl 降级sudo yum install openssl-devel ===另外参考====================================

安装postgreSQL出现configure:error:readline library not found解决方法

要安装 readline , readline-dev 开发包,要么使用 --without-readline 选项关闭 readline 功能. #yum install readline; #yum install readline-dev; readline 也就是命令行编辑,关闭的话,你直接用psql 就不能编辑命令行,如果输错指令,不能回滚命令历史记录,只能手工重新输入. 在安装postgreSQL的过程中遇到一个问题,在执行 configure 过程中报以下错误,configure:

php5.6.11编译安装报错configure: error: Don't know how to define struct flock on this system

centos 6.8 32位系统下,安装php.5.6.11是出现这个错误 解决办法: 1 2 3 4 vim /etc/ld.so.conf.d/local.conf     # 编辑库文件 /usr/local/lib                       # 添加该行 :wq                                  # 保存退出 ldconfig -v                          # 使之生效 注意事项: 这里添加的库文件路径一定要和你

brew安装php70出现configure: error: Cannot find libz 错误解决方法

根据<全新安装Mac OS Sierra (10.12)并使用HomeBrew安装ZSH + MNMP (Mac + Nginx + Mysql + Php) 开发环境>教程在mac下用brew安装php70出错. brew install php70 --with-debug --with-gmp --with-homebrew-curl --with-homebrew-libressl --with-homebrew-libxml2 --with-homebrew-libxslt --wi

linux 上安装apache 出现 configure: error: APR not found. Please read the documentation错误

今日编译apache时出错: #./configure --prefix……检查编辑环境时出现: checking for APR... noconfigure: error: APR not found .  Please read the documentation 解决办法: 1.下载所需软件包: wget http://archive.apache.org/dist/apr/apr-1.4.5.tar.gz wget http://archive.apache.org/dist/apr/

安装libpng出现configure: error: ZLib not installed和 zlib自定义目录安装的情况下,编译libpng时找不到zlib的问题的解决办法

在CentOS5.4下安装libpng./configure --prefix=/usr/local/libpng提示: configure: error: ZLib not installed 在装libpng之前,我先装了zlib.可为什么还是提示找不到呢?我接着查了资料,有文档说libpng不用configure,是拷贝scripts/makefile.linux我又执行如下命令:cp scripts/makefile.linux makefilemake结果,,出错更多了,.. 最后的解

linux下安装安装pcre-8.32 configure: error: You need a C++ compiler for C++ support

linux下安装安装pcre-8.32./configure --prefix=/usr/local/pcre 出现以下错误configure: error: You need a C++ compiler for C++ support 正解 yum install -y gcc gcc-c++

转 Centos下安装apahce的configure: error: APR not found. Please read the documentation解决办法

转自: http://www.cnblogs.com/Anker/p/3355573.html 今天从Apache官网上http://httpd.apache.org/下载httpd web服务器,由于我的虚拟机上之前安装过,我先yum remove httpd进行卸载,然后重新安装.我采用的是源码安装,先进行./configure --prefix=/usr/local/apahce  --enable-so ,提示以下错误: configure: error: APR not found.