≡ Menu

Install RRDTool on Red Hat Enterprise Linux

Q. I've downloaded RRDTool package called rrdtool-1.3.1.tar.gz. But ./configure command giving out lots of error messages. How do I install RRDTool on Red Hat Enterprise Linux 5.x - 64 bit version?

A. RRD is the Acronym for Round Robin Database. RRD is a system to store and display time-series data (i.e. network bandwidth, machine-room temperature, server load average). It stores the data in a very compact way that will not expand over time, and it presents useful graphs by processing the data to enforce a certain data density. It can be used either via simple wrapper scripts (from shell or Perl) or via frontends that poll network devices and put a friendly user interface on it.

Installing RRDTool on RHEL

In order to install RRDTool on Red Hat Enterprise Linux / CentOS Linux 64 bit version you need to install few development tools and libraries.

Step # 1: Install required dependencies

Login as root and type the following command:
# yum install cairo-devel libxml2-devel pango-devel pango libpng-devel freetype freetype-devel libart_lgpl-devel
Sample output:

Loading "rhnplugin" plugin
Loading "security" plugin
rhel-x86_64-server-vt-5   100% |=========================| 1.4 kB    00:00
rhn-tools-rhel-x86_64-ser 100% |=========================| 1.2 kB    00:00
rhel-x86_64-server-5      100% |=========================| 1.4 kB    00:00
Setting up Install Process
Parsing package install arguments
Package libxml2-devel - 2.6.26-2.1.2.1.x86_64 is already installed.
Package libxml2-devel - 2.6.26-2.1.2.1.i386 is already installed.
Package pango - 1.14.9-3.el5.i386 is already installed.
Package pango - 1.14.9-3.el5.x86_64 is already installed.
Package freetype - 2.2.1-20.el5_2.i386 is already installed.
Package freetype - 2.2.1-20.el5_2.x86_64 is already installed.
Resolving Dependencies
--> Running transaction check
---> Package libart_lgpl-devel.x86_64 0:2.3.17-4 set to be updated
---> Package pango-devel.i386 0:1.14.9-3.el5 set to be updated
--> Processing Dependency: libXft-devel for package: pango-devel
--> Processing Dependency: libXrender-devel for package: pango-devel
--> Processing Dependency: libXext-devel for package: pango-devel
--> Processing Dependency: libX11-devel for package: pango-devel
--> Processing Dependency: fontconfig-devel >= 2.0 for package: pango-devel
---> Package pango-devel.x86_64 0:1.14.9-3.el5 set to be updated
---> Package freetype-devel.x86_64 0:2.2.1-20.el5_2 set to be updated
---> Package libpng-devel.i386 2:1.2.10-7.1.el5_0.1 set to be updated
---> Package cairo-devel.x86_64 0:1.2.4-5.el5 set to be updated
---> Package libpng-devel.x86_64 2:1.2.10-7.1.el5_0.1 set to be updated
---> Package cairo-devel.i386 0:1.2.4-5.el5 set to be updated
---> Package libart_lgpl-devel.i386 0:2.3.17-4 set to be updated
--> Processing Dependency: libart_lgpl_2.so.2 for package: libart_lgpl-devel
---> Package freetype-devel.i386 0:2.2.1-20.el5_2 set to be updated
--> Running transaction check
---> Package libXrender-devel.i386 0:0.9.1-3.1 set to be updated
--> Processing Dependency: xorg-x11-proto-devel for package: libXrender-devel
---> Package libXft-devel.i386 0:2.1.10-1.1 set to be updated
---> Package libX11-devel.i386 0:1.0.3-9.el5 set to be updated
--> Processing Dependency: libXdmcp-devel for package: libX11-devel
--> Processing Dependency: libXau-devel for package: libX11-devel
---> Package fontconfig-devel.i386 0:2.4.1-7.el5 set to be updated
---> Package libart_lgpl.i386 0:2.3.17-4 set to be updated
---> Package libXext-devel.i386 0:1.0.1-2.1 set to be updated
--> Running transaction check
---> Package xorg-x11-proto-devel.i386 0:7.1-9.fc6 set to be updated
--> Processing Dependency: mesa-libGL-devel for package: xorg-x11-proto-devel
---> Package libXdmcp-devel.i386 0:1.0.1-2.1 set to be updated
---> Package libXau-devel.i386 0:1.0.1-3.1 set to be updated
--> Running transaction check
---> Package mesa-libGL-devel.i386 0:6.5.1-7.5.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 libart_lgpl-devel       x86_64     2.3.17-4         rhel-x86_64-server-5   21 k
 libart_lgpl-devel       i386       2.3.17-4         rhel-x86_64-server-5   21 k
 pango-devel             i386       1.14.9-3.el5     rhel-x86_64-server-5  280 k
 pango-devel             x86_64     1.14.9-3.el5     rhel-x86_64-server-5  281 k
Installing for dependencies:
 cairo-devel             x86_64     1.2.4-5.el5      rhel-x86_64-server-5  131 k
 cairo-devel             i386       1.2.4-5.el5      rhel-x86_64-server-5  130 k
 fontconfig-devel        i386       2.4.1-7.el5      rhel-x86_64-server-5  168 k
 freetype-devel          x86_64     2.2.1-20.el5_2   rhel-x86_64-server-5  151 k
 freetype-devel          i386       2.2.1-20.el5_2   rhel-x86_64-server-5  151 k
 libX11-devel            i386       1.0.3-9.el5      rhel-x86_64-server-5  665 k
 libXau-devel            i386       1.0.1-3.1        rhel-x86_64-server-5   11 k
 libXdmcp-devel          i386       1.0.1-2.1        rhel-x86_64-server-5  7.6 k
 libXext-devel           i386       1.0.1-2.1        rhel-x86_64-server-5   57 k
 libXft-devel            i386       2.1.10-1.1       rhel-x86_64-server-5   16 k
 libXrender-devel        i386       0.9.1-3.1        rhel-x86_64-server-5  8.9 k
 libart_lgpl             i386       2.3.17-4         rhel-x86_64-server-5   76 k
 libpng-devel            i386       2:1.2.10-7.1.el5_0.1  rhel-x86_64-server-5  182 k
 libpng-devel            x86_64     2:1.2.10-7.1.el5_0.1  rhel-x86_64-server-5  186 k
 mesa-libGL-devel        i386       6.5.1-7.5.el5    rhel-x86_64-server-5  465 k
 xorg-x11-proto-devel    i386       7.1-9.fc6        rhel-x86_64-server-5  247 k
Transaction Summary
=============================================================================
Install     20 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 3.2 M
Is this ok [y/N]:
Downloading Packages:
(1/20): libXext-devel-1.0 100% |=========================|  57 kB    00:00
(2/20): freetype-devel-2. 100% |=========================| 151 kB    00:00
(3/20): libXau-devel-1.0. 100% |=========================|  11 kB    00:00
(4/20): libart_lgpl-devel 100% |=========================|  21 kB    00:00
(5/20): libart_lgpl-2.3.1 100% |=========================|  76 kB    00:00
(6/20): cairo-devel-1.2.4 100% |=========================| 130 kB    00:00
(7/20): libpng-devel-1.2. 100% |=========================| 186 kB    00:00
(8/20): cairo-devel-1.2.4 100% |=========================| 131 kB    00:00
(9/20): fontconfig-devel- 100% |=========================| 168 kB    00:00
(10/20): mesa-libGL-devel 100% |=========================| 465 kB    00:01
(11/20): libXdmcp-devel-1 100% |=========================| 7.6 kB    00:00
(12/20): libpng-devel-1.2 100% |=========================| 182 kB    00:00
(13/20): libX11-devel-1.0 100% |=========================| 665 kB    00:02
(14/20): freetype-devel-2 100% |=========================| 151 kB    00:00
(15/20): libXft-devel-2.1 100% |=========================|  16 kB    00:00
(16/20): pango-devel-1.14 100% |=========================| 281 kB    00:01
(17/20): pango-devel-1.14 100% |=========================| 280 kB    00:01
(18/20): libXrender-devel 100% |=========================| 8.9 kB    00:00
(19/20): libart_lgpl-deve 100% |=========================|  21 kB    00:00
(20/20): xorg-x11-proto-d 100% |=========================| 247 kB    00:01
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: libart_lgpl                  ####################### [ 1/20]
  Installing: freetype-devel               ####################### [ 2/20]
  Installing: fontconfig-devel             ####################### [ 3/20]
  Installing: libpng-devel                 ####################### [ 4/20]
  Installing: libXau-devel                 ####################### [ 5/20]
  Installing: libart_lgpl-devel            ####################### [ 6/20]
  Installing: libart_lgpl-devel            ####################### [ 7/20]
  Installing: libpng-devel                 ####################### [ 8/20]
  Installing: freetype-devel               ####################### [ 9/20]
  Installing: xorg-x11-proto-devel         ####################### [10/20]
  Installing: libX11-devel                 ####################### [11/20]
  Installing: libXrender-devel             ####################### [12/20]
  Installing: libXft-devel                 ####################### [13/20]
  Installing: cairo-devel                  ####################### [14/20]
  Installing: libXext-devel                ####################### [15/20]
  Installing: pango-devel                  ####################### [16/20]
  Installing: pango-devel                  ####################### [17/20]
  Installing: libXdmcp-devel               ####################### [18/20]
  Installing: mesa-libGL-devel             ####################### [19/20]
  Installing: cairo-devel                  ####################### [20/20]
Installed: libart_lgpl-devel.x86_64 0:2.3.17-4 libart_lgpl-devel.i386 0:2.3.17-4 pango-devel.i386 0:1.14.9-3.el5 pango-devel.x86_64 0:1.14.9-3.el5
Dependency Installed: cairo-devel.x86_64 0:1.2.4-5.el5 cairo-devel.i386 0:1.2.4-5.el5 fontconfig-devel.i386 0:2.4.1-7.el5 freetype-devel.x86_64 0:2.2.1-20.el5_2 freetype-devel.i386 0:2.2.1-20.el5_2 libX11-devel.i386 0:1.0.3-9.el5 libXau-devel.i386 0:1.0.1-3.1 libXdmcp-devel.i386 0:1.0.1-2.1 libXext-devel.i386 0:1.0.1-2.1 libXft-devel.i386 0:2.1.10-1.1 libXrender-devel.i386 0:0.9.1-3.1 libart_lgpl.i386 0:2.3.17-4 libpng-devel.i386 2:1.2.10-7.1.el5_0.1 libpng-devel.x86_64 2:1.2.10-7.1.el5_0.1 mesa-libGL-devel.i386 0:6.5.1-7.5.el5 xorg-x11-proto-devel.i386 0:7.1-9.fc6
Complete!

Step # 2: Download latest rrdtool tar ball

Type the following commands:
# cd /opt/
# wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.3.1.tar.gz

Untar tar ball, enter:
# tar -zxvf rrdtool-1.3.1.tar.gz

Step #3: Compile and install rrdtool

You need to set PKG_CONFIG_PATH, enter:
# export PKG_CONFIG_PATH=/usr/lib/pkgconfig/
Type the following commands:
# ./configure
Sample output:

config.status: executing default-1 commands
config.status: executing intltool commands
config.status: executing default commands
config.status: executing po/stamp-it commands
checking in... and out again
ordering CD from http://tobi.oetiker.ch/wish .... just kidding ;-)
----------------------------------------------------------------
Config is DONE!
          With MMAP IO: yes
       Static programs: no
          Perl Modules: perl_piped perl_shared
           Perl Binary: /usr/bin/perl
          Perl Version: 5.8.8
          Perl Options: PREFIX=/usr/local/rrdtool-1.3.1 LIB=/usr/local/rrdtool-1.3.1/lib/perl/5.8.8
          Ruby Modules:
           Ruby Binary: no
          Ruby Options: sitedir=$(DESTDIR)NONE/lib/ruby
    Build Tcl Bindings: no
 Build Python Bindings: yes
          Build rrdcgi: yes
       Build librrd MT: yes
     Link with libintl: yes
             Libraries: -lxml2 -lcairo -lcairo -lcairo -lm  -lcairo -lpng12   -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
Type 'make' to compile the software and use 'make install' to
install everything to: /usr/local/rrdtool-1.3.1.
       ... 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 
----------------------------------------------------------------

Now compile and install RRDTool on RHEL:
# make
# make install
# cd /usr/local/
# ln -s rrdtool-1.3.1/ rrdtool/
# cd rrdtool
# ls -l

How do I verify my installation?

Now RRDtool is installed and ready to use. You can go to /usr/local/rrdtool/share/rrdtool/examples/ directory and run them to see if your installation has been successful or not:
# cd /usr/local/rrdtool/share/rrdtool/examples/
# ./stripes.pl
# ls -l
# cp stripes.png /var/www/html/

Fire a web browser and see a graph for yourself by typing the following url:
http://your-domain.com/stripes.png

(Fig.01: Sample RRDTool Graph)

Optional compile time settings

By default RRDTool will get installed at /usr/local/rrdtool-1.3.1/ directory. To change default installation directory use following command:
# ./configure --prefix=/usr/local/rrdtool
# make install

To see all compile configuration option enter:
# ./configure --help

Further readings:

Tweet itFacebook itGoogle+ itPDF itFound an error/typo on this page?

{ 44 comments… add one }

  • Tobias Oetiker July 28, 2008, 9:31 am

    there is no dependency to libart anymore …

    since yum does dependency tracking and pango requires cairo and freetype and they require all the rest, I guess you could get away with just typing (not tested)

    yum install pango-devel

    cheers
    tobi (nice tutorial)

  • nixCraft July 28, 2008, 11:39 am

    Tobias,

    Thanks for comment and wonderful tool.

  • Jakub Hrozek July 29, 2008, 8:37 am

    I would like to point out that rrdtool is included in EPEL which is a collection of add-on software for RHEL and CentOS (and other RHEL derivatives).

    Installing software from source is usually a worse idea than from repo b/c you have to check for bugs/security alerts yourself. If the maintainer does his job, you get all this from repo automagically.

    Cheers,
    Jakub

  • Lawson August 4, 2008, 6:53 pm

    Currently using 64-bit RH5.

    Having problems with “could not find a working copy of pangocairo” error.
    checking for pango_cairo_context_set_font_options in -lpango-1.0… no

    Installed all dependencies and have both 32 bit and 64 bit versions of pango and pango-devel.

    libpango-1.0.so.0.1400.9 exists in both /usr/lib and /usr/lib64

    What gives here? It is as if pango 1.14 does not contain pango_cairo_context_set_font_options !

    Pls help! Thanks.

  • nixCraft August 4, 2008, 7:05 pm

    Do you have pkgconfig and fontconfig packages installed? It will read the configuration file and outputs the necessary compiler and linker flags for each library.

  • Lawson August 4, 2008, 8:37 pm

    Yes, I have the 32 and 64 bit versions of fontconfig-2.4.1-7.el5 and fontconfig-devel-2.4.1-7.el5

    I also have the 64 bit version of pkgconfig-0.21-2.el5

    /usr/lib/pkgconfig contains a number of .pc files as well as libpango-1.0.so.

  • Frits August 7, 2008, 3:06 pm

    I have a same problem of Lawson how i resolve it? Thanks

  • Marcos August 8, 2008, 12:28 pm

    Hi Vivek,

    I have a same problem of Lawson, I’ve install all packages of this tutorial but when execute ./configure in my rhel5 output this message:

    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=-lcairo -lcairo -lcairo -lm -lcairo -lpng12 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
    LDFLAGS= -L/usr/lib -L/usr/lib -L/lib
    CPPFLAGS= -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12

    —————————————————————————-

    But I have installed this lib, look:
    Package pango – 1.14.9-3.el5.i386 is already installed.
    Package pango – 1.14.9-3.el5.x86_64 is already installed.
    Package pango-devel – 1.14.9-3.el5.x86_64 is already installed.
    Package pango-devel – 1.14.9-3.el5.i386 is already installed.

    What’s happened??
    Thanks for advice.

  • nixCraft August 8, 2008, 1:40 pm

    This error only occurs if you spiked the following statement:
    export PKG_CONFIG_PATH=/usr/lib/pkgconfig/
    Type the above followed by ./configure.

  • Lawson August 8, 2008, 4:13 pm

    What do you mean by “spiked”?

    Well, I never did find a solution to this problem.
    I am continuing to use rrdtool 1.2.23, which someone made an RPM for and I had no problems installing. 1.2.x lacks MANY of the hard drive access enhancements made in 1.3.x, which is why I was trying to upgrade to 1.3.x.

    Found another solution though. 1.2.23 works fine as long as you have enough RAM. Take the total size of all of your RRDs (10GB for me) and add 2GB….. that is how much RAM you need.

    Once I moved up to 16GB of RAM, rrdtool no longer needed efficient hard drive access and cacti (what I am using rrdtool for) works perfectly.

    Good luck!

  • Marcos August 8, 2008, 5:05 pm

    Vivek, before run ./configure, I was exec. export PKG_CONFIG_PATH=/usr/lib/pkgconfig/, but ./configure fails and I see this message.

    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
    checking for cairo_font_options_create in -lcairo… yes
    checking cairo.h usability… yes
    checking cairo.h presence… yes
    checking for cairo.h… yes
    checking for cairo_svg_surface_create in -lcairo… yes
    checking cairo-svg.h usability… yes
    checking cairo-svg.h presence… yes
    checking for cairo-svg.h… yes
    checking for cairo_pdf_surface_create in -lcairo… yes
    checking cairo-pdf.h usability… yes
    checking cairo-pdf.h presence… yes
    checking for cairo-pdf.h… yes
    checking for cairo_ps_surface_create in -lcairo… yes
    checking cairo-ps.h usability… yes
    checking cairo-ps.h presence… yes
    checking for cairo-ps.h… yes
    checking for pango_cairo_context_set_font_options in -lpango-1.0… no
    checking for pkg-config… (cached) pkg-config
    checking for pango_cairo_context_set_font_options in -lpango-1.0… no
    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=-lcairo -lcairo -lcairo -lm -lcairo -lpng12 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
    LDFLAGS= -L/usr/lib -L/usr/lib -L/lib
    CPPFLAGS= -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12

    —————————————————————————-

    The curious is the cairo.h can’t find by ./configure.
    Thanks for advice.

  • Les Dunston October 29, 2008, 10:31 pm

    Thanks, I was writing up my own install instructions until I ran across this. This was a huge time saver.

  • Alessandro Nakamuta December 9, 2008, 4:28 pm

    When I execute stripes.pl, i’ve got this error:
    ./stripes.pl
    No fonts found; this probably means that the fontconfig
    library is not correctly configured. You may need to
    edit the fonts.conf configuration file. More information
    about fontconfig can be found in the fontconfig(3) manual
    page and on http://fontconfig.org

    Somebody help me?

  • Mani January 20, 2009, 10:27 am

    Its working …

    yum install pango-devel
    My Problem solved …
    Tanx

  • mehrasa February 12, 2009, 6:45 am

    thanks. it was very useful. specially direction to test rrdtool and install with export command . but i think the path was not enough because i had to type “export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig” to work ./configure

  • patrick rutledge February 12, 2009, 9:00 pm

    Ok, so the fix for the RHEL5 lib dependencies (pango issue above) is not pretty. It looks like the rrdtool developers do not handle the existence of both 32 and 64 bit development libraries when checking your system. So, if you are 100% sure you don’t need the 32 bit libraries (GLIB2 being one!!), you can remove them and ./configure runs just fine. I had to do this:
    yum remove libxml2-devel.i386 libcairo-devel.i386 libpng12-devel.i386 libpng-devel.i386 glib2-devel.i386
    I then had to reinstall pango-devel.x86_64 again because the glib2-devel.i386 removal removed it.
    yum install pango-devel.x86_64

    The glib2 removal should not be too much of an issue, unless you have something compiled against it. YMMV!

  • patrick rutledge February 12, 2009, 9:02 pm

    you might have to add yum remove pango-devel.i386 to the above list sorry.

  • irado April 8, 2009, 1:00 pm

    little change:
    instead of /usr/local/rrdtool/share/examples
    it is just
    /usr/local/rrdtool/examples

    (the /share was removed, I think)

    BTW: very clever tutorial, thank you :)

  • Mike April 29, 2009, 9:58 pm

    For those of you struggling with this in the 64 bit flavors of RH (i.e. FC and Cent) here’s what I had to do:

    export PKG_CONFIG_PATH=/usr/lib64/pkgconfig/:/usr/local/lib64/pkgconfig
    export CFLAGS="-O3 -fPIC"
    export LDFLAGS="-Wl,--rpath -Wl,/usr/lib64"

    If you are still having issues with Cairo support, add the following switch when you configure:
    ./configure CPPFLAGS='-I/usr/include/cairo

    You *do not* have to remove the .i386 binaries if you do the above. Otherwise the workaround of removing the i386 binaries might work but using the 64 bit libraries and making sure you add the required paths to the environment certainly helped.

    Before I made these changes I was getting errors during make but other than a “no” for cairo support during configure, I wasn’t getting any errors. Hope this helps someone out there.

  • ashish May 13, 2009, 10:49 am

    Dear all,when i tried to yum the following

    yum install cairo-devel libxml2-devel pango-devel pango libpng-devel freetype freetype-devel libart_lgpl-devel

    i got the following error message

    Loading “installonlyn” plugin
    Setting up Install Process
    Setting up repositories
    Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=i386&repo=extras error was
    [Errno 4] IOError:
    Error: Cannot find a valid baseurl for repo: extras

    Do help out?
    Regards
    AShish

  • Irving June 17, 2009, 9:32 am

    i have installed rrdtool on my brand new server with CentOS 5…your post working perfectly…thank you very much…

    All the steps running smoothly….i’m glad didn’t find any error.. :)

  • Ashish August 3, 2009, 11:09 am

    Dear all,

    i installed and followed as instructed but when i fire ./configure it said “-bash: ./configure: No such file or directory”
    please help me

    m on “inux metrix.tsg.com 2.6.18-53.el5xen #1 SMP Mon Nov 12 03:26:12 EST 2007 i686 i686 i386 GNU/Linux”

    i have installed fontconfig as well pkgconfig..

  • Ashish August 3, 2009, 11:10 am

    yum install pkgconfig

    Loading "installonlyn" plugin
    Setting up Install Process
    Setting up repositories
    extras                    100% |=========================| 1.1 kB    00:00
    updates                   100% |=========================|  951 B    00:00
    http://mirror.averse.net/centos/5.3/os/i386/repodata/repomd.xml: [Errno 12] Timeout:
    Trying other mirror.
    base                      100% |=========================| 1.1 kB    00:00
    addons                    100% |=========================|  951 B    00:00
    Reading repository metadata in from local files
    Parsing package install arguments
    Resolving Dependencies
    --> Populating transaction set with selected packages. Please wait.
    ---> Package pkgconfig.i386 1:0.21-2.el5 set to be updated
    --> Running transaction check
    Dependencies Resolved
    =============================================================================
     Package                 Arch       Version          Repository        Size
    =============================================================================
    Updating:
     pkgconfig               i386       1:0.21-2.el5     base               59 k
    Transaction Summary
    =============================================================================
    Install      0 Package(s)
    Update       1 Package(s)
    Remove       0 Package(s)
    Total download size: 59 k
    Is this ok [y/N]: y
    Downloading Packages:
    (1/1): pkgconfig-0.21-2.e 100% |=========================| 8.0 kB    00:31
    http://mirror.nus.edu.sg/centos/5.3/os/i386/CentOS/pkgconfig-0.21-2.el5.i386.rpm: [Errno 4] Socket Error: timed out
    Trying other mirror.
    (1/1): pkgconfig-0.21-2.e 100% |=========================|  59 kB    00:00
    Running Transaction Test
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Updating  : pkgconfig                    ######################### [1/2]
      Cleanup   : pkgconfig                    ######################### [2/2]
    Updated: pkgconfig.i386 1:0.21-2.el5
    Complete!
    root@metrix:/usr/lib/pkgconfig #yum install fontconfig
    Loading "installonlyn" plugin
    Setting up Install Process
    Setting up repositories
    Reading repository metadata in from local files
    Parsing package install arguments
    Resolving Dependencies
    --> Populating transaction set with selected packages. Please wait.
    ---> Package fontconfig.i386 0:2.4.1-7.el5 set to be updated
    --> Running transaction check
    Dependencies Resolved
    =============================================================================
     Package                 Arch       Version          Repository        Size
    =============================================================================
    Updating:
     fontconfig              i386       2.4.1-7.el5      base              174 k
    Transaction Summary
    =============================================================================
    Install      0 Package(s)
    Update       1 Package(s)
    Remove       0 Package(s)
    Total download size: 174 k
    Is this ok [y/N]: y
    Downloading Packages:
    Running Transaction Test
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Updating  : fontconfig                   ######################### [1/2]
      Cleanup   : fontconfig                   ######################### [2/2]
    Updated: fontconfig.i386 0:2.4.1-7.el5
    Complete!
    root@metrix:/usr/lib/pkgconfig #export PKG_CONFIG_PATH=/usr/lib/pkgconfig
    root@metrix:/usr/lib/pkgconfig #./configure
    -bash: ./configure: No such file or directory
  • Ashish August 3, 2009, 11:15 am

    Guys

    Please helpp me out

    root@metrix:/usr/lib/pkgconfig #./configure
    -bash: ./configure: No such file or directory

    • nixCraft August 3, 2009, 4:09 pm

      Install developers tools and compilers:
      yum groupinstall ‘Development Tools’

  • Ashish August 4, 2009, 9:11 am

    Dear vivek

    Thanks

    now that rrdtool has been succesfully installed,but when try to make install-dad-as
    oot@metrix:/opt/ntop-3.3.10 #make install-data-as
    make: *** No rule to make target `install-data-as’. Stop.

  • Nate Murray September 25, 2009, 11:55 pm

    Had Lawson’s problem. It was solved by Patrick’s solution. Thanks!
    Nate

  • John September 26, 2009, 11:19 am

    Hi exicuted ./stripes.pl and copied stripes.png to /var /www/htlml
    now when i give ip adress of my server and htttp//x.x.x.x/stripes.png

    i get this eror
    bash:error 404.

  • Ahmad April 26, 2010, 4:25 am

    Hi,

    First off thanks for the tutorial!

    I am trying to install rrdtools on Fedora and following your steps i have been able to get past the configure step. However i get the following error on make.

    Making all in bindings
    make[2]: Entering directory `/home/ahmad/MSProj/src/rrdtool-1.4.2/bindings’
    make[3]: Entering directory `/home/ahmad/MSProj/src/rrdtool-1.4.2/bindings’
    cd perl-piped && /usr/bin/perl Makefile.PL PREFIX=/home/ahmad/MSProj/gInstall/rrdtool LIB=/home/ahmad/MSProj/gInstall/rrdtool/lib/perl/5.10.0
    Can’t locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl .) at Makefile.PL line 1.
    BEGIN failed–compilation aborted at Makefile.PL line 1.
    make[3]: *** [perl-piped/Makefile] Error 2
    make[3]: Leaving directory `/home/ahmad/MSProj/src/rrdtool-1.4.2/bindings’
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/ahmad/MSProj/src/rrdtool-1.4.2/bindings’
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/ahmad/MSProj/src/rrdtool-1.4.2′
    make: *** [all] Error 2

    Any idea what could be going wrong?

  • Hrish April 30, 2010, 1:11 pm

    Thanks a lot for this step by step guide. Worked great!

  • Vimuth May 20, 2010, 10:43 am

    Dear all,

    I tried this tutorial and it worked well. As in I could see the stripes demo page. However If I want to monitor the network performance of a RHEL5.3 box would someone please guide me as to how I should go about doing it? All I need is to get some graphs generated so that I could analyse the behaviour of incoming and outgoing connections. Please do give me a clue. Many thanks in advance.

  • Justin May 30, 2010, 5:20 am

    Hey everyone,

    My installation went well, I got none of the errors mentioned, but when trying to run ./stripes.pl I got the following error: “Segmentation fault”

    Any help would be greatly appreciated!

  • hardik June 8, 2010, 5:11 am

    hi all,
    will u pl help me for the following error, i have installed rrdtool at usr/local/rrdtool – and nfdump at usr/local/nfdump and my dump is coming on /var/nfsen/data directory so what would be the configuration file for mail::header installation

    Can’t locate Mail/Header.pm in @INC (@INC contains: libexec
    /usr/local/rrdtool/lib/perl//5.8.8/i386-linux-thread-multi
    /usr/local/rrdtool/lib/perl//5.8.8 /usr/local/rrdtool/lib/perl/
    ./libexec ./installer-items
    /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
    /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
    /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
    /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi
    /usr/lib/perl5/5.8.8 .) at install.pl line 642.

    regards

    • joshlinx January 7, 2012, 11:32 am

      install cpan Mail:Header and Mail:Internet

  • Nandakumar August 27, 2010, 4:38 am

    While entering to the diretory to check

    I am getting error

    Too many levels of symbolic links

    Please help me how to find and remove if any extra links found .

    Thanks,
    Nanda

  • Nnyan November 3, 2010, 9:24 pm

    I got the same error as Ashish. Other then installing the entire dev group can someone pin point exactly what needs to be in stalled? I have a very small VPS and need to trim this down.

  • Yaroslav December 9, 2010, 8:14 am

    When I tried to “./configure”, I’d got “No such file or directory”.Any ideas? Thank you

  • Pedram December 12, 2010, 3:24 pm

    I went through this with version 1.4.4 and it is installed in /opt/rrdtool-1.4.4 instead of /usr/local. Just thought I’d point that out in case some people get confused if they’re installing a newer version of rrdtool on RHEL5

  • alejandro January 11, 2011, 4:01 pm

    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 libpangocairo-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

    i still getting this error, i remove pango reinstall, and dont know what can be

  • Guru July 4, 2012, 3:18 am

    thanks :)
    really good one

  • mahan June 22, 2013, 1:32 pm

    when run./configure
    recived this error :
    configure: error: GNU gettext tools not found; required for intltool

  • Nitin February 10, 2014, 10:54 am

    ./install.pl /etc/nfsen.conf
    Can’t load ‘/usr/lib/perl5/site_perl/5.8.7/x86_64-linux/auto/RRDs/RRDs.so’ for module RRDs: librrd.so.4: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.7/x86_64-linux/DynaLoader.pm line 230.
    at libexec/NfSenRRD.pm line 38
    Compilation failed in require at libexec/NfSenRRD.pm line 38.
    BEGIN failed–compilation aborted at libexec/NfSenRRD.pm line 38.
    Compilation failed in require at libexec/NfSen.pm line 43.
    BEGIN failed–compilation aborted at libexec/NfSen.pm line 43.
    Compilation failed in require at ./install.pl line 44.
    BEGIN failed–compilation aborted at ./install.pl line 44.

    Looking for help

  • Rasanga February 27, 2014, 11:37 am

    Hi All
    I am trying to install 1.4.8 on fedora 17, but make fails with the following

    /usr/bin/ld: rrdcached-rrd_daemon.o: undefined reference to symbol ‘g_tree_replace’
    /usr/bin/ld: note: ‘g_tree_replace’ is defined in DSO /lib64/libglib-2.0.so.0 so try adding it to the linker command line
    /lib64/libglib-2.0.so.0: could not read symbols: Invalid operation
    collect2: error: ld returned 1 exit status
    make[2]: *** [rrdcached] Error 1

    Any help, tried editing the make file to include the library with no luck

  • Kevin July 18, 2014, 10:07 pm

    I am attempting to install rrdtool ver 1.4.8 in CentOS 7 64 bit. This is a fresh install of the OS and this is the first component I am attempting to install. I am very new to the Linux environment so I was looking for a good walk through and came across this one.
    Listed below is what I used to attempt the install with comments after some of the lines where I think there are problems.

    # yum install cairo-devel libxml2-devel pango-devel pango libpng-devel freetype freetype-devel libart_lgpl-devel
    # cd /opt/
    # wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.4.8.tar.gz
    # tar -zxvf rrdtool-1.4.8.tar.gz
    # export PKG_CONFIG_PATH=/usr/lib/pkgconfig/
    ** There is no pkgconfig folder in the location listed but there is one at /usr/lib64/pkgconfig/, so I have tried both locations. I have also tried several variation listed in the comments above but still get the same result
    # ./configure
    ** When I enter this command I always get “./configure: No such file or directory”.
    ** There are configure files in the locations listed:
    /opt/rrdtool-1.4.8
    /usr/lib
    This is where it all falls apart for me, I have tried to adjust the commands but I just don’t seem to have the knowledge toget it working correctly. Any help on figuring this out would be great and remember k.i.s.s (keep it simple because I am Linux stupid).

Leave a Comment