in reply to Fun (pain) installing Math::Pari on cygwin.

The presence of -DASMINLINE and Assembler messages make me think that it's very unlikely that a generic C build is being attempted.

IIRC, the way to get that C build is to start with perl Makefile.PL machine=none so give that a try - but make sure you run make realclean first.

found a repository for ActivePerl that included Math::Pari, having fun seeing how far I can kick it!

Math::Pari that's built for ActivePerl won't work at all with Cygwin's perl.

BTW, there are better options for SSH than Net::SSH::Perl - eg I think Net::OpenSSH should be fine on Cygwin, or there's also Net::SSH2.

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: Fun (pain) installing Math::Pari on cygwin.
by anneli (Pilgrim) on Oct 05, 2011 at 06:40 UTC

    You raise some very good points: I completely failed to run make realclean (or indeed, make steps to find out that I'd need to do that!)

    Math::Pari that's built for ActivePerl won't work at all with Cygwin's perl.

    Indeed: I was going to just switch to using ActivePerl entirely, if it was going to get things working and otherwise function identically; this is for a few small scripts at work, so I'm not too fussed about the environment (yet), though keeping things in Cygwin is preferable for homogeneity's sake.

    Using Net::OpenSSH or Net::SSH2 sounds like a much better idea! I had only scratched the surface of the SSH modules, it seems. :)

    Thanks!

    Anne

      I was going to just switch to using ActivePerl entirely, if it was going to get things working and otherwise function identically

      Fair enough ... if you do switch to ActivePerl, be aware that although Net::OpenSSH should be fine on Cygwin, it's a no-go on native Windows perls such as ActivePerl. However, Net::SSH2 is fine on ActivePerl.
      If your current list of ppm repos doesn't have a ppm package for Net::SSH2:
      ppm repo add sisyphusion ppm install Net-SSH2
      Cheers,
      Rob
        Net::OpenSSH does not work under Cygwin either.

        Windows and cygwin lack some functionality required by the OpenSSH client to implement connection sharing and so that feature is non-functional under Windows.