develooper Front page | perl.perl5.porters | Postings from September 2002

Re: [perl #17428] PATCH: installperl

Thread Previous | Thread Next
From:
Merijn Broeren
Date:
September 24, 2002 05:59
Subject:
Re: [perl #17428] PATCH: installperl
Message ID:
20020924130002.GA9425@brugman.iloquent.nl
Quoting Andy Dougherty (doughera@lafayette.edu):
> 
> Yes, and it's already done :-).  There's an existing $Config{afs} key
> that's either 'true' or 'false' that's designed for such tests.
> 
This is the flag to say that AFS is present on systems where this
Perl is likely to run. 

> There's also an existing $Config{afsroot} that is normally '/afs' but
> could be anything. I doubt, however, that $Config{afsroot} is used
> consistently throughout Configure, let alone installperl, installman, and
> MakeMaker.  Someone familiar with afs is welcome to comment (or better
> yet, provide patches!)
> 
I supplied the patch that added the $Config{afsroot}. It is to be
used to determine if a location is on AFS or not. I have only changed
the tests that always failed when run on AFS, not the install, since I
always override the install targets.  Basically all tests on filenames
that look if m{^/afs/} is true should be changed to check for
$Config{afsroot} instead. Looking for something with @sys in is not the
correct solution, since this is not always present. (you can use it
expanded to the arch or not at all)

Since I supplied the original incomplete patch, I shall have a look for
all these kind of tests in the current configure and install scripts and
then provide a next patch. Which needs to be carefully checked :-)

Cheers,
--
Merijn Broeren | Everything in excess! To enjoy the flavour of life,
Software Geek  | take big bites. Moderation is for monks.
               | 

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About