We have new Mac OS X hints cooking (library directories will have the
Perl version in them, yea) (as everyone else has), but as a part of
that discussion Andy Dougherty pointed out that it may be time to
disable the 'installusrbinperl' default simply because so many UNIX
vendors already ship Perl, and not only for users' benefit, also for
the benefit of the OS, and if we come and stomp our (probably newer)
version of Perl over the vendor one, things go bang. Or at least puff.
(No, I don't think there's much point in trying to do heuristics (i.e.
guessing) of "whether the /usr/bin/perl is a vendor perl or just some
random older installation of Perl".)
--
Jarkko Hietaniemi <j...@iki.fi> http://www.iki.fi/jhi/ "There is this special
biologist word we use for 'stable'. It is 'dead'." -- Jack Cohen
I vote for it. I wonder how come no one ever proposed this.
> We have new Mac OS X hints cooking (library directories will have the
> Perl version in them, yea) (as everyone else has), but as a part of
> that discussion Andy Dougherty pointed out that it may be time to
> disable the 'installusrbinperl' default simply because so many UNIX
> vendors already ship Perl, and not only for users' benefit, also for
> the benefit of the OS, and if we come and stomp our (probably newer)
> version of Perl over the vendor one, things go bang. Or at least puff.
I always -Uinstallusrbinperl explicitly but shorter the Configure line
the more welcome. Let's give /usr to the OS and take
(/usr/local|/opt/|/usr/pkg).
I've been using perl and Unixen long enough to realize that both come
with enough ropes to hang your own self (and so I did so many times and
I'm lucky to be still alive) so easily and implicit -Dinstallusrbinperl
is definitely one of those.
Dan the Man with too many perls to configure-make-installed
Although -Uinstallusrbinperl may be yet another piece of rope. Which
perl you get then depends on whether /usr/local/bin (or whatever)
comes before or after /usr/bin in your PATH. I doubt systems (and
users) are consistent in placing /usr/local/bin before /usr/bin.
But I must admit that I do not see a really waterproof solution...
-- Johan
--- Joe M.
> ....to default from "define" to "undef"?
sounds very reasonable to me...I don't even dare to remember how often
I forgot -Uinstallusrbinperl - only
to notice at the very last keystroke before 'make instal<gasp here>' :-(
kay
Please. It's never caused me anything but grief.
- Kurt
Too late to veto - which I would not have done anyway :) - but I
wholeheartedly agree. Patch is in (17925/17926) and checked.
FWIW I have the 'installusrbinperl="$undef"' in my Policy.sh :)
--
H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using perl-5.6.1, 5.8.0 & 633 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
WinNT 4, Win2K pro & WinCE 2.11. Smoking perl CORE: smo...@perl.org
http://archives.develooper.com/daily...@perl.org/ per...@perl.org
send smoke reports to: smokers...@perl.org, QA: http://qa.perl.org
This is why I typically create a separate account (usually called
'camel') which I use to install Perl with. If possible, I install it
in /opt/perl. /usr is for root, and all that can happen would I forget
a -Uinstallusrbinperl is an error message.
It also means that if I install modules from CPAN, I don't have to
run 'make install' as root.
Abigail