GMP For Windows
Peter Leong
peter.leong at e2open.com
Tue May 31 12:34:30 CEST 2005
Hi Sisyphus,
Thanks a lot it worked now I used the ppm way.
However I am having problem now with Cyrpt::DSA installation.
Over the few weeks that I have picked up Perl, I realized that I can
install Perl modules from CPAN using the following steps.
1) Makefile.PL
2) Nmake
3) Nmake Test
4) Nmake Install
Even if I fail I can use the PPM way :)
Anyway, most of the CPAN modules will get installed successfully,
however I have encountered a few which failed at the nmake level.
Do you know what I am missing here? I get the feeling it's the make
utility that I giving me the problem.
C:\Perl\Crypt-IDEA-1.02>nmake
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
cp IDEA.pod blib\lib\Crypt\IDEA.pod
cp IDEA.pm blib\lib\Crypt\IDEA.pm
C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils/xsubpp -typemap
C:\Perl\lib\E
xtUtils\typemap -typemap typemap IDEA.xs > IDEA.xsc &&
C:\Perl\bin\perl.exe -ME
xtUtils::Command -e mv IDEA.xsc IDEA.c
Please specify prototyping behavior for IDEA.xs (see perlxs manual)
cl -c -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE
-DNO_ST
RICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SY
S -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1
-DVERSION=\"1.02\"
-DXS_VERSION=\"1.02\" "-IC:\Perl\lib\CORE" IDEA.c
'cl' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code
'0x1'
Stop.
C:\Perl\String-CRC32-1.3>Makefile.PL
Writing Makefile for String::CRC32
C:\Perl\String-CRC32-1.3>nmake
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
cl -c -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE
-DNO_ST
RICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SY
S -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1
-DVERSION=\"1.3\"
-DXS_VERSION=\"1.3\" "-IC:\Perl\lib\CORE" CRC32.c
'cl' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code
'0x1'
Stop.
Thanks
Peter
-----Original Message-----
From: Sisyphus [mailto:sisyphus1 at optusnet.com.au]
Sent: Tuesday, May 31, 2005 6:06 PM
To: Peter Leong; gmp-discuss at swox.com
Subject: Re: GMP For Windows
----- Original Message -----
From: "Peter Leong" <peter.leong at e2open.com>
To: <gmp-discuss at swox.com>
Sent: Tuesday, May 31, 2005 6:02 PM
Subject: GMP For Windows
Hi All,
I am new to this user list and was hoping to get some help on GMP
installation. I was trying to install Math::GMP from CPAN and it
requires me to install GMP library which brought me to this user list
"grinning".
-----------------------
Hi Peter,
I'll let others give you the links to Delta Trinity's GMP binaries, and
to Brian Gladman's instructions on how to build GMP using MS Visual
Studio (- mainly because I don't have those links currently at my
fingertips).
However, if you're after a quick'n'simple fix, Math::GMP binaries for
any Win32 multi-threaded perl 5.8 (or 5.6) can be obtained from
http://www.kalinabears.com.au/w32perl/math_gmp.html
Those binaries were built against a static GMP (version 4.1.4) library -
so they work perfectly well without having GMP installed on your
computer. See the Readme file that's included with the binaries for
installation instructions - it's very simple, especially if you have the
ppm utility.
Cheers,
Rob
More information about the gmp-discuss
mailing list