Solved

Fedora RPM on CentOS machine: Trying to install perl-MongoDB driver from RPM

Posted on 2011-03-18
4
1,125 Views
Last Modified: 2016-02-10
I am trying to install the Perl driver for MongoDB on my CentOS 5 64 bit machine.

I found an RPM here:
http://rpmfind.net/linux/rpm2html/search.php?query=perl(mongodb)&submit=Search+...&system=&arch=

But the RPM was for Fedora, not CentOS.

I tried it anyway, like this:

   wget ftp://rpmfind.net/linux/fedora/development/rawhide/x86_64/os/Packages/perl-MongoDB-0.41-3.fc16.x86_64.rpm
    rpm -Uvh perl-MongoDB-0.41-3.fc16.x86_64.rpm


These errors were returned:
       error: Failed dependencies:
        perl(:MODULE_COMPAT_5.12.3) is needed by perl-MongoDB-0.41-3.fc16.x86_64
        rpmlib(FileDigests) <= 4.6.0-1 is needed by perl-MongoDB-0.41-3.fc16.x86_64
        perl(Any::Moose) is needed by perl-MongoDB-0.41-3.fc16.x86_64
        perl(boolean) is needed by perl-MongoDB-0.41-3.fc16.x86_64
        perl(DateTime) is needed by perl-MongoDB-0.41-3.fc16.x86_64
        perl(Tie::IxHash) is needed by perl-MongoDB-0.41-3.fc16.x86_64
        rpmlib(PayloadIsXz) <= 5.2-1 is needed by perl-MongoDB-0.41-3.fc16.x86_64

Is there any way I can make this Fedora RPM work on my CentOS 5 machine?
0
Comment
Question by:hankknight
  • 2
4 Comments
 
LVL 4

Assisted Solution

by:cavp76
cavp76 earned 225 total points
ID: 35168929
Only way is to fill the dependencies, or to add a repository that contains the required RPM packages. Here are some guidelines for this.

HTH
0
 
LVL 3

Assisted Solution

by:Alberto Cortes
Alberto Cortes earned 50 total points
ID: 35169915
Need to update or install:
perl
glibc
0
 
LVL 7

Accepted Solution

by:
droyden earned 225 total points
ID: 35171160
Tjust install the module through cpan
0
 
LVL 7

Expert Comment

by:droyden
ID: 35171163
Or try;

 yum search mongodb

There might be a centos package
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now