fc2ブログ

RRDtoolをインストールするには… - その2

前にもRRDtoolのインストールに必要なものを書いたけど、それらをrpmパッケージでインストールしたときのメモ。
yumでインストールしたときと手動でインストールしたときの古いメモ書きがあったから残しておく。

RRDtoolのconfigure時にこんな↓メッセージが出たっぽい(古いメモ書きだからよく覚えてない)。

Find 3rd-Party Libraries
checking for cairo_font_options_create in -lcairo... 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... 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... 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... 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=
CPPFLAGS=

----------------------------------------------------------------------------

どうやらcarioとpangoが必要らしい。

【yumの場合】

cario-develとpango-develが足りなかったらしい。なので

# yum install cairo-devel pango-devel

【手動の場合】

cario-develとpango-develとlibxml2-develが足りなかったらしい。

パッケージファイルをダウンロードして、

# rpm -ivh パッケージファイル名

でインストールする。色んなパッケージの依存関係があるので書いておく。

cairo-devel-1.2.4-1.fc6.i386.rpm
  fontconfig-devel-2.4.1-6.el5.i386.rpm
  freetype-devel-2.2.1-16.el5.i386.rpm
  libXrender-devel-0.9.1-3.1.i386.rpm
    libX11-devel-1.0.3-8.el5.i386.rpm
      libXau-devel-1.0.1-3.1.i386.rpm
      libXdmcp-devel-1.0.1-2.1.i386.rpm
    xorg-x11-proto-devel-7.1-9.fc6.i386.rpm
      mesa-libGL-devel-6.5.1-7.2.el5.i386.rpm
  libpng-devel-1.2.10-7.i386.rpm

pango-devel-1.14.9-3.el5.i386.rpm
  cairo-devel-1.2.4-1.fc6.i386.rpm
  fontconfig-devel-2.4.1-6.el5.i386.rpm
  freetype-devel-2.2.1-16.el5.i386.rpm
  glib2-devel-2.12.3-2.fc6.i386.rpm
  libX11-devel-1.0.3-8.el5.i386.rpm
  libXext-devel-1.0.1-2.1.i386.rpm
  libXft-devel-2.1.10-1.1.i386.rpm
  libXrender-devel-0.9.1-3.1.i386.rpm

libxml2-devel-2.6.26-2.1.2.i386.rpm

この記事のトラックバックURL

http://ysmt.blog21.fc2.com/tb.php/280-6538f03d

コメント

コメントする

管理者にだけ表示を許可する

Template Designed by DW99