centos 6下編譯安裝rrdtool-1.4.5.tar.gz 過不去

#tar zxvf rrdtool-1.4.5.tar.gz

#cd rrdtool-1.4.5

#./configure --prefix=/usr/local/rrdtool

出現:               
configure: error: Please fix the library issues listed above and try again.
解決方法:yum -y install zlib libpng freetype libart_lgpl libart_lgpl-devel libxml* pango*

解決問題:

再次編譯安裝:

#cd rrdtool-1.4.5

#./configure --prefix=/usr/local/rrdtool

....................

            Libraries: -lxml2 -lcairo -lcairo -lcairo -lm  -lcairo -lpng12   -lglib-2.0   -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -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]>


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章