< 'make_install_make_command' => q[/usr/bin/make], --- > 'make_install_make_command' => [ q[sudo], q[/usr/bin/make] ],
These were the results observed while trying to install a pure Perl distribution from CPAN:
(snip fetching messages)cpan> install File::Marker CPAN: Storable loaded ok Going to read /Users/jimk/.cpan/Metadata Database was generated on Sat, 28 Jan 2006 23:13:10 GMT CPAN: LWP::UserAgent loaded ok
(snip a lot of attempts to download the prerequisites, all of which failed)Running install for module File::Marker Running make for D/DA/DAGOLDEN/File-Marker-0.10.tar.gz Warning: You are not allowed to write into directory "/Users/jimk/.cpa +n/sources/authors/id/D/DA/DAGOLDEN". I'll continue, but if you encounter problems, they may be due to insufficient permissions. Fetching with LWP: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/File-Marker-0.10.tar.gz LWP failed with code[500] message[Cannot write to '/Users/jimk/.cpan/s +ources/authors/id/D/DA/DAGOLDEN/File-Marker-0.10.tar.gz-1548': Permis +sion denied] Fetching with LWP: ftp://ftp.cpan.org/pub/CPAN/authors/id/D/DA/DAGOLDEN/File-Marker-0.1 +0.tar.gz LWP failed with code[500] message[Cannot write to '/Users/jimk/.cpan/s +ources/authors/id/D/DA/DAGOLDEN/File-Marker-0.10.tar.gz-1548': Permis +sion denied] Fetching with Net::FTP: ftp://ftp.cpan.org/pub/CPAN/authors/id/D/DA/DAGOLDEN/File-Marker-0.1 +0.tar.gz Cannot open Local file /Users/jimk/.cpan/sources/authors/id/D/DA/DAGOL +DEN/File-Marker-0.10.tar.gz: Permission denied at /usr/local/lib/perl5/5.8.7/CPAN.pm line 2219
Please check, if the URLs I found in your configuration file (http://www.cpan.org/, ftp://ftp.cpan.org/pub/CPAN/, ftp://mirror.cc.columbia.edu/pub/software/cpan/, ftp://ftp.duke.edu/pub/perl/, ftp://cpan.cse.msu.edu/) are valid. The urllist can be edited. E.g. with 'o conf urllist push ftp://myurl/' Could not fetch authors/id/D/DA/DAGOLDEN/File-Marker-0.10.tar.gz Giving up on '/Users/jimk/.cpan/sources/authors/id/D/DA/DAGOLDEN/File- +Marker-0.10.tar.gz' Note: Current database in memory was generated on Sat, 28 Jan 2006 23: +13:10 GMT
And so it wasn't installed. When I restored MyConfig.pm to the version that came with 1.83, then temporarily hid the ~/.gnupg directory, then called sudo cpan, the module installed properly, with only the following warning message:
So I'm pretty much back where I started.WARNING: This key is not certified with a trusted signature! Primary key fingerprint: [a key which I think is the module author's] Signature for /Users/jimk/.cpan/sources/authors/id/D/DA/DAGOLDEN/CHECK +SUMS ok Fetching with LWP: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/CHECKSUMS WARNING: This key is not certified with a trusted signature! Primary key fingerprint: [a key which I think is the module author's]
jimk
In reply to Re^4: Can't use CPAN.pm once gpg installed
by jkeenan1
in thread Can't use CPAN.pm once gpg installed
by jkeenan1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |