Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
Hello Monks,

I am trying to install Net:SSH::Perl module on my windows 2008 R2 64 bit operating system. The overall installation fails when it tries to install Math::Pari module which is one of the dependency module required for Net:SSH::Perl. I am pasting the exact error below:

cpan> install Math::Pari Running install for module 'Math::Pari' Running make for I/IL/ILYAZ/modules/Math-Pari-2.01080605.tar.gz Fetching with LWP: http://ppm.activestate.com/CPAN/authors/id/I/IL/ILYAZ/modules/CHECKSU +MS Catching error: "Transfer truncated: only 25764 out of 101425 bytes r +eceived\cJ" at C:\Perl64\lib/CPAN.pm line 392. CPAN::shell() called at C:\Perl64\lib/App/Cpan.pm line 295 App::Cpan::_process_options('App::Cpan') called at C:\Perl64\ +lib/App/Cpan.pm line 364 App::Cpan::run('App::Cpan') called at C:\Perl64\bin/cpan.bat +line 24 cpan>

The error is catching transfered here, but the module gets fully downloaded in "C:\Perl64\cpan\sources\authors\id\I\IL\ILYAZ\modules" location. Module name: Math-Pari-2.01080605.tar.gz

When I try the above module manually, using commands: "perl Makefile.PL && dmake install. I end up with below error:

C:\Perl64\cpan\sources\authors\id\I\IL\ILYAZ\modules\Math-Pari-2.010 +80605>perl Makefile.PL 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 parid +ir=/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.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.016001 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_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 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 Note (probably harmless): No library found for -lm Note (probably harmless): No library found for -lkernel32 Note (probably harmless): No library found for -luser32 Note (probably harmless): No library found for -lgdi32 Note (probably harmless): No library found for -lwinspool Note (probably harmless): No library found for -lcomdlg32 Note (probably harmless): No library found for -ladvapi32 Note (probably harmless): No library found for -lshell32 Note (probably harmless): No library found for -lole32 Note (probably harmless): No library found for -loleaut32 Note (probably harmless): No library found for -lnetapi32 Note (probably harmless): No library found for -luuid Note (probably harmless): No library found for -lws2_32 Note (probably harmless): No library found for -lmpr Note (probably harmless): No library found for -lwinmm Note (probably harmless): No library found for -lversion Note (probably harmless): No library found for -lodbc32 Note (probably harmless): No library found for -lodbccp32 Note (probably harmless): No library found for -lcomctl32 Note (probably 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 Note (probably harmless): No library found for -lm Note (probably harmless): No library found for -lkernel32 Note (probably harmless): No library found for -luser32 Note (probably harmless): No library found for -lgdi32 Note (probably harmless): No library found for -lwinspool Note (probably harmless): No library found for -lcomdlg32 Note (probably harmless): No library found for -ladvapi32 Note (probably harmless): No library found for -lshell32 Note (probably harmless): No library found for -lole32 Note (probably harmless): No library found for -loleaut32 Note (probably harmless): No library found for -lnetapi32 Note (probably harmless): No library found for -luuid Note (probably harmless): No library found for -lws2_32 Note (probably harmless): No library found for -lmpr Note (probably harmless): No library found for -lwinmm Note (probably harmless): No library found for -lversion Note (probably harmless): No library found for -lodbc32 Note (probably harmless): No library found for -lodbccp32 Note (probably harmless): No library found for -lcomctl32 Note (probably 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 C:\Perl64\cpan\sources\authors\id\I\IL\ILYAZ\modules\Math-Pari-2.01080 +605>

I also tried installing Visual Studio to avoid gcc installer problem and gave similar attempt with 32 bit perl version on 64 bit OS?

One more attempt was to install the Math-Pari.ppd, but it gave below error:

C:\>ppm install http://theoryx5.uwinnipeg.ca/ppmpackages/Math-Pari.ppd ppm install failed: The PPD does not provide code to install for this +platform

Perl Version:
-------------
C:\>perl -v This is perl 5, version 16, subversion 1 (v5.16.1) built for MSWin32-x64-multi-thread (with 1 registered patch, see perl -V for more detail) Copyright 1987-2012, Larry Wall Binary build 1601 296175 provided by ActiveState http://www.ActiveState.com Built Aug 30 2012 18:41:50 Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page.

Host detail:
---------------
C:\>systeminfo.exe OS Name: Microsoft Windows Server 2008 R2 Enterprise OS Version: 6.1.7600 N/A Build 7600 OS Manufacturer: Microsoft Corporation OS Configuration: Standalone Server OS Build Type: Multiprocessor Free Registered Owner: Windows User System Manufacturer: IBM System Model: IBM System x3550 -7978C1A- System Type: x64-based PC

Have anyone tried installing Math::Pari or Net::SSH::Perl module successfully on windows 2008 64 bit OS?

Any suggestion would be very useful !! I'm kind of stuck in this for a couple of days.

Thanks,
Nikhil.

In reply to Installing Math::Pari module on Windows 2008 by Anonymous Monk

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!
  • 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, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others cooling their heels in the Monastery: (7)
    As of 2014-07-26 10:00 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      My favorite superfluous repetitious redundant duplicative phrase is:









      Results (175 votes), past polls