Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: installing Math::Pari on Windows

by arkturuz (Curate)
on Jul 29, 2013 at 18:25 UTC ( #1046904=note: print w/ replies, xml ) Need Help??


in reply to installing Math::Pari on Windows

What's the content of cpanminus' build.log?

Also, wrap your code output in <code> tags. It's easier to read it. See Writeup Formatting Tips.


Comment on Re: installing Math::Pari on Windows
Re^2: installing Math::Pari on Windows
by moez507 (Novice) on Jul 29, 2013 at 19:48 UTC
    cpanm (App::cpanminus) 1.5021 on perl 5.016002 built for MSWin32-x64-m +ulti-thread Work directory is /.cpanm/work/1375126747.1448 You have make C:\Perl64\site\bin\dmake.exe You have LWP 6.04 Falling back to Archive::Tar 1.90 You have C:\app\client\product\11.2.0\client_1\bin\unzip.exe Searching Math::Pari on cpanmetadb ... --> Working on Math::Pari Fetching http://www.cpan.org/authors/id/I/IL/ILYAZ/modules/Math-Pari-2 +.01080605.tar.gz -> OK Unpacking Math-Pari-2.01080605.tar.gz Entering Math-Pari-2.01080605 Checking configure dependencies from META.yml Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.64) Configuring Math-Pari-2.01080605 Running Makefile.PL Set up gcc environment - gcc.exe (rubenvb-4.5.4) 4.5.4 Did not find GP/PARI build directory around. Non-interactive session, autofetching... 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.0 +3 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" "Arc +hive::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.016002 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 -DCONSERVA +TIVE -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONT +EXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DHASATTRIBUTE -fno-strict-alias +ing -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 version +s 2.3.*. ### Especially important are the problems with symbols `hiremainder' + and ### `overflow' - if your build fails and error messages contain thes +e ### 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 versio +n-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 PostScr +ipt. ...Generating libPARI/paricfg.h ... Scanning header files... Note (probably harmless): Errors reading from pipe: '', exit=256: C:\P +erl64\site\bin\gcc.exe -E -DWIN32 utils/inc.h 2>&1 Creating libPARI/paricfg.h... 'uname' is not recognized as an internal or external command, operable program or batch file. ...Processor of family `' detected 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 not 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 -> OK Checking dependencies from MYMETA.json ... Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.64) Building and testing Math-Pari-2.01080605 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 && C:\Perl64\site\bin\dmake.exe C:\Perl64\bin\perl.exe -wle0 > pariinl.h C:\Perl64\bin\perl.exe -pe1 ../pari-2.1.7/src/kernel/none/level0.h ../ +pari-2.1.7/src/kernel/none/level1.h >> pariinl.h C:\Perl64\site\bin\gcc.exe -c -I ../pari-2.1.7/src -I ../pari-2.1.7/s +rc/headers -I ../pari-2.1.7/src/graph -I . -DNDEBUG -DWIN32 -D_CO +NSOLE -DNO_STRICT -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DUS +E_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PER +LIO -DHASATTRIBUTE -fno-strict-aliasing -mms-bitfields -DPERLDLL -O2 + -DVERSION=\"\" -DXS_VERSION=\"\" -Derr=pari_err -DASMINLIN +E -DGCC_INLINE -DDYNAMIC_PLOTTING -o es.o ../pari-2.1.7/src/language/ +es.c In file included from ../pari-2.1.7/src/headers/pari.h:94:0, from ../pari-2.1.7/src/language/es.c:21: ./pariinl.h: In function 'new_chunk': ./pariinl.h:368:18: warning: cast to pointer from integer of different + size
      I missed the thing that you're using ActiveState's Perl. You should probably try to install Math::Pari with their own tool: PPM (as discused in a previous thread.
        Hello , i saw the thread you have posted. I tried installing from that location but I have a Windows 64 bit platform . I am unable to find a .ppd file for my platform

        For the GUI interface of ppm , entering Math-Pari in the search box gives no results
Reaped: Re^2: installing Math::Pari on Windows
by NodeReaper (Curate) on Jul 29, 2013 at 19:58 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1046904]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2015-07-05 15:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls