Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jan 2004
    Posts
    33

    Default rrdtool installation pkg_config_path not working

    Hi,
    Today I successfully installed rrdtool & cacti on a debian nagios box I have setup. I decided to do the same on my centos cpanel box.
    RRDTool errors due to dependencies:

    #./configure

    * 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=

    ----------------------------------------------------------------------------
    So:

    #locate cairo-png.pc

    /usr/lib/pkgconfig/cairo-png.pc
    So I make sure pkg_config_path is looking in the right place (after checking that the pkgconfig location is correct):
    export PKG_CONFIG_PATH=/usr/lib/pkgconfig
    ./configure again and I get the same errors

    Any ideas? Help would be very much appreciated
    I know nothing but I'm handy with the search button! (Try it, you might like it)

  2. #2
    Member sh4ka's Avatar
    Join Date
    May 2005
    Posts
    433

    Default

    Today I had the same issue and the only way to get it working was installing a RRDTOOL .rpm

    Regards,

  3. #3
    Member
    Join Date
    Jan 2004
    Posts
    33

    Default

    Quote Originally Posted by sh4ka View Post
    Today I had the same issue and the only way to get it working was installing a RRDTOOL .rpm

    Regards,
    That's disappointing, I did try an rpm but ran into much the same issue, nothing I seem to do works but then I'm pretty inexperienced. I've asked chirpy for a quote do do it, I'll then learn what I could have done to install it myself.

    Weird how debian was such a simple task in comparison. hey ho
    I know nothing but I'm handy with the search button! (Try it, you might like it)

Similar Threads & Tags
Similar threads

  1. rrdtool installation error
    By nici in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 02-16-2011, 05:47 PM
  2. not working after complete installation
    By seachen in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-18-2009, 02:27 PM
  3. RRDtool bandwidth graphs not working
    By mooi in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-05-2005, 07:41 AM
  4. Replies: 5
    Last Post: 12-28-2004, 09:33 AM
  5. Replies: 0
    Last Post: 08-27-2004, 09:31 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube