|There's more than one way to do things|
Fun (pain) installing Math::Pari on cygwin.by anneli (Pilgrim)
|on Oct 05, 2011 at 04:56 UTC||Need Help??|
anneli has asked for the
wisdom of the Perl Monks concerning the following question:
I'm trying to get Net::SSH::Perl up to do some nifty stuff, which depends (transitively!) on Math::Pari. Unfortunately, I'm having more fun getting Pari installed than I'd necessarily like. This is probably because my perl's in Cygwin on Windows 7, and further, my Windows installation is 64-bit (but Cygwin's 32).
For those curious, the build ends in this way:
The operand type mismatch is what makes me think this might be a 32/64-bit thing. The same result happens regardless of whether I invoke cpanm Math::Pari, cpan -i Math::Pari, or enter ~/.cpan/build/Math-Pari-... and perl Makefile.PL; make thence.
Math::Pari's INSTALL mentions some assembly detection magic, but states that it'll default to machine=none, which is meant to use portable C. That does seem to be the case here (and I tried forcing it in the last example, to the same effect).
I'm going to give this a go with ActivePerl now (maybe a native solution will be better? I'm not sure! The package manager seems to lack Net::SSH::Perl, but I don't really know what I'm doing with this thing (ActivePerl) now that I've installed it), but I'm not hopeful. If any monks have any advice, I'd be most appreciative.
brief update: found a repository for ActivePerl that included Math::Pari, having fun seeing how far I can kick it!