Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the PPI CPAN distribution.

Report information
The Basics
Id: 15248
Status: resolved
Priority: 0/
Queue: PPI

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

Bug Information
Severity: Critical
Broken in: 1.103
Fixed in: (no value)



Subject: Broken install: installdir fixed to /usr/local/share
When installation is run with the CPAN shell, PPI tries to install itself to /usr/local/share/perl/5.8.7. However this is not my CPAN install directory. See also the same problem with distribution Test-Subcalls-0.02. I have never encountered a such problem with packages from other authors. ---------------------------------------------------------------------------- Running make for A/AD/ADAMK/PPI-1.103.tar.gz Is already unwrapped into directory /home/dolmen/.cpan/build/PPI-1.103 CPAN.pm: Going to build A/AD/ADAMK/PPI-1.103.tar.gz /usr/bin/perl -Iinc Makefile.PL --config= --installdeps=Clone,0.17,List::MoreUtils,0.04,Params::Util,0.05,IO::Scalar,2.105,Storable,2.14 *** Installing dependencies... *** You are not allowed to write to the directory '/usr/local/share/perl/5.8.7'; the installation may fail due to insufficient permissions. ==> Should we try to re-execute the autoinstall process with 'sudo'? [y] ----------------------------------------------------------------------------
Date: Mon, 24 Oct 2005 05:12:20 +1000
From: Adam Kennedy <adam [...] phase-n.com>
To: bug-PPI [...] rt.cpan.org
Subject: Re: [cpan #15248] Broken install: installdir fixed to /usr/local/share
RT-Send-Cc:
Again, this is NOT a problem with these modules. This is most likely a problem with an interaction between your installer and Module::Install, and you will have this problem with any package by any author that uses Module::Install. Adam K Guest via RT wrote: Show quoted text
> This message about PPI was sent to you by guest <> via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=15248 > > > When installation is run with the CPAN shell, PPI tries to install itself to /usr/local/share/perl/5.8.7. However this is not my CPAN install directory. > > See also the same problem with distribution Test-Subcalls-0.02. > I have never encountered a such problem with packages from other authors. > > ---------------------------------------------------------------------------- > Running make for A/AD/ADAMK/PPI-1.103.tar.gz > Is already unwrapped into directory /home/dolmen/.cpan/build/PPI-1.103 > > CPAN.pm: Going to build A/AD/ADAMK/PPI-1.103.tar.gz > > /usr/bin/perl -Iinc Makefile.PL --config= --installdeps=Clone,0.17,List::MoreUtils,0.04,Params::Util,0.05,IO::Scalar,2.105,Storable,2.14 > *** Installing dependencies... > *** You are not allowed to write to the directory '/usr/local/share/perl/5.8.7'; > the installation may fail due to insufficient permissions. > > ==> Should we try to re-execute the autoinstall process with 'sudo'? [y] > ----------------------------------------------------------------------------
From: dolmen [...] cpan.org
[adam@phase-n.com - Sun Oct 23 15:13:29 2005]: Show quoted text
> Again, this is NOT a problem with these modules. > > This is most likely a problem with an interaction between your > installer > and Module::Install, and you will have this problem with any package > by > any author that uses Module::Install. > > Adam K
You are right. The issue seems to be in Module::Install. I'll try to resolve this issue with its author. Olivier Mengué.