Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 4087
Status: resolved
Priority: 0/
Queue: CPANPLUS

People
Owner: Nobody in particular
Requestors: schwern [...] pobox.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.045
Fixed in: (no value)



Subject: sudo and ExtUtils::AutoInstall
The new "sudo make install" option in CPANPLUS is neat, very good to be able to run cpanp not at root. However, ExtUtils::AutoInstall likes to install modules during the "make" phase. When running cpanp as a non-root user this means you cannot install modules that use ExtUtils::AutoInstall to resolve their dependencies. This, ironicly, includes CPANPLUS. It can't update itself. Not sure how to solve this. "sudo make" is wrong. If there was a way for CPANPLUS to detect the use of ExtUtils::AutoInstall and resolve the dependencies itself like any normal module, that would solve the problem neatly.
Subject: Re: [cpan #4087] sudo and ExtUtils::AutoInstall
From: Autrijus Tang <autrijus [...] autrijus.org>
To: bug-CPANPLUS [...] rt.cpan.org
Date: Mon, 13 Oct 2003 10:56:37 +0800
RT-Send-Cc:
?b δΈ€, 2003-10-13 09:32, Guest via RT ?g?D?G Show quoted text
> The new "sudo make install" option in CPANPLUS is neat, very good to > be able to run cpanp not at root. However, ExtUtils::AutoInstall > likes to install modules during the "make" phase. When running cpanp > as a non-root user this means you cannot install modules that use > ExtUtils::AutoInstall to resolve their dependencies. This, ironicly, > includes CPANPLUS. It can't update itself.
This is strange. EU::AI definitely has "sudo" support. Can you post your install log? Thanks, /Autrijus/