[rrd-users] RRD Makefile fix for GNU-centric install assumption

Clifton Royston cliftonr at lava.net
Fri Aug 4 21:35:19 MEST 2000


  The current RRD makefile uses portable installation code most places,
but in one place (installing Perl modules) it uses the "install -d"
construct which is specific to GNU install, and doesn't work on OSes
using the BSD-derived install.  (In this case, BSD/OS.)

  May I recommend modifying the sole "install -d" to use something more
like:

install-data-local:
        test -d $(PERLLIBS)/auto/RRDs \
        || mkdir $(PERLLIBS)/auto/RRDs \
        || exit 1; \
        chmod 755 $(PERLLIBS)/auto/RRDs

  Note that I also changed the target directory variable to PERLLIBS -
I wanted it to install the Perl modules into
/usr/libdata/perl5/site_perl (where it belongs on our system) and
couldn't see a clear way to do this with the existing Makefile.in and
configure options.  If I figure that out, I'll post or email a proper
Makefile patch, but for now I'm being lazy.

  -- Clifton

-- 
 Clifton Royston  --  LavaNet Systems Architect --  cliftonr at lava.net
      The named which can be named is not the Eternal named.


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



More information about the rrd-users mailing list