J. Linne J. Linne - 1 month ago 23
Perl Question

What to do for Math::Pari in cpan terminal

I found this one relevant question on problems with installing Math::Pari, here. Except this is for shell and I have cpanm. I downloaded the latest version of Pari, Pari 2-7-6. Where should I extract the files in C:\Program Files (x86)\Pari-2-7-6 to install Math::Pari in perl (not in cpan shell however) successfully? Thanks in advance.

C:\Users\Jlinne\Documents> cpanm Math::Pari
--> Working on Math::Pari
Fetching http://www.cpan.org/authors/id/I/IL/ILYAZ/modules/Math-Pari-2.01080900.zip ... OK
Configuring Math-Pari-2.01080900 ... N/A
! Configure failed for Math-Pari-2.01080900. See C:\Users\Jlinne\.cpanm\work\1476648581.10216\build.log for details.

Answer

Here is an easy way on Windows:

  1. Download and extract the module: https://metacpan.org/pod/Math::Pari
  2. cd into the directory you created when extracting
  3. perl Makefile.PL force_download <- this downloads things to the right place
  4. dmake
  5. dmake install
Comments