Hi all,

CPAN is being a pain in the ass, and I don't know what the problem is. Here's an error message when I run "install Bundle::XML".

Can't exec "/usr/bin": Permission denied at /System/Library/Perl/ 5.8.6/darwin-thread-multi-2level/IO/File.pm line 176, <FIN> line 1. Could not pipe[/usr/bin --decompress --stdout /var/root/.cpan/sources/ authors/01mailrc.txt.gz |]: Permission denied at /System/Library/Perl/ 5.8.6/CPAN.pm line 5727, <FIN> line 1.

When I try to run "install XML::XPath" I get about 20 repetitions of

Subroutine AUTOLOAD redefined at /sw/lib/perl5/5.8.6/darwin-thread- multi-2level/Compress/Zlib.pm line 84, <FIN> line 2

Regarding the first error, I don't see how I can have a permissions error when I'm running CPAN as the root user. Root has--I checked-- read, write, execute permissions in that directory (/System/Library/ etc, etc). Regarding the second error, I have no idea what that's about. Could fink have somehow messed up my perl installation.

In case this helps, I'm running Perl 5.8.6 under OSX 10.4 on Macmini. I'm running all the install scripts as root.

Any help would really be appreciated. Thanks.

--John M

Reply via email to