Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^11: XS.c: loadable library and perl binaries are mismatched (got handshake key 0xc100000, needed 0xc180000)

by rgren925 (Sexton)
on Aug 11, 2020 at 23:42 UTC ( #11120632=note: print w/replies, xml ) Need Help??


in reply to Re^10: XS.c: loadable library and perl binaries are mismatched (got handshake key 0xc100000, needed 0xc180000)
in thread XS.c: loadable library and perl binaries are mismatched (got handshake key 0xc100000, needed 0xc180000)

I removed perlbrew and made certain I had no offensive environment variables before reinstalling it.

After reinstallation, I loaded up cpanm and tried first an XS module I have historically had no issues with (JSON::XS); then List::MoreUtils...

gcp4al16:rg8239$ which cpanm ~/perl5/perlbrew/bin/cpanm gcp4al16:rg8239$ cpanm JSON::XS --> Working on JSON::XS Fetching http://www.cpan.org/authors/id/M/ML/MLEHMANN/JSON-XS-4.02.tar +.gz ... OK ==> Found dependencies: Canary::Stability --> Working on Canary::Stability Fetching http://www.cpan.org/authors/id/M/ML/MLEHMANN/Canary-Stability +-2013.tar.gz ... OK Configuring Canary-Stability-2013 ... OK Building and testing Canary-Stability-2013 ... OK Successfully installed Canary-Stability-2013 Configuring JSON-XS-4.02 ... OK ==> Found dependencies: common::sense, Types::Serialiser --> Working on common::sense Fetching http://www.cpan.org/authors/id/M/ML/MLEHMANN/common-sense-3.7 +5.tar.gz ... OK Configuring common-sense-3.75 ... OK Building and testing common-sense-3.75 ... OK Successfully installed common-sense-3.75 --> Working on Types::Serialiser Fetching http://www.cpan.org/authors/id/M/ML/MLEHMANN/Types-Serialiser +-1.0.tar.gz ... OK Configuring Types-Serialiser-1.0 ... OK Building and testing Types-Serialiser-1.0 ... OK Successfully installed Types-Serialiser-1.0 Building and testing JSON-XS-4.02 ... OK Successfully installed JSON-XS-4.02 4 distributions installed
gcp4al16:rg8239$ cpanm List::MoreUtils --> Working on List::MoreUtils Fetching http://www.cpan.org/authors/id/R/RE/REHSACK/List-MoreUtils-0. +428.tar.gz ... OK Configuring List-MoreUtils-0.428 ... OK ==> Found dependencies: List::MoreUtils::XS, Test::LeakTrace, Exporter +::Tiny --> Working on List::MoreUtils::XS Fetching http://www.cpan.org/authors/id/R/RE/REHSACK/List-MoreUtils-XS +-0.428.tar.gz ... OK Configuring List-MoreUtils-XS-0.428 ... OK Building and testing List-MoreUtils-XS-0.428 ... FAIL ! Installing List::MoreUtils::XS failed. See /home/rg8239/.cpanm/work/ +1597187453.8905/build.log for details. Retry with --force to f orce install it. --> Working on Test::LeakTrace Fetching http://www.cpan.org/authors/id/L/LE/LEEJO/Test-LeakTrace-0.16 +.tar.gz ... OK Configuring Test-LeakTrace-0.16 ... OK Building and testing Test-LeakTrace-0.16 ... OK Successfully installed Test-LeakTrace-0.16 --> Working on Exporter::Tiny Fetching http://www.cpan.org/authors/id/T/TO/TOBYINK/Exporter-Tiny-1.0 +02002.tar.gz ... OK Configuring Exporter-Tiny-1.002002 ... OK Building and testing Exporter-Tiny-1.002002 ... OK Successfully installed Exporter-Tiny-1.002002 ! Installing the dependencies failed: Module 'List::MoreUtils::XS' is +not installed ! Bailing out the installation for List-MoreUtils-0.428. 2 distributions installed

Obviously, still no luck

  • Comment on Re^11: XS.c: loadable library and perl binaries are mismatched (got handshake key 0xc100000, needed 0xc180000)
  • Select or Download Code

Replies are listed 'Best First'.
Re^12: XS.c: loadable library and perl binaries are mismatched (got handshake key 0xc100000, needed 0xc180000)
by syphilis (Bishop) on Aug 12, 2020 at 01:07 UTC
    Building and testing List-MoreUtils-XS-0.428 ... FAIL ! Installing List::MoreUtils::XS failed. See /home/rg8239/.cpanm/work/ +1597187453.8905/build.log for details.


    I assume the build.log confirms that this is still the handshake error.
    (It'd be awful to keep scratching our heads over this only to subsequently find that the error had changed to something else ;-)

    Cheers,
    Rob
      Yes, indeed. Same mismatch
        Yes, indeed. Same mismatch

        I tried to explore possibilities related to gcc-3.4.5 by building perl-5.32.0 on Windows with gcc-3.4.5, but the build failed when trying to compile Time::HiRes.
        Is anyone here (apart from rgren95) in a position to build perl-5.32.0 with gcc-3.4.5, and then see what happens when cpan -I List::MoreUtils::XS is attempted ?
        Is it still to be expected that perl should be buildable with gcc-3.4.5 ? ... or should gcc-3.4.5 be simply dismissed as something that has reached its EOL ?

        rgren95, I'm still interested in looking at that XS.c file that's generated by perl-5.32.0. (Just send it to sisyphus at cpan dot org if you haven't received my /msg notification.)

        Thinking back to bulk88's mention of Config issues, I'm also wondering whether the stuff in the List-MoreUtils-XS-0.428/inc directory could somehow be screwing things up.
        That's something probably best left to someone who knows what-why-and-how the stuff in that directory is doing whatever it does. (ie ... best left to someone that's not me.)

        Cheers,
        Rob

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2021-03-02 12:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (46 votes). Check out past polls.

    Notices?