I am trying to install several modules with CPAN on a F12 system (Actually Mythdora - F12 + MythTV). Goal is to run misterhouse - a home automation program in perl. CPAN installed some of the modules so I am a little puzzled why not the others. I was missing several dependencies such as gcc but think I got past that. Now some installs are failing make for "unknown" reason.
cpan> install DB_File
CPAN: Storable loaded ok (v2.21)
Going to read '/root/.cpan/Metadata'
Database was generated on Thu, 20 Jan 2011 13:38:56 GMT
CPAN: YAML loaded ok (v0.72)
Going to read 42 yaml files from /root/.cpan/build/
CPAN: Time::HiRes loaded ok (v1.9719)
Restored the state of none (in 3.8201 secs)
Running install for module 'DB_File'
Running make for P/PM/PMQS/DB_File-1.821.tar.gz
Has already been unwrapped into directory /root/.cpan/build/DB_File-1.821-ka5ohG
Could not make: Unknown error
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
I did a little digging and found a suggestion to go to the directory CPAN uses for the files and manually run through make, make install and log the output for review. I ran
Everything seemed to work and CPAN "install DB_File" now reports "DB_File up to date".
I tried the same thing on another module that was failing for unknown make error and it seemed to work too.
I could manually do them all but would like to fix this right. I did notice that when I ran perl Makefile.PL the make file was not exactly the same as previously as I saved a copy. I can do a bit more digging on that.
Am I missing some dependency checks by manually doing each step?
Another thing: If I wanted to install with yum how do I find the equivalent package? The names aren't always the same. Is this preferred? I have resorted to this for some things.