I need to install Math::Pari on Ubuntu 12.04 running under VirtualBox inorder to get Net::SFTP installed. Using another package is not an option, as this is in support of existing code.

The issue is with mpinl.h, which doesn't seem to exist... any thoughts? thanks!

Going to read '/local/home/seth/.cpan/Metadata' Database was generated on Tue, 06 Nov 2012 19:12:27 GMT Running install for module 'install' Running make for D/DA/DAGOLDEN/install-0.01.tar.gz Checksum for /local/home/seth/.cpan/sources/authors/id/D/DA/DAGOLDEN/i +nstall-0.01.tar.gz ok CPAN.pm: Going to build D/DA/DAGOLDEN/install-0.01.tar.gz Checking if your kit is complete... Looks good Writing Makefile for install Writing MYMETA.yml and MYMETA.json cp lib/install.pm blib/lib/install.pm Manifying blib/man3/install.3pm DAGOLDEN/install-0.01.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_h +arness(0, 'blib/lib', 'blib/arch')" t/*.t t/install.t .. ok All tests successful. Files=1, Tests=1, 0 wallclock secs ( 0.00 usr + 0.01 sys = 0.01 CPU +) Result: PASS DAGOLDEN/install-0.01.tar.gz /usr/bin/make test -- OK Running make install Manifying blib/man3/install.3pm Installing /usr/local/share/perl/5.14.2/install.pm Installing /usr/local/man/man3/install.3pm Appending installation info to /usr/lib/perl/5.14/perllocal.pod DAGOLDEN/install-0.01.tar.gz /usr/bin/make install -- OK Running install for module 'Math::Pari' Running make for I/IL/ILYAZ/modules/Math-Pari-2.01080605.tar.gz Checksum for /local/home/seth/.cpan/sources/authors/id/I/IL/ILYAZ/modu +les/Math-Pari-2.01080605.tar.gz ok CPAN.pm: Going to build I/IL/ILYAZ/modules/Math-Pari-2.01080605.tar. +gz Filtered out versions too new... Setting up Math::Pari with Perl 5.014002 on linux version 2.6.24-31-se +rver; cc=cc, gccversion=4.6.3, cccdlflags='-fPIC', ccflags='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing - +pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FI +LE_OFFSET_BITS=64', optimize='-O2 -g', ld=cc, ldflags=' -fstack-protector -L/usr/local/lib'. Found GP/PARI build directory in ../../../pari-2.5.0 (integer-formatted version 2005000). ...Generating libPARI/paricfg.h ... Scanning header files... ...ulong ...getrusage ...CLK_TCK not defined Creating libPARI/paricfg.h... ...Processor of family `ix86' detected Checking if your kit is complete... Looks good ...Processor of family `ix86' detected ...I will use assembler build of type 'ix86'. ...Assembler is GNU assembler Writing Makefile for Math::PARI::libPARI Writing MYMETA.yml and MYMETA.json Writing Makefile for Math::Pari Writing MYMETA.yml and MYMETA.json cp libPARI.dumb.pod blib/lib/Math/libPARI.dumb.pod cp PariInit.pm blib/lib/Math/PariInit.pm cp Pari.pm blib/lib/Math/Pari.pm cp libPARI.pod blib/lib/Math/libPARI.pod cd libPARI && make LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPTIMIZE=" +-O2 -g" PREFIX="/usr/local" PASTHRU_DEFINE="" PASTHRU_INC="" make[1]: Entering directory `/local/home/seth/.cpan/build/Math-Pari-2. +01080605-fVxM5c/libPARI' /usr/bin/perl -wle "print q(#ifndef ASMINLINE)" > pariinl.h /usr/bin/perl -pe1 ../../../../pari-2.5.0/src/kernel/none/addll.h ../. +./../../pari-2.5.0/src/kernel/none/mulll.h ../../../../pari-2.5.0/src +/kernel/none/bfffo.h ../../../../pari-2.5.0/src/kernel/none/divll.h + >> pariinl.h /usr/bin/perl -wle "print q(#endif)" >> pariinl.h /usr/bin/perl -pe1 ../../../../pari-2.5.0/src/kernel/ix86/asm0.h ../.. +/../../pari-2.5.0/src/kernel/none/tune.h ../../../../pari-2.5.0/src/k +ernel/none/int.h ../../../../pari-2.5.0/src/kernel/none/level1.h + >> pariinl.h cc -c -I ../../../../pari-2.5.0/src -I ../../../../pari-2.5.0/src/hea +ders -I ../../../../pari-2.5.0/src/graph -I . -D_REENTRANT -D_GNU_SOU +RCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/loca +l/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSI +ON=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DASMINLINE -DGCC_INLI +NE -DDYNAMIC_PLOTTING -o ellsea.o ../../../../pari-2.5.0/src/modules/ +ellsea.c In file included from ../../../../pari-2.5.0/src/modules/ellsea.c:33:0 +: ../../../../pari-2.5.0/src/headers/pari.h:59:21: fatal error: mpinl.h: + No such file or directory compilation terminated. make[1]: *** [ellsea.o] Error 1 make[1]: Leaving directory `/local/home/seth/.cpan/build/Math-Pari-2.0 +1080605-fVxM5c/libPARI' make: *** [libPARI/libPARI.a] Error 2 ILYAZ/modules/Math-Pari-2.01080605.tar.gz /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible

In reply to Math::Pari question by sheidkam

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.