C:\Perl64>ppm install Math::Pari ppm install failed: Can't find any package that provides Math::Pari #### C:\Users\Administrator>cpan Math::Pari Set up gcc environment - gcc.exe (rubenvb-4.5.4) 4.5.4 CPAN: Term::ANSIColor loaded ok (v4.02) CPAN: Storable loaded ok (v2.34) Reading 'C:\Perl64\cpan\Metadata' Database was generated on Thu, 11 Apr 2013 10:07:29 GMT Running install for module 'Math::Pari' Running make for I/IL/ILYAZ/modules/Math-Pari-2.01080605.tar.gz CPAN: Digest::SHA loaded ok (v5.84) CPAN: Compress::Zlib loaded ok (v2.06) Checksum for C:\Perl64\cpan\sources\authors\id\I\IL\ILYAZ\modules\Math-Pari-2.01080605.tar.gz ok CPAN: Archive::Tar loaded ok (v1.90) Math-Pari-2.01080605/ Math-Pari-2.01080605/Changes Math-Pari-2.01080605/func_codes.h Math-Pari-2.01080605/INSTALL Math-Pari-2.01080605/libPARI/ Math-Pari-2.01080605/libPARI/codes_2014 Math-Pari-2.01080605/libPARI/expected_codes Math-Pari-2.01080605/libPARI/extract_codes.pl Math-Pari-2.01080605/libPARI/gphelp Math-Pari-2.01080605/libPARI/Makefile.PL Math-Pari-2.01080605/Makefile.PL Math-Pari-2.01080605/MANIFEST Math-Pari-2.01080605/META.yml Math-Pari-2.01080605/Pari.pm Math-Pari-2.01080605/Pari.xs Math-Pari-2.01080605/PariInit.pm Math-Pari-2.01080605/patches/ Math-Pari-2.01080605/patches/diff_2.1.2_gccism Math-Pari-2.01080605/patches/diff_2.1.3_interface Math-Pari-2.01080605/patches/diff_2.1.4_interface Math-Pari-2.01080605/patches/diff_2.1.6_align_power_of_2 Math-Pari-2.01080605/patches/diff_2.1.6_no-common Math-Pari-2.01080605/patches/diff_2.1.6_ploth64 Math-Pari-2.01080605/patches/diff_2.1.7_-O Math-Pari-2.01080605/patches/diff_2.1.7_div Math-Pari-2.01080605/patches/diff_2.1.7_mingw-w64 Math-Pari-2.01080605/patches/diff_2.1.7_restart Math-Pari-2.01080605/patches/diff_2.2.2_interface Math-Pari-2.01080605/patches/diff_2.3.5_mingw-w64 Math-Pari-2.01080605/patches/diff_pari-2.1.3-ix86-divl Math-Pari-2.01080605/patches/patch-pari-unnormalized-float Math-Pari-2.01080605/README Math-Pari-2.01080605/t/ Math-Pari-2.01080605/t/000_load-problem.t Math-Pari-2.01080605/t/00_Pari.t Math-Pari-2.01080605/t/PlotRect.t Math-Pari-2.01080605/t/zz_leak.t Math-Pari-2.01080605/test_eng/ Math-Pari-2.01080605/test_eng/ex.t Math-Pari-2.01080605/test_eng/Testout.pm Math-Pari-2.01080605/TODO Math-Pari-2.01080605/typemap Math-Pari-2.01080605/utils/ Math-Pari-2.01080605/utils/chap3_to_pod Math-Pari-2.01080605/utils/comp_funcs.pl Math-Pari-2.01080605/utils/foncpari.pl Math-Pari-2.01080605/utils/inc.h Math-Pari-2.01080605/utils/inc_h.diff Math-Pari-2.01080605/utils/Math/ Math-Pari-2.01080605/utils/Math/PariBuild.pm Math-Pari-2.01080605/utils/notes Math-Pari-2.01080605/utils/paridoc_to_pod Math-Pari-2.01080605/utils/README CPAN: File::Temp loaded ok (v0.22) CPAN: Parse::CPAN::Meta loaded ok (v1.4404) CPAN: CPAN::Meta loaded ok (v2.120921) CPAN: Module::CoreList loaded ok (v2.80) CPAN.pm: Building I/IL/ILYAZ/modules/Math-Pari-2.01080605.tar.gz Set up gcc environment - gcc.exe (rubenvb-4.5.4) 4.5.4 Did not find GP/PARI build directory around. Do you want to me to fetch GP/PARI automatically? (If you do not, you will need to fetch it manually, and/or direct me to the directory with GP/PARI source via the command-line option paridir=/dir) Make sure you have a large scrollback buffer to see the messages, or `tee' the STDOUT/STDERR to a file. Fetch? (y/n, press Enter) y Getting GP/PARI from ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/ Not in this directory, now chdir('OLD')... Available beta versions: `2.0.20 2.0.18 2.0.17 2.0.16 2.0.21 2.0.19' Latest supported beta is `pari-2.0.21.beta.tgz' Available golden versions: `2.1.6 2.1.3 2.1.0 2.1.1 2.1.5 2.1.7 1.39.03 2.1.2 2.1.4' Latest supported golden is `pari-2.1.7.tgz' Picking golden version 2.1.7, file pari-2.1.7.tgz Downloading `ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/pari-2.1.7.tgz'... Downloaded... Extracting... gzip -dc pari-2.1.7.tgz | tar -xvf - 'gzip' is not recognized as an internal or external command, operable program or batch file. Can't un-targz PARI: $!=Bad file descriptor, exitcode=65280. Now retry with "C:\Perl64\bin\perl.exe" "-MArchive::Tar" "-wle" "Archive::Tar->new(shift)->extract()" "pari-2.1.7.tgz" Looking for patches for 2.1.7... Patching... 'patch' is not recognized as an internal or external command, operable program or batch file. cd pari-2.1.7 && patch -p1 < ..\patches\diff_2.1.7_mingw-w64 'patch' is not recognized as an internal or external command, operable program or batch file. ...Could not patch: $?=256, ; continuing anyway... cd pari-2.1.7 && patch -p1 < ..\patches\patch-pari-unnormalized-float 'patch' is not recognized as an internal or external command, operable program or batch file. ...Could not patch: $?=256, ; continuing anyway... cd pari-2.1.7 && patch -p1 < ..\patches\diff_2.1.7_-O 'patch' is not recognized as an internal or external command, operable program or batch file. ...Could not patch: $?=256, ; continuing anyway... cd pari-2.1.7 && patch -p1 < ..\patches\diff_2.1.7_div 'patch' is not recognized as an internal or external command, operable program or batch file. ...Could not patch: $?=256, ; continuing anyway... cd pari-2.1.7 && patch -p1 < ..\patches\diff_2.1.6_align_power_of_2 'patch' is not recognized as an internal or external command, operable program or batch file. ...Could not patch: $?=256, ; continuing anyway... cd pari-2.1.7 && patch -p1 < ..\patches\diff_2.1.7_restart 'patch' is not recognized as an internal or external command, operable program or batch file. ...Could not patch: $?=256, ; continuing anyway... Finished patching... Setting up Math::Pari with Perl 5.016003 on MSWin32 version 5.2; cc=C:\Perl64\site\bin\gcc.exe, gccversion=gcc.exe (rubenvb-4.5.4) 4.5.4, cccdlflags=' ', ccflags='-DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DHASATTRIBUTE -fno-strict-aliasing -mms-bitfields', optimize='-O2', ld=C:\Perl64\site\bin\g++.exe, ldflags='-L"C:\Perl64\lib\CORE"'. Found GP/PARI build directory in pari-2.1.7 (integer-formatted version 2001007). ### GP/PARI library version 2.1.* has many problems fixed in versions 2.3.*. ### Especially important are the problems with symbols `hiremainder' and ### `overflow' - if your build fails and error messages contain these ### words, updating to 2.3.* might allow your use of fast processor-specific ### assembler code.) ### Switching to 2.3.* should be as simple as giving Makefile.PL an option ### version23_ok=1 ### (if you or Makefile.PL already downloaded-and-extracted version-2.1.* ### distribution, give an extra option, force_download). ### Alternatively, give option ### paridir=DIRECTORY-of-extracted-distribution ### However, keep in mind: v.2.3.* supports only plotting to PostScript. . . . Checking if your kit is complete... Looks good Warning (mostly harmless): No library found for -lm Warning (mostly harmless): No library found for -lkernel32 Warning (mostly harmless): No library found for -luser32 Warning (mostly harmless): No library found for -lgdi32 Warning (mostly harmless): No library found for -lwinspool Warning (mostly harmless): No library found for -lcomdlg32 Warning (mostly harmless): No library found for -ladvapi32 Warning (mostly harmless): No library found for -lshell32 Warning (mostly harmless): No library found for -lole32 Warning (mostly harmless): No library found for -loleaut32 Warning (mostly harmless): No library found for -lnetapi32 Warning (mostly harmless): No library found for -luuid Warning (mostly harmless): No library found for -lws2_32 Warning (mostly harmless): No library found for -lmpr Warning (mostly harmless): No library found for -lwinmm Warning (mostly harmless): No library found for -lversion Warning (mostly harmless): No library found for -lodbc32 Warning (mostly harmless): No library found for -lodbccp32 Warning (mostly harmless): No library found for -lcomctl32 Warning (mostly harmless): No library found for -lmsvcrt 'uname' is not recognized as an internal or external command, operable program or batch file. ...Processor of family `' detected #### Do not know how to build for assembler `'. #### #### Reversing to assembler-less type `port'. #### #### #### #### If you think your processor's assembler is supported #### #### by PARI, edit libPARI/Makefile.PL and report. #### #### #### #### Alternatively, specify machine=YOURTYPE or machine=none #### #### on the #### #### perl Makefile.PL #### #### command line. #### #### Recognized types: #### #### alpha hppa m86k none sparcv7 sparcv8 sparcv8_micro #### #### sparcv8_super ix86 (ppc ia64 after 2.2.7) #### ...I will use portable assembler-less build ...Assembler is GNU assembler Warning (mostly harmless): No library found for -lm Warning (mostly harmless): No library found for -lkernel32 Warning (mostly harmless): No library found for -luser32 Warning (mostly harmless): No library found for -lgdi32 Warning (mostly harmless): No library found for -lwinspool Warning (mostly harmless): No library found for -lcomdlg32 Warning (mostly harmless): No library found for -ladvapi32 Warning (mostly harmless): No library found for -lshell32 Warning (mostly harmless): No library found for -lole32 Warning (mostly harmless): No library found for -loleaut32 Warning (mostly harmless): No library found for -lnetapi32 Warning (mostly harmless): No library found for -luuid Warning (mostly harmless): No library found for -lws2_32 Warning (mostly harmless): No library found for -lmpr Warning (mostly harmless): No library found for -lwinmm Warning (mostly harmless): No library found for -lversion Warning (mostly harmless): No library found for -lodbc32 Warning (mostly harmless): No library found for -lodbccp32 Warning (mostly harmless): No library found for -lcomctl32 Warning (mostly harmless): No library found for -lmsvcrt Writing Makefile for Math::PARI::libPARI Writing MYMETA.yml and MYMETA.json Writing Makefile for Math::Pari Writing MYMETA.yml and MYMETA.json . . . . . In file included from c:\perl64\site\lib\auto\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.5.4/../../../../x86_64-w64-mingw32/include/winnt.h:1446:0, from c:\perl64\site\lib\auto\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.5.4/../../../../x86_64-w64-mingw32/include/windef.h:137, from c:\perl64\site\lib\auto\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.5.4/../../../../x86_64-w64-mingw32/include/windows.h:59, from ../pari-2.1.7/src/gp/highlvl.c:77: c:\perl64\site\lib\auto\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.5.4/../../../../x86_64-w64-mingw32/include/intrin.h: At top level: c:\perl64\site\lib\auto\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.5.4/../../../../x86_64-w64-mingw32/include/intrin.h:306:5: error: conflicting types for 'abs' In file included from c:\perl64\site\lib\auto\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.5.4/../../../../x86_64-w64-mingw32/include/windows.h:62:0, from ../pari-2.1.7/src/gp/highlvl.c:77: c:\perl64\site\lib\auto\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.5.4/../../../../x86_64-w64-mingw32/include/winuser.h:4070:72: error: expected ';', ',' or ')' before 'gpsi' c:\perl64\site\lib\auto\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.5.4/../../../../x86_64-w64-mingw32/include/winuser.h:4071:75: error: expected ';', ',' or ')' before 'gpsi' ../pari-2.1.7/src/gp/highlvl.c: In function 'type0': ../pari-2.1.7/src/gp/highlvl.c:201:25: warning: cast from pointer to integer of different size ../pari-2.1.7/src/gp/highlvl.c:204:8: warning: cast from pointer to integer of different size ../pari-2.1.7/src/gp/highlvl.c:218:12: warning: cast from pointer to integer of different size dmake.exe: Error code 129, while making 'highlvl.o' dmake.exe: Error code 255, while making 'libPARI\libPARI.a' ILYAZ/modules/Math-Pari-2.01080605.tar.gz C:\Perl64\site\bin\dmake.exe -- NOT OK CPAN: YAML::XS loaded ok (v0.39) Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible