Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Overlaping Versions of Perl

by silent11 (Vicar)
on Oct 21, 2003 at 17:28 UTC ( #301002=perlquestion: print w/ replies, xml ) Need Help??
silent11 has asked for the wisdom of the Perl Monks concerning the following question:

I had perl version 5.8 on a linux box, when 5.8.1 came out, naturally I upgraded. I noticed that in so doing that I lost some modules, including the LWP library. Now I'm going back and reinstalling some modules via CPAN.pm. *One* of the problems I have run into is the following error.
.... Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-19 Failed 19/19 tests, 0.00% okay local/http............Perl lib version (v5.8.0) doesn't match executab +le version (v5.8.1) at /usr/local/lib/perl5/5.8.0/i686-linux/Config.p +m line 21. ....
The part that concerns me is:
Perl lib version (v5.8.0) doesn't match executable version (v5.8.1)
What can I do about that?


-silent11

Comment on Overlaping Versions of Perl
Select or Download Code
Re: Overlaping Versions of Perl
by ptkdb (Monk) on Oct 21, 2003 at 18:31 UTC
    4 words:

    Time Machine/Start Over

    now before the down votes start rolling in, from the whimsy impaired:

    When a new version of perl comes out(development or release), I've found it to be a good idea to set it up in its own area and kicking the tires on it before replacing the installed version.

    Typically I do this with the ./Configure command:

    cd perl-5.x.x ./Configure -Dprefix=/opt/perl/5.x.x -d -e
    and make and install as usual.

    Sadly, Linuxes and Unixes are starting to act more like Windows, in that they have a proscribed set of packages and installers that must be run to have certain features. The systems are becoming less tolerant of you configuring your own version of perl and installing it in the usual places. Especically since other packages may be interdependant on it.

    As for your current situation, you may have no other recourse but to download the currently available RPM(assuming redhat, or similar installation mechanism), for 5.8.0 and reinstall it and rebuild your previous installation, and then try out 5.8.1 in some safe area.

    YMMV

      It does not look that bad if you look at the path being quoted it is the 5.8.0 path which suggests the perl 5.8.1 executable is running but a path in a configuration file is pointing to 5.8.0 a good search of the config files should find it.

      I don't thinki it would be needle in haystack job if they just step through what they are doing and look where everything points. I actually find things like this a great time to read the manual and learn how things are working. Without problems we tend to take these things called computers for granted.

      I haven't seen this error before but some google searching with maybe some more system information and an answer should be out there.

      Try this link it seems to have some answers: The FAQ section has some tips for this.
      http://www.catfive.org/cgi-bin/man2web?program=CPAN§ion=3program=CPAN§ion=3

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://301002]
Approved by dbwiz
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2014-12-28 17:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (182 votes), past polls