$have_gtar ||= -x $ENV{PERL_LL_TAR};
}
-die <<'DEATH' unless $has_gtar;
+die <<'DEATH' unless $have_gtar;
You are using Solaris (or another traditional Unix) that does not provide a sane
tar, capable of dealing with the output of GNU tar. Please either set the
PERL_LL_TAR environment variable to the location of a version of tar that
}
return $orig->(@_);
};
- $CPAN::Config->{urllist} = ["http://cpan.shadowcatprojects.net"];
+ # not yet -- apeiron, 2010-03-10
+ #$CPAN::Config->{urllist} = ["http://cpan.shadowcatprojects.net"];
# <mst> all bootstrapped fine on one DH account
# <mst> on another, it tries to install man stuff into /usr/local
# <mst> cannot for the life of me figure out why
# <mst> ExtUtils::ParseXS uses Module::Build
# <mst> but Module::Build depends on it
# <mst> so you need to set prefer_installer MM
- # <mst> so cpan uses EU::ParseXS' Makefile.PL
+ # <mst> so cpan uses EU::ParseXS Makefile.PL
# <mst> since we already got EUMM, *that* works
$CPAN::Config->{prefer_installer} = "EUMM";
CPAN::Config->load;
CPAN::HandleConfig->load;
for my $eumm_setting ( qw/makepl_arg make_install_arg/ ) {
if ($CPAN::Config->{$eumm_setting} =~ /(?:PREFIX|INSTALL_BASE)/) {
- die "Possibly invalid config detected in $eumm_setting: " . $CPAN::Config->{$eumm_setting};
+ die <<"DEATH";
+WHOA THERE! It looks like you've got $CPAN::Config->{$eumm_setting} set. This is
+known to cause problems with local::lib. Please either remove this setting or
+clear out your .cpan directory.
+DEATH
}
}
for my $mb_setting (qw/mbuild_arg mbuild_install_arg mbuildpl_arg/) {
if ($CPAN::Config->{$mb_setting} =~ /(?:--prefix|--install_base)/) {
- die "Possibly invalid config detected in $mb_setting: " . $CPAN::Config->{$mb_setting};
+ die <<"DEATH";
+WHOA THERE! It looks like you've got $CPAN::Config->{$mb_setting} set. This is
+known to cause problems with local::lib. Please either remove this setting or
+clear out your .cpan directory.
+DEATH
}
}
}