FAQ

On Mon May 30 17:19:13 2016, tonyc wrote:
On Mon May 30 14:30:17 2016, sprout wrote:
I have tried installing perl 5.24.0 on an old PPC machine, with the
configuration below, but it installed the perl binary and the scripts
in /bin, even though I specified a prefix of /usr.

I don’t know exactly which option is responsible for the bug, but I
do
find it really strange.
I think it's caused by the hints on darwin, from hints/darwin.sh:

case "$prefix" in
...
'/usr') # We are building/replacing the built-in perl
prefix='/';
installprefix='/'; # used to set installbin
bin='/usr/bin';
siteprefix='/usr/local';
...

That said, replacing your system perl is probably dangerous
People always say that, though I’ve done it numerous times with impunity.

In any case, I’m *not* trying to replace the system perl here (-Dversiononly), and I’ve used this incantation before.

A bisect points to v5.23.4-46-g41d7307:

$ ../perl.git/porting/bisect.pl -Dprefix=/usr --target config.sh --end v5.24.0 --match installbin=\'/usr config.sh
...
41d73075f0801c26794dadb1ff690f305d7e53a7 is the first bad commit
commit 41d73075f0801c26794dadb1ff690f305d7e53a7
Author: Ivan Pozdeev <vano@mail.mipt.ru>
Date: Wed Aug 12 20:33:12 2015 +0300

     Make -O behaviour the default

I can’t see how that commit causes that.

--

Father Chrysostomos


---
via perlbug: queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=128295

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 6 of 7 | next ›
Discussion Overview
groupperl5-porters @
categoriesperl
postedMay 30, '16 at 9:30p
activeMay 31, '16 at 8:05p
posts7
users2
websiteperl.org

People

Translate

site design / logo © 2017 Grokbase