|
From: Ronny on 7 May 2008 05:31 I would like to install CPAN modules with the cpan command. Since I don't have write permission to the Perl installation directories, I need to do a local installation. After playing around with the cpan command a bit and looking at the source code of CPAN::Config, I created a $HOME/.cpan/CPAN/MyConfig.pm with the following content: $CPAN::Config->{cpan_home}="$ENV{HOME}/.cpan"; $CPAN::Config->{keep_source_where}=$CPAN::Config->{cpan_home}.'/ sources'; $CPAN::Config->{histfile}=$CPAN::Config->{cpan_home}.'/history'; $CPAN::Config->{build_dir}=$CPAN::Config->{cpan_home}.'/build'; This works fine for download and test, but install still tries to write the modules into the Perl installation directory. In addition, I get during install the error message sh: /Perl/cpan-autoconfig: not found What is broken here? Ronald
|
Pages: 1 Prev: Trying to catch invalid emails Next: Some sort of scoping problem |