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

object version does not match bootstrap parameter

by lpanokarren (Novice)
on Sep 27, 2013 at 19:21 UTC ( #1056064=perlquestion: print w/ replies, xml ) Need Help??
lpanokarren has asked for the wisdom of the Perl Monks concerning the following question:

This has been asked before, but browsing through earlier threads on the subject (unless I missed some) didnt help much - could someone take a look and let me know what i could do to resolve this error?
I am trying to install IO-Compress-2.062 which requires Compress::Raw::Bzip2 and Compress::Raw::Zlib. I installed both these modules in my home directory -
1) /home/oracle/perl/modules/Compress-Raw-Bzip2-2.062/lib
2) /home/oracle/perl/modules/Compress-Raw-Zlib-2.062/lib
successfully and updated my PERL5LIB env before proceeding to install IO-Compress-2.062

When I run make test for IO-Compress-2.062, it fails with a bunch of errors - first of which is
Error: Compress::Raw::Bzip2 object version 2.020 does not match bootstrap parameter 2.062 at /home/oracle/perl/modules/Compress-Raw-Bzip2-2.062/lib/Compress/Raw/Bzip2.pm line 69

I would sincerely appreciate any guidance!!!!!!

Comment on object version does not match bootstrap parameter
Re: object version does not match bootstrap parameter
by lpanokarren (Novice) on Sep 27, 2013 at 19:56 UTC

    I just fixed this one by ensuring I included the directory that has the 'auto/$module' directory in my PERL5LIB.
    Still running into an error - This might be an easier problem - my 'make install' fails trying to install the module in /usr/lib64 instead of using the PREFIX override I provide with makefile

    what (all) am i missing???

      Well, whatever you did (which is a mystery), you did it wrong :)

      quickets/cheapest/fastest/lowest learning curve is to use cpanm --local-lib module module module to install, and then add to your PERL5LIB the path as described in local::lib

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1056064]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2015-07-04 20:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls