Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the XSLoader CPAN distribution.

Report information
The Basics
Id: 54456
Status: resolved
Priority: 0/
Queue: XSLoader

People
Owner: Nobody in particular
Requestors: toddr [...] null.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.10
Fixed in: 0.15



Subject: Makefile.PL installs to wrong place for perl 5.11+
This patch should make XSLoader do the right thing... - PM => { 'XSLoader.pm' => '$(INST_ARCHLIB)/XSLoader.pm' }, + # Moved out of arch as of 5.11 + ($] < 5.011) ?( PM => { 'XSLoader.pm' => '$(INST_ARCHLIB)/XSLoader.pm' }) : (),
Subject: Re: [rt.cpan.org #54456] Makefile.PL installs to wrong place for perl 5.11+
Date: Sat, 16 Apr 2011 14:42:31 +0200
To: bug-XSLoader [...] rt.cpan.org
From: Sébastien Aperghis-Tramoni <saper [...] cpan.org>
toddr@null.net wrote via RT: Show quoted text
> This patch should make XSLoader do the right thing... > > - PM => { 'XSLoader.pm' => '$(INST_ARCHLIB)/ > XSLoader.pm' }, > + # Moved out of arch as of 5.11 > + ($] < 5.011) ?( PM => { 'XSLoader.pm' => > '$(INST_ARCHLIB)/XSLoader.pm' }) : (),
Are you sure about this? The Makefile.PL from bleadperl doesn't have something like this. -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.
Show quoted text
> Are you sure about this? The Makefile.PL from bleadperl doesn't have > something like this.
That's correct. As of 5.11, the idea was that dual cores should not overwrite what comes with core. INC order was changed to give site_lib a higher priority. As a result, anything from CPAN should install to site_lib I can refer you to other distros that do this if you'd like.
Subject: Re: [rt.cpan.org #54456] Makefile.PL installs to wrong place for perl 5.11+
Date: Sun, 17 Apr 2011 15:30:14 +0200
To: bug-XSLoader [...] rt.cpan.org
From: Sébastien Aperghis-Tramoni <saper [...] cpan.org>
Todd Rinaldo wrote via RT: Show quoted text
>> Are you sure about this? The Makefile.PL from bleadperl doesn't have >> something like this.
> > That's correct. As of 5.11, the idea was that dual cores should not > overwrite what comes with > core. INC order was changed to give site_lib a higher priority. As > a result, anything from CPAN > should install to site_lib I can refer you to other distros that do > this if you'd like.
Ok, this makes more sense. What confused me was that the comment in your patch said "Moved out of arch". Also, this isn't the good parameter to change. INST_ARCHLIB is the correct generic target. The parameter that needs to be changed is INSTALLDIRS, which is currently set to "perl" (meaning core) and which therefore should be changed to "site" when installed on 5.11+ » http://search.cpan.org/dist/ExtUtils-MakeMaker/lib/ExtUtils/ MakeMaker.pm#make_install -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.
Subject: Re: [rt.cpan.org #54456] Makefile.PL installs to wrong place for perl 5.11+
Date: Sun, 17 Apr 2011 17:27:46 +0200
To: bug-XSLoader [...] rt.cpan.org
From: Sébastien Aperghis-Tramoni <saper [...] cpan.org>
Now fixed with XSLoader 0.15, sponsored by the Perl QA Hackathon 2011 in Amsterdam -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.