Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 21st January 2011, 06:35 PM
Jimls Offline
Registered User
 
Join Date: Mar 2009
Posts: 26
windows_xp_2003ie
Perl CPAN trouble installing modules

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[1]> 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)
DONE
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
perl Makefile.PL
make
make test
make install

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.
Reply With Quote
  #2  
Old 21st January 2011, 11:31 PM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
linuxfedorafirefox
Re: Perl CPAN trouble installing modules

You should always use yum to install the packages as that will take care of any dependencies and Fedora is a rpm based system.
That is, as long as your version of Fedora is still supported, which F12 is no longer, so I don't know if any repositories are still active or not?
Hopefully there are some. You can find out by using yum.

To find the equivalent software, actually the same although it may be labelled slightly different.

yum install yumex

then use that [yumex] to search for partial descriptions etc.

From a quick scan of misterhouse, applications such as flite, festival and the perl modules are all available from the Fedora respositories using either yum or yumex to install them.

open a terminal and log in as root and copy and paste the following to see what happens. If all goes well try your MisterHouse installation again.

PHP Code:
yum install perl tk-devel db4-devel png-devel zlib-devel perl-Tk perl-GD perl-CPAN flite festival 
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
Reply

Tags
cpan, installing, modules, perl, trouble

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
perl and cpan ajoian Servers & Networking 0 12th November 2008 06:50 PM
installing modules using cpan leemansvg Using Fedora 2 21st April 2005 05:50 AM


Current GMT-time: 06:16 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat