`

安装rrdtool时,无法安装cairo

阅读更多

Find 3rd-Party Libraries
checking for cairo_font_options_create in -lcairo... yes
checking cairo.h usability... no
checking cairo.h presence... no
checking for cairo.h... no
checking for pkg-config... pkg-config
configure: WARNING:
----------------------------------------------------------------------------
* I found a copy of pkgconfig, but there is no cairo-png.pc file around.
  You may want to set the PKG_CONFIG_PATH variable to point to its
  location.
----------------------------------------------------------------------------

configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of cairo-png. Check config.log for hints on why
  this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
  so that compiler and the linker can find libcairo and its header files. If
  you have not installed cairo-png, you can get it either from its original home on

     http://cairographics.org/releases/

  You can find also find an archive copy on

     http://oss.oetiker.ch/rrdtool/pub/libs

  The last tested version of cairo-png is 1.4.6.

       LIBS=-lm
   LDFLAGS=
  CPPFLAGS=

----------------------------------------------------------------------------
              
checking for cairo_svg_surface_create in -lcairo... yes
checking cairo-svg.h usability... no
checking cairo-svg.h presence... no
checking for cairo-svg.h... no
checking for pkg-config... (cached) pkg-config
configure: WARNING:
----------------------------------------------------------------------------
* I found a copy of pkgconfig, but there is no cairo-svg.pc file around.
  You may want to set the PKG_CONFIG_PATH variable to point to its
  location.
----------------------------------------------------------------------------

configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of cairo-svg. Check config.log for hints on why
  this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
  so that compiler and the linker can find libcairo and its header files. If
  you have not installed cairo-svg, you can get it either from its original home on

     http://cairographics.org/releases/

  You can find also find an archive copy on

     http://oss.oetiker.ch/rrdtool/pub/libs

  The last tested version of cairo-svg is 1.4.6.

       LIBS=-lm
   LDFLAGS=
  CPPFLAGS=

----------------------------------------------------------------------------
              
checking for cairo_pdf_surface_create in -lcairo... yes
checking cairo-pdf.h usability... no
checking cairo-pdf.h presence... no
checking for cairo-pdf.h... no
checking for pkg-config... (cached) pkg-config
configure: WARNING:
----------------------------------------------------------------------------
* I found a copy of pkgconfig, but there is no cairo-pdf.pc file around.
  You may want to set the PKG_CONFIG_PATH variable to point to its
  location.
----------------------------------------------------------------------------

configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of cairo-pdf. Check config.log for hints on why
  this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
  so that compiler and the linker can find libcairo and its header files. If
  you have not installed cairo-pdf, you can get it either from its original home on

     http://cairographics.org/releases/

  You can find also find an archive copy on

     http://oss.oetiker.ch/rrdtool/pub/libs

  The last tested version of cairo-pdf is 1.4.6.

       LIBS=-lm
   LDFLAGS=
  CPPFLAGS=

----------------------------------------------------------------------------
              
checking for cairo_ps_surface_create in -lcairo... yes
checking cairo-ps.h usability... no
checking cairo-ps.h presence... no
checking for cairo-ps.h... no
checking for pkg-config... (cached) pkg-config
configure: WARNING:
----------------------------------------------------------------------------
* I found a copy of pkgconfig, but there is no cairo-ps.pc file around.
  You may want to set the PKG_CONFIG_PATH variable to point to its
  location.
----------------------------------------------------------------------------

configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of cairo-ps. Check config.log for hints on why
  this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
  so that compiler and the linker can find libcairo and its header files. If
  you have not installed cairo-ps, you can get it either from its original home on

     http://cairographics.org/releases/

  You can find also find an archive copy on

     http://oss.oetiker.ch/rrdtool/pub/libs

  The last tested version of cairo-ps is 1.4.6.

       LIBS=-lm
   LDFLAGS=
  CPPFLAGS=

----------------------------------------------------------------------------
              
checking for pango_cairo_context_set_font_options in -lpango-1.0... no
checking for pkg-config... (cached) pkg-config
configure: WARNING:
----------------------------------------------------------------------------
* I found a copy of pkgconfig, but there is no pangocairo.pc file around.
  You may want to set the PKG_CONFIG_PATH variable to point to its
  location.
----------------------------------------------------------------------------

configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of pangocairo. Check config.log for hints on why
  this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
  so that compiler and the linker can find libpango-1.0 and its header files. If
  you have not installed pangocairo, you can get it either from its original home on

     http://ftp.gnome.org/pub/GNOME/sources/pango/1.17

  You can find also find an archive copy on

     http://oss.oetiker.ch/rrdtool/pub/libs

  The last tested version of pangocairo is 1.17.

       LIBS=-lm
   LDFLAGS=

解决:

export PKG_CONFIG_PATH=${INSTALL_DIR}/lib/pkgconfig
export PATH=$INSTALL_DIR/binPATH


安装cairo-devel和pango-devel
0
0
分享到:
评论

相关推荐

    rrdtool的安装

    ### RRDTool的安装与配置详解 #### 一、引言 RRDTool(Round Robin Database Tool)是一款开源的数据收集和展示工具,广泛应用于网络监控系统中,用于收集各种统计数据并将其存储在一种称为“圆周缓冲”的特殊...

    rrdtool之rrdcached安装手册

    1. **安装依赖库**:首先,确保系统已经安装了必要的库文件,例如cairo-devel、libxml2-devel、pango-devel、pango、libpng-devel、freetype、freetype-devel、libart_lgpl-devel等。这些库是编译和运行RRDtool及其...

    p5-Alien-RRDtool:安装RRDs.pm(用于RRDtool的Perl绑定)

    Alien :: RRDtool-安装与RRDtool的Perl绑定 版本 本文档介绍了Alien :: RRDtool版本0.06。 概要 use RRDs; # see RRDtool documentation 描述 此发行版在perls上安装RRDs.pm。 RRDtool软件包会将RRDs.pm安装到系统...

    cacti中文版安装步骤

    为了安装RRDtool,需要先安装依赖库cairo、libxml2和pango,使用`yum -y install cairo-devel libxml2-devel pango-devel`。然后,解压缩RRDtool的源码包,如`tar -zxvf rrdtool-1.5.1.tar.gz`,进入源码目录并执行`...

    linux下cacti和nagios安装和整合.docx

    - **安装依赖库**:安装 RRDTool 所需的库。 ```bash yum install cairo-devel libxml2-devel pango pango-devel -y ``` - **编译安装 RRDTool**: ```bash tar xzf rrdtool-1.4.5.tar.gz cd rrdtool-1.4.5 ....

    在 Centos6.2 64 安装 Ganglia-3.4

    1. **安装RRDTool**:RRDTool 是一种用于收集和存储时间序列数据(例如网络带宽使用情况)的工具。 - 下载并解压源码包 - 配置安装路径为 `/usr/rrdtool` - 编译安装 ```bash wget ...

    CentOS安装Ganglia

    对于无法通过`yum`安装的库,比如`libconfuse`和`pcre`,可以通过源码包的方式安装。 ##### 3. RRDTool的安装 - 下载RRDTool: ```bash wget http://oss.oetiker.ch/rrdtool/download/rrdtool-1.4.5.tar.gz ```...

    cacti安装全攻略

    ##### 3.3 RRDTool安装与配置 RRDTool是Cacti的核心组成部分,用于数据存储和图表绘制。安装RRDTool: ```bash ./configure --prefix=/usr/local/rrdtool make && make install ``` 如果出现`configure: error: ...

    HADOOP监控GANGLIA安装文档.docx

    接下来,安装rrdtool,这是Ganglia用于存储和处理时间序列数据的关键组件。可以从源代码安装rrdtool: ```bash wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.2.27.tar.gz tar zxvf rrdtool-1.2.27.tar cd ...

    Cacti安装配置完整版

    1. **安装与cairo相关的包** ```bash yum install cairo-devel ``` 2. **安装与glib相关的软件包** ```bash yum install glib yum install glib-devel yum install glib2-devel ``` 3. **安装与pango...

    cacti安装与配置.docx

    Rrdtool 需要一些库的支持,如 cairo、libxml2 和 pango,通过 `yum` 安装这些库: ``` [root@cacti ~]# yum -y install cairo-devel libxml2-devel pango-devel ``` 然后,下载并编译 Rrdtool: ``` [root@cacti ~]...

    cacti+nagios+npc+nconf.docx

    接下来,安装RRDTool,它是Cacti的数据存储工具: 1. 解压并移动RRDTool到指定目录: ``` tar zxvf rrdtool-1.3.8.tar.gz mv rrdtool-1.3.8 /usr/local/rrdtool yum install pango-devel* cairo-devel* ...

    CentOS6上安装配置ganglia

    其中,一些特殊的开发版本(如confuse-2.7.tar.gz、expat-2.0.1.tar.gz和rrdtool.tar.gz)需要手动解压并编译安装,因为Ganglia安装过程中会直接引用这些源码包。 安装步骤如下: 1. **安装依赖包**: 如果你有...

    ganglia安装过程

    安装Ganglia自身时,需要下载`ganglia-3.5.7`的源码包,配置参数包括安装路径、配置文件位置以及启用gmetad和gexec功能。配置完成后,执行`make`和`make install`。将gmetad和gmond的服务脚本复制到`/etc/rc.d/init....

    Centos 6.4 安装Cacti 英文版.txt

    [root@localhost ~]# yum -y install libtool libtool-ltdl libtool-ltdl-devel lm_sensors perl-Net-Daemon perl-PlRPC perl-DBI rrdtool perl-rrdtool perl-DBD-MySQL cairo-devel libxml2-devel pango-devel ...

Global site tag (gtag.js) - Google Analytics