|Pathologically Eclectic Rubbish Lister|
Re: Predict Random Numbersby johannz (Hermit)
|on Mar 14, 2002 at 13:36 UTC||Need Help??|
<This did not run on my ActiveState Perl Install. I tried installing Math::BigInt and Math::BigRat via ppm, was only able to get Math::BigInt. And could not find the other modules, Math::BigInt::Pari or Math::BigInt::GMP.
Results for perl -v:
This is perl, v5.6.1 built for MSWin32-x86-multi-thread (with 1 registered patch, see perl -V for more detail)
So, do you have ppd files for these modules or did you just build them yourself. I am assuming that these involve xs code?
So, it looks like Math::BigInt::Pari is a perl-only module, but requires Math::Pari, which is a c module and not available through PPM.
Math::BigInt::GMP is a c interface to another library and also is not available through PPM.
And Math::BigRat requires Math::BigFloat, which is in a later version of Math::BigInt than is on PPM.
So you have to get the latest Math::BigInt from CPAN, install it, install the latest Math::BigRat from CPAN, and then have a compiler so you can either install Math::BigInt::GMP, or the prerequisites for Math::BigInt::Pari.
Even more later...
So I installed Math::BigInt and Math::BigRat from CPAN. I did not install Math::BigInt::Pari or Math::BigInt::GMP but was able to run the code.
It hasn't finished, but it is running. :)
ps. I have a P3 500mhz, with 384M ram running Win2K. So we will see how it goes.
Update: He's right about needing a fast Math::BigInt library, the perl-only versions are too slow. It's been about 2 hrs and no results yet.