develooper Front page | perl.qa | Postings from October 2007

Re: Running CPAN as a regular user, installing as root

From:
Matisse Enzer
Date:
October 18, 2007 20:07
Subject:
Re: Running CPAN as a regular user, installing as root

On Oct 18, 2007, at 5:27 PM, Christopher Laco wrote:

> cpan -i CPAN
>
> yields:
>
>> Running make install
>> Warning: You do not have permissions to install into //System/ 
>> Library/Perl/5.8.6/darwin-thread-multi-2level at /System/Library/ 
>> Perl/5.8.6/ExtUtils/Install.pm line 114.
>> Cannot forceunlink /System/Library/Perl/5.8.6/CPAN.pm: Permission  
>> denied at /System/Library/Perl/5.8.6/File/Find.pm line 906

I'm also using OSX and when I use cpan now (with the sudo in the  
config) I get prompted for my password the first time one of the  
'sudo' commands is executed.

Perhaps you are now running the cpan utility as an admin user (and  
thus the sudo doesn't work)?

-------------------------------------------------------
Matisse Enzer <matisse@matisse.net>
http://www.matisse.net/  - http://www.eigenstate.net/






Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About