Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Error when installing perl modules via CPAN

Posted on 2008-10-16
2
Medium Priority
?
1,713 Views
Last Modified: 2013-12-06
Something is wrong with Perl I guess, and when trying to install some Perl module via CPAN or trying to upgrade CPAN we'll get this error:

cpan> install CPAN::Bundle
Fetching with LWP:
  ftp://ftp.port80.se/pub/CPAN/authors/01mailrc.txt.gz
LWP failed with code[500] message[Errno architecture (i386-linux-thread-multi-2.6.9-67.0.7.elsmp) does not match executable architecture (i386-linux-thread-multi-2.6.9-78.0.1.elsmp) at /usr/lib/perl5/site_perl/5.8.8/Errno.pm line 11.
Compilation failed in require at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/IO/Socket.pm line 17.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/IO/Socket.pm line 17.
Compilation failed in require at /usr/lib/perl5/5.8.8/Net/FTP.pm line 18.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.8/Net/FTP.pm line 18.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/LWP/Protocol/ftp.pm line 21.
]
Fetching with Net::FTP:
  ftp://ftp.port80.se/pub/CPAN/authors/01mailrc.txt.gz
Can't locate object method "new" via package "Net::FTP" at /usr/lib/perl5/5.8.8/CPAN.pm line 2250.

I have Google on this very much, but not getting any solution. I also found some bug report from Redhat, but that not help me either.

Why this is happening is because that spamd has stopped running on this server, and when trying to run spamd we just get this results:
# spamd
Can't locate object method "register_domain" via package "IO::Socket::INET" at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/IO/Socket/INET.pm line 22.
Compilation failed in require at /usr/bin/spamd line 44.
BEGIN failed--compilation aborted at /usr/bin/spamd line 79.

Any help is really appreciated.
0
Comment
Question by:Binero
2 Comments
 
LVL 17

Accepted Solution

by:
owensleftfoot earned 1000 total points
ID: 22730471
0
 

Author Comment

by:Binero
ID: 22730538
Thank you, working just perfectly!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Six Sigma Control Plans
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

971 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