
GuerillaSquad
Novice
Jan 5, 2010, 2:10 PM
Views: 8804
|
|
Re: [FishMonger] Getting error "Can't locate ..."
|
|
|
I am really having trouble getting CPAN to work because of some permission error. Now what???? I got this issue this morning; "insufficient permissions" the .cpan directory tree is protected same as the user I am running as. So I decided to blow away .cpan and try again. Only to hit the exact same error. I am trying to install Net::SSH::Perl in CPAN. I am using PREFIX= for makepl_arg, so that the module will be installed locally for Makefile.pl Here is my error. Can someone please help me get threw this? /usr/bin/perl -Iinc Makefile.PL --config= --installdeps=Class::ErrorHandler,0,Crypt::DES_EDE3,0 *** Installing dependencies... *** You are not allowed to write to the directory '/home/user/.cpan/sources'; the installation may fail due to insufficient permissions. When I try with sudo that fails too. Sorry, user is not allowed to execute '/usr/bin/perl Makefile.PL --config= --installdeps=Class::ErrorHandler,0,Crypt::DES_EDE3,0' as root on host --------------------------- ~The path to perfection is never clear~
(This post was edited by GuerillaSquad on Jan 5, 2010, 2:19 PM)
|