upgraded Macports broke working Perl environment

--Apple-Mail-4-311486041
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=us-ascii

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 [at] INC ( [at] 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-2leve l
/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.
--Apple-Mail-4-311486041--
Rogelio [ Mo, 21 März 2011 22:00 ] [ ID #2056941 ]

Re: upgraded Macports broke working Perl environment

--00235446fe4c2495a2049f047f91
Content-Type: text/plain; charset=ISO-8859-1

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 <scubacuda [at] 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 [at] INC ( [at] 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-2leve l
> /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

--00235446fe4c2495a2049f047f91--
Katie T [ Mo, 21 März 2011 22:06 ] [ ID #2056942 ]

Re: upgraded Macports broke working Perl environment

On Mon, Mar 21, 2011 at 6:06 PM, Katie T <katie [at] coderstack.co.uk> wrote:
> What are the permissions on the directories being complained about? =A0- =
maybe
> one of the directories in question ended up being owned by root so you as=
a
> user can no-longer change it.

Just sudo'd the same commands and it worked. :b

Thanks!

--
To unsubscribe, e-mail: beginners-unsubscribe [at] perl.org
For additional commands, e-mail: beginners-help [at] perl.org
http://learn.perl.org/
Rogelio [ Mo, 21 März 2011 22:10 ] [ ID #2056943 ]
Perl » gmane.comp.lang.perl.beginners » upgraded Macports broke working Perl environment

Vorheriges Thema: Newbie needs help
Nächstes Thema: File/Slurp module