Skip Menu |

This queue is for tickets about the ExtUtils-Helpers CPAN distribution.

Report information
The Basics
Id: 81859
Status: open
Priority: 0/
Queue: ExtUtils-Helpers

People
Owner: Nobody in particular
Requestors: dmcbride [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.014
Fixed in: (no value)



Subject: Fails tests with relocatable perl
I've compiled a relocatable perl 5.16.2, but it's not installed yet. When I go to try to install this module before actually copying the perl to the correct location, I get a #! line that points to where my perl will eventually install to, but not to where it is right now. Perhaps if dirname($^X) ne $Config{installbin} or something, then the tests should skip? (On AIX.)
On Mon Dec 10 01:14:13 2012, DMCBRIDE wrote: Show quoted text
> I've compiled a relocatable perl 5.16.2, but it's not installed yet. > When I go to > try to install this module before actually copying the perl to the > correct > location, I get a #! line that points to where my perl will eventually > install to, > but not to where it is right now. > > Perhaps if dirname($^X) ne $Config{installbin} or something, then the > tests > should skip?
Probably the tests should be skipped when run from an uninstalled perl. Leon
On Tue Mar 19 13:58:59 2013, LEONT wrote: Show quoted text
> On Mon Dec 10 01:14:13 2012, DMCBRIDE wrote:
> > I've compiled a relocatable perl 5.16.2, but it's not installed yet. > > When I go to > > try to install this module before actually copying the perl to the > > correct > > location, I get a #! line that points to where my perl will eventually > > install to, > > but not to where it is right now. > > > > Perhaps if dirname($^X) ne $Config{installbin} or something, then the > > tests > > should skip?
> > Probably the tests should be skipped when run from an uninstalled > perl. > > Leon
Actually, that's not quite right. If the perl is not located in its final path, the tests fail, and I think the code might fail as well. Basically, if I compile a relocatable perl, and then relocate it, then this fails.
Subject: Re: [rt.cpan.org #81859] Fails tests with relocatable perl
Date: Sat, 30 Nov 2013 15:04:21 +0100
To: bug-ExtUtils-Helpers [...] rt.cpan.org
From: Leon Timmermans <fawaka [...] gmail.com>
On Sat, Nov 30, 2013 at 4:39 AM, Darin McBride via RT < bug-ExtUtils-Helpers@rt.cpan.org> wrote: Show quoted text
> > Actually, that's not quite right. If the perl is not located in its final > path, the tests fail, and I think the code might fail as well. Basically, > if I compile a relocatable perl, and then relocate it, then this fails. >
Yeah, by now I had come to the same conclusion. There has been some discussion related to this on the MakeMaker issue tracker, but no solutions yet. This is not an easy problem, and I suspect the solution will be more complicated than we'd all like it to be. I fear this will mean the return of small shell scripts in front of perl scripts :-/. Leon