CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: mod_perl: Re: [FishMonger] Getting error "Can't locate ...": Edit Log


Jan 5, 2010, 2:10 PM

Views: 18182
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

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)

Edit Log:
Post edited by GuerillaSquad (Novice) on Jan 5, 2010, 2:19 PM

Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives