Run the following commands as superuser:
sudo su
apt-get install libpango1.0-dev libxml2-dev
wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.4.7.tar.gz
tar -zxvf rrdtool-1.4.7.tar.gz
tar -zxvf rrdtool-1.4.7.tar.gz
cd rrdtool-1.4.7
mkdir
/tmp/rrdbuild
export
BUILD_DIR=/tmp/rrdbuild
mkdir
/opt/rrdtool-1.4.7
export
INSTALL_DIR=/opt/rrdtool-1.4.7