I've got logwatch sending me emails which is great, however, one of the modules is giving me the following:
Code: Select all
No Sys::CPU module installed. To install, execute the command:
perl -MCPAN -e 'install Sys::CPU'
No Sys::MemInfo module installed. To install, execute the command:
perl -MCPAN -e 'install Sys::MemInfo'
Machine: x86_64
Release: Linux 2.6.35.14-106.fc14.x86_64 Code: Select all
#perl -MCPAN -e 'install Sys::CPU'
Going to read '/root/.cpan/Metadata'
Database was generated on Sun, 15 Apr 2012 10:51:03 GMT
Running install for module 'Sys::CPU'
Running make for M/MK/MKODERER/Sys-CPU-0.52.tar.gz
Checksum for /root/.cpan/sources/authors/id/M/MK/MKODERER/Sys-CPU-0.52.tar.gz ok
CPAN.pm: Going to build M/MK/MKODERER/Sys-CPU-0.52.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Sys::CPU
Could not read '/root/.cpan/build/Sys-CPU-0.52-38xqp2/META.yml'. Falling back to other methods to determine prerequisites
cp CPU.pm blib/lib/Sys/CPU.pm
/usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/perl5/ExtUtils/typemap CPU.xs > CPU.xsc && mv CPU.xsc CPU.c
Please specify prototyping behavior for CPU.xs (see perlxs manual)
gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.52\" -DXS_VERSION=\"0.52\" -fPIC "-I/usr/lib64/perl5/CORE" CPU.c
/bin/sh: gcc: command not found
make: *** [CPU.o] Error 127
MKODERER/Sys-CPU-0.52.tar.gz
/usr/bin/make -- NOT OK
'YAML' not installed, will not store persistent state
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossibleedit:
I tried running #yum install -y perl-YAML perl-DBD-Pg
and now get the following:
Code: Select all
# perl -MCPAN -e 'install Sys::CPU'
Going to read '/root/.cpan/Metadata'
Database was generated on Sun, 15 Apr 2012 10:51:03 GMT
Running install for module 'Sys::CPU'
Running make for M/MK/MKODERER/Sys-CPU-0.52.tar.gz
Checksum for /root/.cpan/sources/authors/id/M/MK/MKODERER/Sys-CPU-0.52.tar.gz ok
CPAN.pm: Going to build M/MK/MKODERER/Sys-CPU-0.52.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Sys::CPU
cp CPU.pm blib/lib/Sys/CPU.pm
/usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/perl5/ExtUtils/typemap CPU.xs > CPU.xsc && mv CPU.xsc CPU.c
Please specify prototyping behavior for CPU.xs (see perlxs manual)
gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"0.52\" -DXS_VERSION=\"0.52\" -fPIC "-I/usr/lib64/perl5/CORE" CPU.c
/bin/sh: gcc: command not found
make: *** [CPU.o] Error 127
MKODERER/Sys-CPU-0.52.tar.gz
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible