[rrd-developers] [PATCH] make install fix if perl support is not compiled in

Blair Zajac blair at orcaware.com
Fri Jul 23 19:44:34 MEST 2004

If you run this:
export ac_cv_path_PERL=no
./configure .....

then when you go to make install, you'll get this failure (here on Mac OS X) 
because the Perl files have not been compiled.

make[2]: Nothing to be done for `install-exec-am'.
./config/mkinstalldirs /sw/src/root-rrdtool-1.0.48-13/sw/lib/perl/auto/RRDs
mkdir -p -- /sw/src/root-rrdtool-1.0.48-13/sw/lib/perl/auto/RRDs
/usr/bin/install -c -m 644 ./perl-piped/RRDp.pm 
/usr/bin/install -c -m 644 ./perl-shared/RRDs.pm 
/usr/bin/install -c -m 644 ./perl-shared/blib/arch/auto/RRDs/RRDs.bs 
install: ./perl-shared/blib/arch/auto/RRDs/RRDs.bs: No such file or directory
make[2]: *** [install-data-local] Error 71
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1
### execution of /var/tmp/tmp.2.qmkcHR failed, exit code 2

The attached patch fixes this.

BTW, turning off Perl support in RRDtool is quite hard when you run configure, 
as you can't do this:

export PERL=no

It will still find and user Perl.  To turn Perl support off you have to dig 
around to figure out that setting ac_cv_path_PERL will do the trick.


Blair Zajac <blair at orcaware.com>
Plots of your system's performance - http://www.orcaware.com/orca/

-- Attached file removed by Ecartis and put at URL below --
-- Type: text/plain
-- Size: 2k (2820 bytes)
-- URL : http://www.ee.ethz.ch/~slist/p/rrdtool-makefile.am-patch.txt

Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the rrd-developers mailing list