On Wed, Nov 17, 2004 at 01:45:01PM -0000, PerlDiscuss - Perl Newsgroups and 
mailing lists wrote:
> The code;
> 
> sub eval_in_subdirs {
>     my($self) = @_;
>     use ExtUtils::MM_Cwd qw(cwd abs_path);
>     my $pwd = cwd() || die "Can't figure out your cwd!";
>     local @INC = map eval {abs_path($_) if -e} || $_, @INC;
>     push @INC, '.';     # '.' has to always be at the end of @INC
>     foreach my $dir (@{$self->{DIR}}){
>         my($abs) = $self->catdir($pwd,$dir);
>         $self->eval_in_x($abs);
>     }
>     chdir $pwd;
> }
> 
> My system, is Sun Solaris 8/SPARC.

It looks like someone did a local patch to your MakeMaker.
"use ExtUtils::MM_Cwd" is supposed to be "use Cwd".  I don't know what they
were trying to accomplish, perhaps working around a broken Cwd.pm.

Either way, your install of MakeMaker has been rendered non-functional
and should probably be replaced.  In fact, MM 6.03 indicates 5.8.0 which
could also use an upgrade.  sunfreeware.com has a 5.8.5 package.

If this is all out of your control you can install a copy of MakeMaker
into your home directory and set PERL5LIB appropriately.  See perlmodinstall
for instructions.


-- 
Michael G Schwern        [EMAIL PROTECTED]  http://www.pobox.com/~schwern/
Beef Coronary

Reply via email to