errors during install RRDTool - pls help

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
chrisduk
Posts: 3
Joined: Mon Aug 10, 2009 7:36 pm

errors during install RRDTool - pls help

Post by chrisduk »

Hi

I downloaded the guide from http://www.cacti.net/downloads/docs/con ... How-To.pdf

I am up to:

cd /cacti-install
tar -zxvf rrdtool*
cd rrdtool*
./configure --prefix=/usr/local/rrdtool
make
make install

during this process i get the below error. can anyone help????


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=-lcairo -lcairo -lcairo -lm -lcairo -lpng12
LDFLAGS=
CPPFLAGS= -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/freetype2

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

checking for xmlParseFile in -lxml2... yes
checking libxml/parser.h usability... yes
checking libxml/parser.h presence... yes
checking for libxml/parser.h... yes
configure: error: Please fix the library issues listed above and try again.

if there is anything I need to do please let me know. Note, I am not the strongest linux person, so any commands would be helpful

the server is Centos 5.3 32bit running PHP 5.2.10 and Apache 2.0
cert-eh-fiable
Cacti User
Posts: 51
Joined: Thu Aug 06, 2009 9:18 pm

Post by cert-eh-fiable »

consider using YUM it's centos' best friend.

yum localinstall filename.rpm

or

yum install cacti (assuming you have rpmforge repo enabled)
chrisduk
Posts: 3
Joined: Mon Aug 10, 2009 7:36 pm

Post by chrisduk »

hi

i tried that already

root@vm2 [~]# yum install pango
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* updates: mirror.sov.uk.goscomb.net
* base: mirror.sov.uk.goscomb.net
* addons: mirror.sov.uk.goscomb.net
* extras: mirror.sov.uk.goscomb.net
55noarch | 951 B 00:00
updates | 951 B 00:00
base | 1.1 kB 00:00
addons | 951 B 00:00
55i386 | 951 B 00:00
extras | 1.1 kB 00:00
Excluding Packages in global exclude list
Finished
Setting up Install Process
Parsing package install arguments
Package pango-1.14.9-5.el5.centos.i386 already installed and latest version
Nothing to do
root@vm2 [~]#
chrisduk
Posts: 3
Joined: Mon Aug 10, 2009 7:36 pm

Post by chrisduk »

Hi

i use locate and found

/usr/local/cpanel/3rdparty/lib/pkgconfig/pangocairo.pc


where can I specify it so I can get to the next stage?
cert-eh-fiable
Cacti User
Posts: 51
Joined: Thu Aug 06, 2009 9:18 pm

Post by cert-eh-fiable »

Can your provider install the packages you need for you? Without the dependencies resolved correctly you stand a fair chance of causing problems with cPanel. There are earlier versions of rrdtool that will interact with your current environment without the need to update pango which might require you to update cPanel.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests