[PLUG] CPAN weirdness
Paul Heinlein
heinlein at attbi.com
Mon Jun 24 16:00:51 UTC 2002
On Sun, 23 Jun 2002 cmoore at lunchbox.hellyeah.org wrote:
> Can anyone think of a reason why a module wont build automatically
> with CPAN but by hand it works just fine?
When you build via CPAN, you're building as root, right? Try doing
this at the cpan prompt:
cpan> ! foreach my $k ( keys %ENV ) { print qq($k -> $ENV{"$k"}\n) }
Then do the same in environment in which you successfully built the
module by hand. Are there any differences?
Next, look at <perl root>/<perl vers>/CPAN/Config.pm (on my Red Hat
system, it's /usr/lib/perl5/5.6.1/CPAN/Config.pm). Are the paths
supplied to the various executables like make, gzip, etc. correct?
--Paul Heinlein <heinlein at attbi.com>
More information about the PLUG
mailing list