LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-13-2022, 11:38 AM   #1
Pigi_102
Member
 
Registered: Aug 2008
Posts: 188

Rep: Reputation: 22
CPAN Perl Modules rebuild on 15.0 ?


Hello all,
I was trying to jump from my 14.2 to 15.0 but I'm facing problems with perl modules I've installed over the yer with CPAN.

Not a big deal, I thought but issuing the cpan command I get :
ListUtil.c: loadable library and perl binaries are mismatched (got handshake key 0xcd00080, needed 0xeb00080)

Does anyone knows how to deal with this ?
Or eventually, are there around repository or similar to get perl modules ?

I've found a nice script to get all (somehow) installed perl modules but can't get cpan started to rebuild them.

Thanks in advance.

Pigi_102
 
Old 02-13-2022, 11:56 AM   #2
Pigi_102
Member
 
Registered: Aug 2008
Posts: 188

Original Poster
Rep: Reputation: 22
Just after writing this message I've tried by renaming /usr/local/lib64/perl5 to /usr/local/lib64/perl5BAD and now cpan starts.
So my problem it's half solved.
The other part is : how do I can rebuild perl modules in a way that a new perl upgrade would simplify the fix of such problems ?


Thanks in advance.

Pigi_102
 
Old 02-13-2022, 12:33 PM   #3
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,687

Rep: Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803
make a note on all perl-based scripts, remove all, rebuild against latest perl in 15.0
that's the risk of mixing between cpan and slackware packages
 
1 members found this post helpful.
Old 02-13-2022, 07:57 PM   #4
johnny23
Member
 
Registered: Aug 2009
Location: Lapu-Lapu City, Philippines
Distribution: Slackware
Posts: 62

Rep: Reputation: 44
Quote:
Originally Posted by willysr View Post
make a note on all perl-based scripts, remove all, rebuild against latest perl in 15.0
that's the risk of mixing between cpan and slackware packages
Serendipidously I was just playing around with CPAN on 15.0. I just told it to upgrade everything before I saw your post so it will be interesting to see what breaks. On 14.2 I never hit any problems using CPAN and SBo packages randomly but when I used to actually work with Perl in a job there were all sorts of issues with different Perl versions, especially with regex where bugs in regex were constantly being fixed and making old scripts do unexpected things because you hadn't paid attention to the fact it wasn't doing what it said but what you wanted.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Perl Modules Don't Install on Redhat 9 on a VDS from Lycos using Webmin and CPAN coyos Linux - Newbie 7 09-15-2006 09:26 PM
"cc1: error: invalid option 'tune=i686'" while installing Perl modules via CPAN scuzzman Programming 12 08-21-2006 09:30 PM
load perl CPAN modules sailu_mvn Linux - Software 1 04-18-2006 07:31 PM
perl modules problems CPAN tardigrade Linux - Software 6 09-02-2004 12:29 PM
Canīt download perl modules with cpan emilioestevezz Linux - Networking 1 08-25-2004 09:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration