Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Install seems impossible!

by rupesh (Hermit)
on Jul 19, 2005 at 12:19 UTC ( #476052=note: print w/ replies, xml ) Need Help??


in reply to Re: Install seems impossible!
in thread Install seems impossible!


Agreed. But...
I just installed the same modules in a freshly built Redhat 9 box.
Same error.
I'll "embed" the RSA errors here...

.... 0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/pe +rl5/vendor_perl .) at /root/.cpan/build/Crypt-RSA-1.56/blib/lib/Crypt +/RSA/DataFormat.pm line 16. BEGIN failed--compilation aborted at /root/.cpan/build/Crypt-RSA-1.56/ +blib/lib/Crypt/RSA/DataFormat.pm line 16. Compilation failed in require at t/02-os2ip.t line 12. BEGIN failed--compilation aborted at t/02-os2ip.t line 12. t/02-os2ip...........dubious Test returned status 2 (wstat 512, 0x200) t/03-random_octet....Can't locate Crypt/Primes.pm in @INC (@INC contai +ns: lib ../lib /root/.cpan/build/Crypt-RSA-1.56/blib/lib /root/.cpan/ +build/Crypt-RSA-1.56/blib/arch /usr/lib/perl5/5.8.0/i386-linux-thread +-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux +-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl + /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/pe +rl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at lib/Crypt/RSA/ +Key.pm line 17. BEGIN failed--compilation aborted at lib/Crypt/RSA/Key.pm line 17. Compilation failed in require at /root/.cpan/build/Crypt-RSA-1.56/blib +/lib/Crypt/RSA.pm line 18. BEGIN failed--compilation aborted at /root/.cpan/build/Crypt-RSA-1.56/ +blib/lib/Crypt/RSA.pm line 18. Compilation failed in require at t/03-random_octet.t line 12. BEGIN failed--compilation aborted at t/03-random_octet.t line 12. t/03-random_octet....dubious Test returned status 2 (wstat 512, 0x200) t/04-octet_xor.......Can't locate Crypt/Random.pm in @INC (@INC contai +ns: lib ../lib /root/.cpan/build/Crypt-RSA-1.56/blib/lib /root/.cpan/ +build/Crypt-RSA-1.56/blib/arch /usr/lib/perl5/5.8.0/i386-linux-thread +-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux +-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl + /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/pe +rl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /root/.cpan/bu +ild/Crypt-RSA-1.56/blib/lib/Crypt/RSA/DataFormat.pm line 16. BEGIN failed--compilation aborted at /root/.cpan/build/Crypt-RSA-1.56/ +blib/lib/Crypt/RSA/DataFormat.pm line 16. Compilation failed in require at t/04-octet_xor.t line 10. BEGIN failed--compilation aborted at t/04-octet_xor.t line 10. t/04-octet_xor.......dubious Test returned status 2 (wstat 512, 0x200) t/05-primitives......Can't locate Crypt/Primes.pm in @INC (@INC contai +ns: lib ../lib /root/.cpan/build/Crypt-RSA-1.56/blib/lib /root/.cpan/ +build/Crypt-RSA-1.56/blib/arch /usr/lib/perl5/5.8.0/i386-linux-thread +-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux +-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl + /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/pe +rl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at lib/Crypt/RSA/ +Key.pm line 17. BEGIN failed--compilation aborted at lib/Crypt/RSA/Key.pm line 17. Compilation failed in require at t/05-primitives.t line 13. BEGIN failed--compilation aborted at t/05-primitives.t line 13. t/05-primitives......dubious Test returned status 2 (wstat 512, 0x200) t/06-oaep............Can't locate Crypt/Random.pm in @INC (@INC contai +ns: lib ../lib /root/.cpan/build/Crypt-RSA-1.56/blib/lib /root/.cpan/ +build/Crypt-RSA-1.56/blib/arch /usr/lib/perl5/5.8.0/i386-linux-thread +-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux +-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl + /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/pe +rl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at lib/Crypt/RSA/ +ES/OAEP.pm line 15. BEGIN failed--compilation aborted at lib/Crypt/RSA/ES/OAEP.pm line 15. Compilation failed in require at t/06-oaep.t line 13. BEGIN failed--compilation aborted at t/06-oaep.t line 13. t/06-oaep............dubious Test returned status 2 (wstat 512, 0x200) t/07-pss.............Can't locate Crypt/Primes.pm in @INC (@INC contai +ns: lib ../lib /root/.cpan/build/Crypt-RSA-1.56/blib/lib /root/.cpan/ +build/Crypt-RSA-1.56/blib/arch /usr/lib/perl5/5.8.0/i386-linux-thread +-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux +-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl + /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/pe +rl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at lib/Crypt/RSA/ +Key.pm line 17. BEGIN failed--compilation aborted at lib/Crypt/RSA/Key.pm line 17. Compilation failed in require at t/07-pss.t line 13. BEGIN failed--compilation aborted at t/07-pss.t line 13. t/07-pss.............dubious Test returned status 2 (wstat 512, 0x200) t/08-secretkey.......Can't locate Crypt/Primes.pm in @INC (@INC contai +ns: lib ../lib /root/.cpan/build/Crypt-RSA-1.56/blib/lib /root/.cpan/ +build/Crypt-RSA-1.56/blib/arch /usr/lib/perl5/5.8.0/i386-linux-thread +-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux +-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl + /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/pe +rl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at lib/Crypt/RSA/ +Key.pm line 17. BEGIN failed--compilation aborted at lib/Crypt/RSA/Key.pm line 17. Compilation failed in require at lib/Crypt/RSA.pm line 18. BEGIN failed--compilation aborted at lib/Crypt/RSA.pm line 18. Compilation failed in require at lib/Crypt/RSA/Key/Private.pm line 16. BEGIN failed--compilation aborted at lib/Crypt/RSA/Key/Private.pm line + 16. Compilation failed in require at t/08-secretkey.t line 13. BEGIN failed--compilation aborted at t/08-secretkey.t line 13. t/08-secretkey.......dubious Test returned status 2 (wstat 512, 0x200) t/09-publickey.......Can't locate Crypt/Primes.pm in @INC (@INC contai +ns: lib ../lib /root/.cpan/build/Crypt-RSA-1.56/blib/lib /root/.cpan/ +build/Crypt-RSA-1.56/blib/arch /usr/lib/perl5/5.8.0/i386-linux-thread +-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux +-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl + /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/pe +rl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at lib/Crypt/RSA/ +Key.pm line 17. BEGIN failed--compilation aborted at lib/Crypt/RSA/Key.pm line 17. Compilation failed in require at lib/Crypt/RSA.pm line 18. BEGIN failed--compilation aborted at lib/Crypt/RSA.pm line 18. Compilation failed in require at lib/Crypt/RSA/Key/Public.pm line 15. BEGIN failed--compilation aborted at lib/Crypt/RSA/Key/Public.pm line +15. Compilation failed in require at t/09-publickey.t line 13. BEGIN failed--compilation aborted at t/09-publickey.t line 13. t/09-publickey.......dubious Test returned status 2 (wstat 512, 0x200) t/10-keygen..........Can't locate Crypt/Primes.pm in @INC (@INC contai +ns: lib ../lib /root/.cpan/build/Crypt-RSA-1.56/blib/lib /root/.cpan/ +build/Crypt-RSA-1.56/blib/arch /usr/lib/perl5/5.8.0/i386-linux-thread +-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux +-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl + /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/pe +rl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at lib/Crypt/RSA/ +Key.pm line 17. BEGIN failed--compilation aborted at lib/Crypt/RSA/Key.pm line 17. Compilation failed in require at t/10-keygen.t line 13. BEGIN failed--compilation aborted at t/10-keygen.t line 13. t/10-keygen..........dubious Test returned status 2 (wstat 512, 0x200) t/11-wrapper.........Can't locate Crypt/Primes.pm in @INC (@INC contai +ns: lib ../lib /root/.cpan/build/Crypt-RSA-1.56/blib/lib /root/.cpan/ +build/Crypt-RSA-1.56/blib/arch /usr/lib/perl5/5.8.0/i386-linux-thread +-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux +-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl + /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/pe +rl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at lib/Crypt/RSA/ +Key.pm line 17. BEGIN failed--compilation aborted at lib/Crypt/RSA/Key.pm line 17. Compilation failed in require at lib/Crypt/RSA.pm line 18. BEGIN failed--compilation aborted at lib/Crypt/RSA.pm line 18. Compilation failed in require at t/11-wrapper.t line 13. BEGIN failed--compilation aborted at t/11-wrapper.t line 13. t/11-wrapper.........dubious Test returned status 2 (wstat 512, 0x200) t/12-versioning......Can't locate Crypt/Random.pm in @INC (@INC contai +ns: lib ../lib /root/.cpan/build/Crypt-RSA-1.56/blib/lib /root/.cpan/ +build/Crypt-RSA-1.56/blib/arch /usr/lib/perl5/5.8.0/i386-linux-thread +-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux +-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl + /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/pe +rl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at lib/Crypt/RSA/ +ES/OAEP.pm line 15. BEGIN failed--compilation aborted at lib/Crypt/RSA/ES/OAEP.pm line 15. Compilation failed in require at t/12-versioning.t line 13. BEGIN failed--compilation aborted at t/12-versioning.t line 13. t/12-versioning......dubious Test returned status 2 (wstat 512, 0x200) t/13-es-pkcs1v15.....Can't locate Crypt/Random.pm in @INC (@INC contai +ns: lib ../lib /root/.cpan/build/Crypt-RSA-1.56/blib/lib /root/.cpan/ +build/Crypt-RSA-1.56/blib/arch /usr/lib/perl5/5.8.0/i386-linux-thread +-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux +-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl + /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/pe +rl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at lib/Crypt/RSA/ +ES/PKCS1v15.pm line 15. BEGIN failed--compilation aborted at lib/Crypt/RSA/ES/PKCS1v15.pm line + 15. Compilation failed in require at t/13-es-pkcs1v15.t line 13. BEGIN failed--compilation aborted at t/13-es-pkcs1v15.t line 13. t/13-es-pkcs1v15.....dubious Test returned status 2 (wstat 512, 0x200) t/14-ss-pkcs1v15.....Can't locate Crypt/Primes.pm in @INC (@INC contai +ns: lib ../lib /root/.cpan/build/Crypt-RSA-1.56/blib/lib /root/.cpan/ +build/Crypt-RSA-1.56/blib/arch /usr/lib/perl5/5.8.0/i386-linux-thread +-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux +-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl + /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/pe +rl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at lib/Crypt/RSA/ +Key.pm line 17. BEGIN failed--compilation aborted at lib/Crypt/RSA/Key.pm line 17. Compilation failed in require at t/14-ss-pkcs1v15.t line 13. BEGIN failed--compilation aborted at t/14-ss-pkcs1v15.t line 13. t/14-ss-pkcs1v15.....dubious Test returned status 2 (wstat 512, 0x200) t/15-benchmark.......Can't locate Crypt/Primes.pm in @INC (@INC contai +ns: lib ../lib /root/.cpan/build/Crypt-RSA-1.56/blib/lib /root/.cpan/ +build/Crypt-RSA-1.56/blib/arch /usr/lib/perl5/5.8.0/i386-linux-thread +-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux +-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl + /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/pe +rl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at lib/Crypt/RSA/ +Key.pm line 17. BEGIN failed--compilation aborted at lib/Crypt/RSA/Key.pm line 17. Compilation failed in require at t/15-benchmark.t line 13. BEGIN failed--compilation aborted at t/15-benchmark.t line 13. t/15-benchmark.......dubious Test returned status 2 (wstat 512, 0x200) Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +--------- t/01-i2osp.t 2 512 ?? ?? % ?? t/02-os2ip.t 2 512 ?? ?? % ?? t/03-random_octet.t 2 512 ?? ?? % ?? t/04-octet_xor.t 2 512 ?? ?? % ?? t/05-primitives.t 2 512 ?? ?? % ?? t/06-oaep.t 2 512 ?? ?? % ?? t/07-pss.t 2 512 ?? ?? % ?? t/08-secretkey.t 2 512 ?? ?? % ?? t/09-publickey.t 2 512 ?? ?? % ?? t/10-keygen.t 2 512 ?? ?? % ?? t/11-wrapper.t 2 512 ?? ?? % ?? t/12-versioning.t 2 512 ?? ?? % ?? t/13-es-pkcs1v15.t 2 512 ?? ?? % ?? t/14-ss-pkcs1v15.t 2 512 ?? ?? % ?? t/15-benchmark.t 2 512 ?? ?? % ?? Failed 15/16 test scripts, 6.25% okay. 0/6 subtests failed, 100.00% ok +ay. make: *** [test_dynamic] Error 2 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force


Cheers,
Rupesh.


Comment on Re^2: Install seems impossible!
Download Code
Re^3: Install seems impossible!
by gellyfish (Monsignor) on Jul 19, 2005 at 12:30 UTC

    Er, this is a completely different set of probably unrelated errors. Some the dependencies are missing - you need to install Crypt::Random and Crypt::Primes. Bear in mind there is nothing magical about the CPAN module that will examine the module you are installing and determine the dependencies, the author of the module has to explicitly state them in the Makefile.PL

    /J\


      Won't the CPAN shell install it automatically?
      It installed other, more bigger modules, like Math::Pari without any hazard...
      Cheers,
      Rupesh.
        Only if the author of the module mentions the dependency in Makefile.PL. And while CPAN.pm can read minds, it can only do so in a short range (so, it can read your mind and report home) - the author of the module is usually much further away.

      Well, I tried installing Crypt::Primes individually, and then installing it manually using the tar ball.
      I also tried to install Crypt::RSA using the tar ball. Nothing worked. Something wrong somewhere for sure.

      Has someone already installed it (preferrably in Linux)? If so, when? and how?
      Thanks for your time...

      Cheers,
      Rupesh.

        You are not really helping us to help you here, what errors did you get?

        Update:I have just installed all these modules without hitch using CPAN, so there must be something wrong with your system I would say.

        /J\

        perhaps is it time to forget the loooong antiquated RH9. You'll have much less trouble with an up-to-date system (and less security holes, too). If you want the true RedHat thing without the price, you may wish to try Fedora Core, WhiteBox Linux or Tao Linux, among a few others.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2014-10-23 03:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (123 votes), past polls