Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

perl modules installs failing - states missing perl but 5.8.8 is there

Status
Not open for further replies.

kapshure

IS-IT--Management
Aug 26, 2010
4
US
Hello forum. I'm really new to the Perl world, and right now I'm just assisting on a project where I'm utilizing the cpan2rpm utility to build RPM's of about 50+ required modules we need for a new web-server deployment.

Right now I've got at least (4) modules that are coughing up errors on the RPM build stating that "perl >=5.008" or "perl >=5.006" is required. I'm quite confused b/c if I run "perl -v" I get the following:

**************************************************

This is perl, v5.8.8 built for x86_64-linux-thread-multi

**************************************************

I don't know if its module specific, but here are a few that are failing:

Digest-MD5-2.40
CGI-3.49
DBI-1.63

doing an "rpm -qa | grep perl"

perl-5.8.8-32.el5_5.1

any help is greatly appreciated
 
Are there any other perls on your system that it might be finding first (possibly not installed through an RPM package)? Try locate bin/perl to check.

Annihilannic.
 
/usr/bin/perl
/usr/bin/perl5.8.8
/usr/bin/perlbug
/usr/bin/perlcc
/usr/bin/perldoc
/usr/bin/perlivp


that was the list that was produced
 
I'm not used to RPM, but in a Solris env, I have changed the repository and in most cases it has worked.
 
I could change the repo I guess, but we are trying to create a gold-standard of installs/packages that can be used to easily stamp out web-servers. We run CentOS 5.x x64 & I don't want to deviate from the CentOS-base-repo that much to mitigate further yum updates from breaking things. I have learned quickly that package mgmt is a very important part of linux Sys Admin roles.

I guess I could enter excludes into the yum.conf file, but I'm trying to avoid that if possible.
 
What I did was to add a couple of repositories, some ftp and some http. I have mostly found the .edu ones to be up-to-date vs others.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top