niley has asked for the wisdom of the Perl Monks concerning the following question:

Whenever I try to install Crypt:Random, (ultimately to install Crypt::RSA) it freaks out and tells me this about forbidden division, has anyone any ideas about how to resolve this ? Ive tried installing it on both FreeBSD 4.9-Stable and Debian, with the same thing happening on both. - Niall
cpan> install Crypt::Random Running install for module Crypt::Random Running make for V/VI/VIPUL/Crypt-Random-1.22.tar.gz Is already unwrapped into directory /root/.cpan/build/Crypt-Random-1 +.22 Has already been processed within this session Running make test PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl +/5.6.1 -I/usr/share/perl/5.6.1 -e 'use Test::Harness qw(&runtests $ve +rbose); $verbose=0; runtests @ARGV;' t/*.t t/generator..........ok 3/18PARI: *** forbidden division t_REAL % +t_INT. at /usr/local/lib/perl/5.6.1/Math/Pari.pm line 978. t/generator..........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 4-18 Failed 15/18 tests, 16.67% okay t/makerandom_itv.....PARI: *** forbidden division t_REAL % t_INT. +at /usr/local/lib/perl/5.6.1/Math/Pari.pm line 978. t/makerandom_itv.....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-5 Failed 5/5 tests, 0.00% okay t/octet_string.......ok t/pari_misfeature....PARI: *** forbidden division t_REAL % t_INT. +at /usr/local/lib/perl/5.6.1/Math/Pari.pm line 978. t/pari_misfeature....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay t/random.............ok Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +--------- t/generator.t 255 65280 18 30 166.67% 4-18 t/makerandom_itv.t 255 65280 5 10 200.00% 1-5 t/pari_misfeature.t 255 65280 1 2 200.00% 1 Failed 3/5 test scripts, 40.00% okay. 21/26 subtests failed, 19.23% ok +ay. make: *** [test_dynamic] Error 11 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force cpan>

Replies are listed 'Best First'.
Re: Crypt::Radom Install Badness
by PodMaster (Abbot) on Jun 03, 2004 at 04:23 UTC
    Try the latest version ( Crypt-Random-1.23 ).

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

      Ok, Ive tried the latest version, but the same thing happens when I go to use the module(Its definitely the latest version now).
      PARI: *** forbidden division t_REAL % t_INT. at /usr/local/lib/per +l5/site_perl/5.6.1/Crypt/Random.pm line 93