in reply to Re^3: Installing Modules Without Root
in thread Installing Modules Without Root
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 ==
|
|---|
| 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 |