Today I was reading through a how-to on
installing ntop on Red Hat Enterprise and CentOS Linux. Usually I can follow these how-to's and never run into any trouble, but when I followed this one I ran into a few issues during the installation process. Here is one of the errors I ran into:
configure: error: Unable to find RRD at /usr/local/rrdtool: please use --with-rrd-home=DIR
Before I get to ahead of myself you should know I was installing ntop on CentOS 5.2 with the base and development tools installed. If you already have your box built then you may want to make sure you have the development tools installed. You can do this by running the following:
[root@localhost ~]# yum groupinstall 'Development Tools'
I'm also running this on a dual homed host, eth0 is the management interface and what I use to ssh, log into ntop, etc while eth1 is in promiscuous mode on a port that is mirrored on my switch with the port that goes to my internet link. With this configuration ntop is seeing all the traffic coming, going, and broadcasted on my network.
Now I did have rrdtool installed but for some reason it just wouldn't take the path no matter what I tried. So I removed the rrdtool rpm package and decided to install it from source.