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 ==
In reply to Re^4: Installing Modules Without Root - Need help ASAP !
by listanand
in thread Installing Modules Without Root
by listanand
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |