Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^4: Installing Modules Without Root - Need help ASAP !

by listanand (Sexton)
on May 19, 2010 at 18:28 UTC ( [id://840758]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Installing Modules Without Root
in thread Installing Modules Without Root

OK, so now it's official. After days and days of fiddling with this, I am totally flustered and losing patience :( Installing modules should in no way be this hard.

I finally removed (renamed) my .cpan directory, renamed ~perl and ran "perl -MCPAN -e shell" with default parameters (did not change any directories). Then from the local::lib download directory, I ran " perl Makefile.PL --bootstrap=/my_directory_of_choice" and it was OK. Then I ran "make test && make install" and it was OK too. Then I did "echo 'eval $(perl -I/my_directory_of_choice/lib/perl5 -Mlocal::lib=my_directory_of_choice)' >>~/.bashrc

After this, I go to CPAN shell, and try to install a module by saying " install Acme::Time::Baby " and I get the error below.

I will really appreciate help on this. I have been at it for days now, and have been able to get NOTHING done because of this :(

Thanks in advance.

Andy

PS: However when I do "source ~/.bashrc" it says that "Can't open perl script "Mlocal::lib=/my_directory_of choice": No such file or directory"

==Error Begin==

Running make install

mkdir /usr/local/lib/perl: Permission denied at /usr/share/perl/5.8/ExtUtils/Install.pm line 112

make: *** pure_site_install Error 13

/usr/bin/make install -- NOT OK

== Error End ==

  • Comment on Re^4: Installing Modules Without Root - Need help ASAP !

Replies are listed 'Best First'.
Re^5: Installing Modules Without Root - Need help ASAP !
by Your Mother (Archbishop) on May 19, 2010 at 18:58 UTC

    Don't move, restart a half-done try, change, or edit anything. Follow the steps in Re^4: Installing Modules Without Root exactly. Blank slate.

    I just ran through the steps on a fresh machine with 5.8.8 and it worked perfectly. Unless I'm forgetting something they also worked perfectly on two other machines with different *nixes this weekend; both of which were causing problems on the "simple" install procedure in the Pod. You're almost there! And it's (typically) smooth sailing after you get it going.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://840758]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2024-04-25 21:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found