neversaint has asked for the wisdom of the Perl Monks concerning the following question:
Can anybody suggest how to go about this? And my MyConfig.pm looks like this:[myname@somehost ~]$ cpan CPAN: File::HomeDir loaded ok cpan shell -- CPAN exploration and modules installation (v1.87) ReadLine support enabled cpan> install Some::Module CPAN: Storable loaded ok mkdir /tmp/.cpan/sources: Permission denied at /usr/lib/perl5/5.8.8/CP +AN.pm line 2541 Couldn't open >/tmp/.cpan/histfile: Permission denied Couldn't open >/tmp/.cpan/histfile: Permission deniedCouldn't open >/t +mp/.cpan/histfile: Permission denied
# This is CPAN.pm's systemwide configuration file. This file provides # defaults for users, and the values can be changed in a per-user # configuration file. The user-config file is being looked for as # ~/.cpan/CPAN/MyConfig.pm. $CPAN::Config = { 'build_cache' => q[10], 'build_dir' => q[/tmp/.cpan/build], 'bzip2' => q[/usr/bin/bzip2], 'cache_metadata' => q[1], 'cpan_home' => q[/home/myname/.cpan], 'curl' => q[/usr/bin/curl], 'dontload_hash' => { }, 'ftp' => q[/usr/kerberos/bin/ftp], 'ftp_passive' => q[1], 'ftp_proxy' => q[], 'getcwd' => q[cwd], 'gpg' => q[/usr/bin/gpg], 'gzip' => q[/bin/gzip], 'histfile' => q[/tmp/.cpan/histfile], 'histsize' => q[100], 'http_proxy' => q[], 'inactivity_timeout' => q[0], 'index_expire' => q[1], 'inhibit_startup_message' => q[0], 'keep_source_where' => q[/tmp/.cpan/sources], 'lynx' => q[/usr/bin/lynx], 'make' => q[/usr/bin/make], 'make_arg' => q[], 'make_install_arg' => q[], 'make_install_make_command' => q[/usr/bin/make], 'makepl_arg' => q[ PREFIX=/home/myname], 'mbuild_arg' => q[], 'mbuild_install_arg' => q[], 'mbuild_install_build_command' => q[./Build], 'mbuildpl_arg' => q[], 'ncftpget' => q[/usr/bin/ncftpget], 'no_proxy' => q[], 'pager' => q[/usr/bin/less], 'prefer_installer' => q[EUMM], 'prerequisites_policy' => q[follow], 'scan_cache' => q[atstart], 'shell' => q[/bin/bash], 'show_upload_date' => q[1], 'tar' => q[/bin/tar], 'term_is_latin' => q[1], 'unzip' => q[/usr/bin/unzip], 'urllist' => [q[ftp://ftp.oss.eznetsols.org/cpan], q[ftp://mirror.av +erse.net/pub/CPAN]], 'wget' => q[/usr/bin/wget], }; 1;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Installing CPAN module with histfile permission error
by liverpole (Monsignor) on Aug 18, 2006 at 10:37 UTC | |
|
Re: Installing CPAN module with histfile permission error
by davorg (Chancellor) on Aug 18, 2006 at 10:23 UTC | |
|
Re: Installing CPAN module with histfile permission error
by gellyfish (Monsignor) on Aug 18, 2006 at 10:23 UTC | |
by izut (Chaplain) on Aug 18, 2006 at 10:56 UTC |