I am trying to install rrdtool without root access on RHEL. Ive done this before on a diff machine where all i had to do was give a prefix in the configure file like : ./configure --prefix=/installdir
However on this machine it seems a lot of dependencies needed for rrdtool are not installed such as libxml2 for instance. So i got the dependencies and installed them to a custom path using the prefix thing while configuring them.
The problem now is that i do not know how to tell rrdtool where these dependencies are located! From searching online all i can find is yum install tutorials for dependencies.
From what i understand i can use the LDFLAGS and CPPFLAGS variables to point to the dependencies?
So i am doing something like this
export LDFLAGS="-L/nethome/mch/gInstall/libxml2/lib" export CPPFLAGS="-I/nethome/mchgInstall/libxml2/include/libxml2/libxml"
However when i run rrdtools configure script it still cannot find the dependencies!
Could anyone tell me whats the best way to go about it?