LInux Perl Problems installing Moose
Posted on 2013-02-01
I'm putting together a new webserver. It's running RedHat seLinux and Perl. I need one more Perl module EMail::Sender so I run
cpan > install Email::Sender
After a million pre-requisites I'm getting the following errors and am not sure how to resolve them.
The errors start with:
CPAN.pm: Going to build D/DO/DOY/Moose-2.0604.tar.gz
Warning: Prerequisite 'Class::Load::XS => 0.01' for 'DOY/Moose-2.0604.tar.gz' failed when processing 'DROLSKY/Class-Load-XS-0.06.tar.gz' with 'writemakefile => NO '/usr/bin/perl Build.PL --installdirs site' returned status 65280'. Continuing, but chances to succeed are limited.
All tests successful.
Files=382, Tests=18056, 87 wallclock secs ( 2.98 usr 0.77 sys + 81.08 cusr 4.68 csys = 89.51 CPU)
Tests succeeded but one dependency not OK (Class::Load::XS)
[dependencies] -- NA
Running make install
make test had returned bad status, won't install without force
Failed during this command:
DOY/Moose-2.0604.tar.gz : make_test NO one dependency not OK (Class::Load::XS)
Checking on Class::Load returns:
cpan> install Class::Load
Class::Load is up to date (0.20).
checking on Class::Load::XS returns:
cpan> install Class::Load::XS
Running install for module 'Class::Load::XS'
Running Build for D/DR/DROLSKY/Class-Load-XS-0.06.tar.gz
Has already been unwrapped into directory /root/.cpan/build/Class-Load-XS-0.06-Jr_3J8
'/usr/bin/perl Build.PL --installdirs site' returned status 65280, won't make
Running Build test
Make had some problems, won't test
Running Build install
Make had some problems, won't install
What do I do to clear this up?