Hi Mike, 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 --enable-perl-site-install to your configure run, then no PREFIX will be set. cheers tobi > -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch t...@oetiker.ch ++41 62 775 9902 / sb: -9900 _______________________________________________ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users