1. 程式人生 > >configure: error: Please fix the library issues listed above and try again錯誤解決方法

configure: error: Please fix the library issues listed above and try again錯誤解決方法

感謝分享:https://www.aliyun.com/zixun/content/3_12_519180.html

感謝分享:http://blog.csdn.net/home_zhang/article/details/8162347

今天在編譯安裝rrdtool時,進行到[[email protected] 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.

仔細檢查了一下應該是少了一些必須支援的庫檔案,執行以下命令:

[[email protected] 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 Module

s: 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 <[email protected]>
----------------------------------------------------------------

編譯通過,問題解決。

一、使用yum安裝:
    在 /etc/yum.repos.d/下面新建dag.repo檔案在檔案中輸入源地址:
    [[email protected] 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
    [[email protected] yum.repos.d]#yum -y install rrdtool
    這樣就可以完成RRDTool安裝……
    二、軟體包安裝:
    先yum安裝所要的庫檔案:
    [[email protected] yum.repos.d]#yum install cairo-devel libxml2-devel pango-devel pango libpng-devel freetype freetype-devel libart_lgpl-devel
    然後下載rrdtool包,安裝:
    [[email protected] src]#wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.3.1.tar.gz
    [[email protected] src]#tar -zxvf rrdtool-1.3.1.tar.gz
    [[email protected] src]#./configure –prefix=/usr/local/rrdtool && make && make install
    執行rrdtool –v測試安裝成功沒有:
    [[email protected] src]#rrdtool -v //可以看到RRDTool的用法以及版本資訊
    三、另一種yum安裝(張士波用的是這種方法,其他安裝方法沒有測試)

    [[email protected] src]#wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
    [[email protected] src]#rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm
    [[email protected] src]#yum -y install rrdtool*


相關推薦

configure: error: Please fix the library issues listed above and try again錯誤解決方法

感謝分享:https://www.aliyun.com/zixun/content/3_12_519180.html 感謝分享:http://blog.csdn.net/home_zhang/article/details/8162347 今天在編譯安裝rrdtool時

Error, some other host already uses address 192.168.0.202錯誤解決方法

機器 虛擬機網卡 一個 already 局域網 使用 sysconf erro 錯誤 Error, some other host already uses address 192.168.0.202錯誤解決方法 今天配置虛擬機網卡的時候遇到錯誤:Error, so

企業運維案例:xxx is not in the sudoers file.This incident will be reported” 錯誤解決方法

時報 nop nbsp 因此 文件 swd bsp user incident CentOS6系統下,普通用戶使用sudo執行命令時報錯: xxx is not in the sudoers file.This incident will be reported" 解決

Maven報錯Please ensure you are using JDK 1.4 or above and not a JRE解決方法!

https://www.cnblogs.com/shihua513/p/6163682.html   在eclipse下用maven編譯時,很有可能出現以下錯誤: Please ensure you are using JDK 1.4 or above andnot a JRE (the co

Xshell報“The remote SSH server rejected X11 forwarding request.”錯誤解決方法

1.首先修改配置檔案 1.1遠端主機是 OpenSSH vi /etc/ssh/sshd_config, 設定 X11Forwarding yes 1.2遠端主機是 SSH.COM vi /etc/ssh2/sshd2_config, 設定 AllowX11Forwar

微信小程式 the server responded with a status of 404 錯誤解決方法

微信小程式開發,剛剛接觸這個小程式,遇到了題目中的問題,也就是在WXSS中無法使用background-image這個功能 後來經過各種查終於找到了解決方法。 首先官方給的說明是:background-image:可以使用網路圖片,或者 base64,或者使用<im

樹莓派普通使用者ssh出現Permission denied, please try again解決方法

拿到了樹莓派板子就想用遠端SSH的功能,網上看到了一些教程都是用預設使用者pi做SSH,我自己建立的使用者每次都是Permission denied, please try again. 後來找到了問題的答案,輸入: [email protecte

python安裝失敗提示“one or more issues caused the setup to fail . Please fix the issues and then retry setup.For more information see the log file”

ase ice body orm bubuko mat 解決方法 3.4 mage 換了項目組,換了新電腦,重裝Python時遇到提示如下圖所示: 原因:需要安裝Windows 7 Service Pack 1 直接點擊“update your

Error:Unable to make the module:***, related gradle configuration was not found. Please, re-import the Gradle project and try again.

RR ble err alt conf related error: found ref 打開idea的 View -> Tool Windows -> Gradle.然後點擊 Refresh Error:Unable to make the mod

FATAL ERROR: please install the following Perl modules before executing ./scripts/mysql_install_db:

執行安裝mysql 報錯 [[email protected] mysql-mult]# ./scripts/mysql_install_db  --defaults-file=conf/3306my.cnf FATAL ERROR: please install t

android Please fix the module's configuration in the build.gradle file and sync the project again

新匯入了 安卓專案就出現了這個問題。而且發現 專案 就是出現了一個 專案名, 不能開啟 專案明細裡面的東西看,也是奇怪 試著編譯 一下 gradle 專案,看看是不是會出現其他更多提示錯誤的。 結果發現是 因為    classpath 'com.android.tools

android Please fix the module's configuration in the build.gradle file and sync the project again

新匯入了 安卓專案就出現了這個問題。而且發現 專案 就是出現了一個 專案名, 不能開啟 專案明細裡面的東西看,也是奇怪 試著編譯 一下 gradle 專案,看看是不是會出現其他更多提示錯誤的。 結果發現是 因為    classpath 'com.andro

FATAL ERROR: please install the following Perl modules before executing ./mysql_install_db: Data::Dumper

今天安裝本地資料庫,所遇到的錯誤 FATAL ERROR: please install the following Perl modules before executing ./mysql_install_db:Data::Dumper 看到網上的修改方法: 解決方法 :安裝autoconf庫

SVN Update Error: Please execute the 'Cleanup' command

      在使用SVN做更新程式碼的時候,有時會碰到無法更新的情況,一般會提示如下的資訊,說是:       Working copy 'E:\mySVNDirectory' locked       Please execute the 'Cleanup' comman

SVN Update Error: Please execute the 'Cleanup' command

嘗試用下面兩種方法 svn clean up 中有一個選項break lock勾選上 把對應的檔案來裡的.svn裡面的lock檔案刪除。 svn local delete, incoming

SVN Update Error Please execute the 'Cleanup' command 解決方案

問題 - SVN Update Error: Please execute the 'Cleanup' command 詳細描述

Gradle project sync failed. Please fix your project and try again

adl flow goto eas studio art ack fix use https://stackoverflow.com/questions/29808199/error-running-android-gradle-project-sync-failed-pl

eclipse報錯:[Click the icon to add star.] Internal Error: java.lang.NullPointerException -----錯誤解決方法

linux系統下,eclipse出現以下報錯 [Click the icon to add star.] Internal Error: java.lang.NullPointerException的解決辦法 1、首先關閉MyEclipse工作空間。 2、然後刪除工作空間下的

center os7無法進入桌面,顯示A problem has occurred and the system can't recover. Please log out and try again

不知道為啥今天我的centos7突然就這樣了,之前配了一會兒C++的一些東西,他就成這樣了: 難道我在配C++的時候把什麼搞壞了? 真的煩死了。 然後上網就瘋狂百度谷歌,知道是自己把圖形介面搞壞了,那就修唄 ctrl+alt+f2(進入黑窗。。。) 既然要修桌面,那就要安裝”X

eclipse中執行程式時報錯'A JNI error has occurred,please check your installation and try again'

 第一次執行testNG,發現報錯:Error: A JNI error has occurred . Please check your installation and try again. 2.建立專案的時候,選擇JRE時要選擇第二個,選擇第一個就會報這樣的錯