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

Tobias Oetiker oetiker at ee.ethz.ch
Sat Aug 5 00:10:36 MEST 2000


Yesterday you sent me mail regarding [rrd-users] Re: RRD Makefile fix for...:

*> 
*> On Fri, Aug 04, 2000 at 02:54:49PM -0500, Dave Plonka wrote:
*> > On Fri, Aug 04, 2000 at 09:35:19AM -1000, Clifton Royston wrote:
*> > > 
*> > >   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
*> > 
*> > The GNU-way to do portable mkdirs, installs, and such is to use GNU
*> > shtool, which Ralf Engelschall, of WML fame, etc. has been working on:
*> > 
*> >    http://www.gnu.org/software/shtool/
*> 
*>   I suppose, but test, mkdir, and chmod ought to be universally
*> available, and I noticed that same construct is used several places
*> elsewhere in the makefile.  (Surely you don't think I'd write original
*> code if I could steal it!)
*> 
*>   Anyway, no big deal, just thought I might save future users of
*> hard-line BSD systems a few minutes of grief.

thanks for the imput ... will add it to the next release ...
(probably the last of the 1.0.x series ... then we will move to 1.1
development with the nifty patch from the webtv folks

cheers
tobi
*>   -- Clifton
*> 
*> 

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518 
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://ee-staff.ethz.ch/~oetiker


--
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