LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-19-2010, 01:46 AM   #1
Dialkia
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Rep: Reputation: 0
Can't build RRDTool on RHEL4 - 'make' command give error message


Hi, I'm new to LinuxQuestions and this is my first post. I'm trying to build rrdtool to install Cacti and encountered the following problem:

'make' step returns an error messages:
Code:
./.libs/librrd.so: undefined reference to `xmlTextReaderGetParserLineNumber'
collect2: ld returned 1 exit status
What I have done
  1. Download and build the latest version of pkg-config, glib, pixman, cairo, pango, atk, gtk+ from official sites.
  2. Download rrdtool source
  3. Set PKG_CONFIG_PATH correctly
  4. untar the rrdtool tarball, cd inside the folder
  5. Code:
    ./configure --disable-tcl
    doesn't seem to produce an error message
  6. Code:
    make
    and the error message occur

There is actually another problem with the computer which is "The Nautilus application has quit unexpectedly" everytime I open File Browser application or right-click>Properties a file/directory. This happen only after installing cairo and pango and I don't know how to revert to old version.

Since there are a lot of log files so I'm very confused. Can someone give me a direction on how to resolve this?

Last edited by Dialkia; 03-19-2010 at 01:48 AM.
 
Old 03-19-2010, 04:36 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

The Gnome / Nautilus "system packages" are :
atk-1.8.0
glib2-2-4-7
gtk2-2.4.13
pango-1.6
They are always installed by default,
.. are dependencies for Gnome / Nautilus.
And if you change any of those, do not expect everything
to work. You are just lucky, that some Gnome still works.
( Changing the libs : 500 application depends on those four,
and should also be recompiled, all 500 ! )

The standard way : install the development packages with
up2date using the package manager or the command line :
atk-devel glib2-devel gtk2-devel pango-devel


rrdtool + cacti for EL4 is in the epel.repo ( rrdtool-1.2.27-3.el4 )
https://fedoraproject.org/wiki/EPEL
Code:
su -c 'rpm -Uvh http://download.fedora.redhat.com/pub/epel/4/i386/epel-release-4-9.noarch.rpm'
You can install 'yum' from the epel.repo too ..
http://download.fedora.redhat.com/pub/epel/4/i386/
> http://download.fedora.redhat.com/pu...el4.noarch.rpm
> > yum-2.4.3-0.5.el4.noarch.rpm
.. And thus use this easy tool for package install :
# yum install rrdtool cacti
Provides cacti-0.8.7e-3.el4.noarch.rpm →
http://download.fedora.redhat.com/pu...el4.noarch.rpm
.....

Last edited by knudfl; 03-19-2010 at 12:26 PM.
 
1 members found this post helpful.
Old 03-19-2010, 05:04 AM   #3
Dialkia
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you for your reply. I'll try it and see if it work.
 
Old 03-22-2010, 04:33 AM   #4
Dialkia
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Luckily I didn't inistalled new version of the 4 packages libs in /usr, but in another directory, so now I just remove the link from ldconfig path and Gnome/Nautilus are back working nicely.

And thanks for the information. Silly me, I wasn't aware of epel repo. Now I have installed rrdtool, cacti and spine. They are still having a little bit of trouble but I think I'll try googling to make an attempt to solve them first before asking in a new thread.

Once again, thanks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to send a message in RHEL4 ES thru command prompt.. visitnag Linux - Newbie 1 03-18-2010 08:07 PM
How to make PAM give a message when denying ssh access brobeck Linux - Security 7 10-25-2009 08:09 PM
RHEL4 - easiest way to get MRTG 2.16.2 and rrdtool on-line? ph316 Red Hat 2 12-29-2008 09:14 PM
error during make command while trying to re build kernel venkatesh111 Linux - Networking 1 04-16-2006 01:37 PM
Need some help with RHEL4 and rrdtool on ppc knobdy Linux - Software 3 11-02-2005 12:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration