What are the permissions on the directories being complained about? - maybe one of the directories in question ended up being owned by root so you as a user can no-longer change it.
On Mon, Mar 21, 2011 at 9:00 PM, Rogelio <scubac...@gmail.com> wrote: > My Perl environment was working well on my Macbook, until I ran a > ports upgrade on Macports. > > Now I get the following error when I try to run the scripts: > > ************************** > > Can't locate Net/Telnet.pm in @INC (@INC contains: > /Library/Perl/Updates/5.10.0 > /System/Library/Perl/5.10.0/darwin-thread-multi-2level > /System/Library/Perl/5.10.0 > /Library/Perl/5.10.0/darwin-thread-multi-2level /Library/Perl/5.10.0 > /Network/Library/Perl/5.10.0/darwin-thread-multi-2level > /Network/Library/Perl/5.10.0 /Network/Library/Perl > /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level > /System/Library/Perl/Extras/5.10.0 .) at runcmds.pl line 39. > BEGIN failed--compilation aborted at runcmds.pl line 39. > > ************************** > > When I try to upgrade it (perl -MCPAN -e'shell' THEN install > Net::Telnet), I get the following error > > Scanning cache /Users/UserName/.cpan/build for sizes > ...I have neither the -x permission nor the permission to change the > permission; cannot estimate disk usage of > '/Users/UserName/.cpan/build/Module-Build-0.3607-I4zUIB' > CPAN: Time::HiRes loaded ok (v1.9711) > I have neither the -x permission nor the permission to change the > permission; cannot estimate disk usage of > '/Users/UserName/.cpan/build/ExtUtils-ParseXS-2.2206-B4lARK' > .I have neither the -x permission nor the permission to change the > permission; cannot estimate disk usage of > '/Users/UserName/.cpan/build/Archive-Tar-1.68-iBgXA9' > I have neither the -x permission nor the permission to change the > permission; cannot estimate disk usage of > '/Users/UserName/.cpan/build/Package-Constants-0.02-J8ScNh' > .I have neither the -x permission nor the permission to change the > permission; cannot estimate disk usage of > '/Users/UserName/.cpan/build/CPAN-1.9402-XsnneC' > .I have neither the -x permission nor the permission to change the > permission; cannot estimate disk usage of > '/Users/UserName/.cpan/build/File-HomeDir-0.93-MvF95u' > .I have neither the -x permission nor the permission to change the > permission; cannot estimate disk usage of > '/Users/UserName/.cpan/build/Mac-SystemDirectory-0.04-nG1jlE' > I have neither the -x permission nor the permission to change the > permission; cannot estimate disk usage of > '/Users/UserName/.cpan/build/File-Which-1.09-oiS6yg' > .I have neither the -x permission nor the permission to change the > permission; cannot estimate disk usage of > '/Users/UserName/.cpan/build/Test-Script-1.07-O5EI9k' > > Any suggestions? Macglue ("install Mac::Glue") is up to date. -- CoderStack http://www.coderstack.co.uk/asp-jobs The Software Developer Job Board