Talk:CPAN

From DreamHost

Jump to: navigation, search

I attempted this procedure and had little luck. After setting and exporting PERL5LIB I tried perl -MCPAN -e shell and get an error about no permissions for the lockfile (makes sense siince it is looking in /root)> So, I made my own copy of MyConfig.pm and put it in my own directory (as the error message explained), and changed the variables to point to my dirs. It is still apparently only looking at the /etc/perl/CPAN/Config.pm and not my own as it is still trying to create a lockfile in /root/.cpan Any ideas or am I just missing something obvious? --Russdell 21:26, 12 Sep 2006 (PDT)


i tried to install WWW:Mechanize, after I successfully installed CPAN, and got an error from extutils::install.pm telling me that it couldn't mkdir /usr/local/lib/perl. argh. i didn't say you had to, stupid piece of shit. so i changed the value of PREFIX in the makefile to point to my home directory and then it seemed to work. seemed to, because eventually turns out DreamHost already has WWW::Mechanize which i'm trying to install, so not sure if the installation in my home directory is helping any one. but there you have it. and this is the trouble with community-edited information, is that you have useful stuff, but snarky drunk people like me write it. Drunkenfilosofer

Personal tools