[rrd-users] rrdtool-1.4.7 build problem on OSX
tobi at oetiker.ch
Thu Mar 8 08:40:21 CET 2012
Yesterday Mike Schilli wrote:
> On Thu, 8 Mar 2012, Tobias Oetiker wrote:
> > running grep -r INSTALL_BASE . over the rrdtool source, I cann not see
> > any matches ...
> Oh, wow, I see, I had INSTALL_BASE defined in my environment, and
> rrdtool sets PREFIX. This causes the rrdtool perl module to balk at the
> prospect of having both env variables set.
> INSTALL_BASE is for used installing perl modules under a different
> directory (using a CPAN module called local::lib), which is usually a
> good idea if you don't want to mess with your main root, or want to
> avoid being the superuser while installing or mess with files that your
> package manager is managing.
> Ideally, rrdtool would check for the INSTALL_BASE variable, and omit
> setting PREFIX while building the perl wrappers ... but I can work
> around the problem now that I know what's going on ... thanks, Tobi!
you can disable the install 'magic' by adding
to your configure run, then no PREFIX will be set.
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900
More information about the rrd-users