LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 11-29-2008, 08:43 PM   #16
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408

install rrdtool from the source or install rrdtool AND it's devel ( dev) with your fav. package manager
yum search rrdtool
yum install rrdtool-devel rrdtool
----as for ntop ----
CentOS and fedora use yum so install that 3d party repo then run
-- this example is on fedora 9 --
Code:
su -
( your root password )
yum install ntop
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package ntop.i386 0:3.3.8-1.fc9 set to be updated
--> Processing Dependency: librrd_th.so.4 for package: ntop
--> Running transaction check
---> Package rrdtool.i386 0:1.3.4-2.fc9 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package         Arch         Version             Repository              Size 
================================================================================
Installing:
 ntop            i386         3.3.8-1.fc9         updates-newkey          1.8 M
Installing for dependencies:
 rrdtool         i386         1.3.4-2.fc9         updates-newkey          392 k

Transaction Summary
================================================================================
Install      2 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 2.1 M
Is this ok [y/N]:
 
Old 11-30-2008, 05:59 AM   #17
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Quote:
Originally Posted by JRink View Post
If I run "./configure", then i get this error, "configure: error: Unable to find RRD at /usr/local/rrdtool: please use --with-rrd-home=DIR"

but I have NO /usr/local/rrdtool file, but I did find a /usr/bin/rrdtool file.
For some reason the ntop configuration looks for rrdtool under /usr/local, but since you have the executable rrdtool in /usr/bin, most likely you have rrdtool already installed and it's located under /usr.

But this is not enough. To compile a package which depends on rrdtool, you need the rrdtool's development package, which contains all the necessary libraries and headers files.

So: 1) check if you actually have rrdtool and rrdtool-devel installed
Code:
rpm -qa | grep rrdtool
2) eventually install the rrdtool development package
Code:
yum install rrdtool-devel
3) Then try to configure ntop again, eventually by passing the option
Code:
--with-rrd-home=/usr
as suggested by the error message.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Software Portals Can Do More Than Install Software LXer Syndicated Linux News 0 12-18-2007 07:42 AM
etch net install hangs on install software knobby67 Debian 1 02-14-2007 12:58 PM
apt-get install dependency problems with hplip software and kde install for Agnula maybi7 Linux - Software 1 02-03-2007 06:16 PM


All times are GMT -5. The time now is 03:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration