Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Im struggling to use cpan to install modulesby tweetiepooh (Hermit) |
on Aug 09, 2006 at 08:48 UTC ( [id://566361]=note: print w/replies, xml ) | Need Help?? |
Depending on your setup but these may work. 1)su -; then set up paths etc and do the whole process as root. You may need to fiddle with the build directories initially. 2)sudo make install; it's only this last stage that needs the special permissions. However some modules seem to also do some other tasks here that may fail. 3)Change the permissions on the perl lihrary directories. I've done this, putting my self in a perladmin group and making that group own /usr/local/lib/perl5 (or where ever on your system). 4)I think that CPANPLUS has the option to sudo for the make install phase, so install that and configure appropriately. Some of these are inherinantly less safe than others, use what is best for you and your environment.
In Section
Seekers of Perl Wisdom
|
|