[Chicago-talk] "I don't have permission to
installamoduleonthesystem!"
petemar1
petemar1 at perlmonk.org
Wed Dec 31 03:59:18 CST 2003
Argh.
...
Files=34, Tests=381, 43 wallclock secs (31.23 cusr + 2.94 csys = 34.17 CPU)
/usr/bin/make test -- OK
Running make install
Manifying blib/man3/WWW::Mechanize::Examples.3
Manifying blib/man3/WWW::Mechanize::Link.3
Manifying blib/man1/mech-dump.1
Manifying blib/man3/WWW::Mechanize::FAQ.3
Manifying blib/man3/WWW::Mechanize.3
Warning: You do not have permissions to install into
/opt/perl/perl-5.8.0/lib/site_perl/5.8.0/i586-linux at
/opt/perl/perl-5.8.0/lib/5.8.0/ExtUtils/Install.pm line 84.
mkdir /opt/perl/perl-5.8.0/lib/site_perl/5.8.0/WWW: Permission denied at
/opt/perl/perl-5.8.0/lib/5.8.0/ExtUtils/Install.pm line 137
make: *** [pure_site_install] Error 255
/usr/bin/make install /home/petemar1/sandbox/lib -- NOT OK
You may have to su to root to install the package
cpan>
petemar1:~/.cpan/CPAN$ more MyConfig.pm
# Was: /opt/perl/perl-5.8.0/lib/5.8.0/CPAN/Config.pm
# 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[/home/petemar1/sandbox/cpan/build],
'cache_metadata' => q[1],
'cpan_home' => q[/home/petemar1/sandbox/cpan],
'dontload_hash' => { },
'ftp' => q[/usr/bin/ftp],
'ftp_proxy' => q[],
'getcwd' => q[cwd],
'gzip' => q[/bin/gzip],
'http_proxy' => q[http://web-proxy.cs.uchicago.edu:8000/],
'inactivity_timeout' => q[0],
'index_expire' => q[1],
'inhibit_startup_message' => q[0],
'keep_source_where' => q[/home/petemar1/sandbox/cpan/sources],
'lynx' => q[/usr/local/bin/lynx],
'make' => q[/usr/bin/make],
'make_arg' => q[/home/petemar1/sandbox/lib],
'make_install_arg' => q[/home/petemar1/sandbox/lib],
'makepl_arg' => q[/home/petemar1/sandbox],
'ncftpget' => q[/usr/local/bin/ncftpget],
'no_proxy' => q[],
'pager' => q[/usr/local/bin/less],
'prerequisites_policy' => q[ask],
'proxy_user' => q[],
'scan_cache' => q[atstart],
'shell' => q[/usr/local/bin/bash],
'tar' => q[/bin/tar],
'term_is_latin' => q[1],
'unzip' => q[/usr/local/bin/unzip],
'urllist' => [q[ftp://ftp-mirror.internap.com/pub/CPAN/],
q[ftp://cpan.valueclick.com/pub/CPAN
/], q[ftp://cpan.thepirtgroup.com/], q[ftp://cpan.pair.com/pub/CPAN/],
q[ftp://cpan.nas.nasa.gov
/pub/perl/CPAN/], q[ftp://cpan.erlbaum.net/], q[ftp://cpan.cse.msu.edu/],
q[ftp://archive.progen
y.com/CPAN/]],
'wait_list' => [q[wait://ls6-www.informatik.uni-dortmund.de:1404]],
'wget' => q[/usr/local/bin/wget],
};
1;
__END__
-----Original Message-----
From: chicago-talk-bounces at mail.pm.org
[mailto:chicago-talk-bounces at mail.pm.org]On Behalf Of Steven Lembark
Sent: Tuesday, December 30, 2003 4:25 PM
To: Chicago.pm chatter
Subject: RE: [Chicago-talk] "I don't have permission to
installamoduleonthesystem!"
-- petemar1 <petemar1 at perlmonk.org>
> Does anyone have a sample .cpan file?
~/.cpan isn't a file, it's a directory. If you are looking
for a workable CPAN/Config file:
# 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[128],
'build_dir' => q[/scratch/CPAN/build],
'cache_metadata' => q[1],
'cpan_home' => q[/scratch/CPAN],
'ftp' => q[/usr/bin/ftp],
'ftp_proxy' => q[],
'getcwd' => q[cwd],
'gpg' => q[/usr/bin/gpg],
'gzip' => q[/usr/bin/gzip],
'histfile' => q[/scratch/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[/scratch/CPAN/sources],
'lynx' => q[/usr/bin/lynx],
'make' => q[/usr/bin/make],
'make_arg' => q[],
'make_install_arg' => q[UNINST=1],
'makepl_arg' => q[],
'ncftp' => q[],
'ncftpget' => q[],
'no_proxy' => q[],
'pager' => q[/usr/bin/less],
'prerequisites_policy' => q[follow],
'scan_cache' => q[atstart],
'shell' => q[/bin/bash],
'tar' => q[/bin/tar],
'term_is_latin' => q[1],
'unzip' => q[/usr/bin/unzip],
'urllist' => [q[http://www.perl.com/CPAN/]],
'wget' => q[],
};
1;
__END__
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
+1 888 359 3508
_______________________________________________
Chicago-talk mailing list
Chicago-talk at mail.pm.org
http://mail.pm.org/mailman/listinfo/chicago-talk
More information about the Chicago-talk
mailing list