Thanks for the reply
I followed all the steps given in Practical Guide to Compiling C-based modules under Win32, also downloaded files from http://www.cs.nyu.edu/exact/core/gmp/.
I still got some errors
I got the following message when i ran makefile.pl
C:\downloads\Math-GMP-2.03>perl makefile.pl
Checking if your kit is complete...
Looks good
Writing Makefile for Math::GMP
With nmake I got an error as follows,
C:\downloads\Math-GMP-2.03>nmake
Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation. 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=\"2.03\"
-DXS_VERSION=\"2.03\" "-IC:\Perl\lib\CORE" GMP.c
GMP.c
c1 : warning C4349: /Gf is deprecated and will not be supported in future versio
ns of Visual C++; remove /Gf or use /GF instead
Running Mkbootstrap for Math::GMP ()
C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 GMP.bs
link -out:blib\arch\auto\Math\GMP\GMP.dll -dll -nologo -nodefaultlib -de
bug -opt:ref,icf -libpath:"C:\Perl\lib\CORE" -machine:x86 GMP.obj C:\Perl\li
b\CORE\perl58.lib C:\Perl\lib\CORE\gmp.lib C:\Perl\lib\CORE\oldnames.lib C:\Perl
\lib\CORE\kernel32.lib C:\Perl\lib\CORE\user32.lib C:\Perl\lib\CORE\gdi32.lib C:
\Perl\lib\CORE\winspool.lib C:\Perl\lib\CORE\comdlg32.lib C:\Perl\lib\CORE\advap
i32.lib C:\Perl\lib\CORE\shell32.lib C:\Perl\lib\CORE\ole32.lib C:\Perl\lib\CORE
\oleaut32.lib C:\Perl\lib\CORE\netapi32.lib C:\Perl\lib\CORE\uuid.lib C:\Perl\li
b\CORE\wsock32.lib C:\Perl\lib\CORE\mpr.lib C:\Perl\lib\CORE\winmm.lib C:\Perl\l
ib\CORE\version.lib C:\Perl\lib\CORE\odbc32.lib C:\Perl\lib\CORE\odbccp32.lib C:
\Perl\lib\CORE\msvcrt.lib -def:GMP.def
Creating library blib\arch\auto\Math\GMP\GMP.lib and object blib\arch\auto\Ma
th\GMP\GMP.exp
C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 755 blib\arch\auto\Mat
h\GMP\GMP.dll
C:\Perl\bin\perl.exe -MExtUtils::Command -e cp GMP.bs blib\arch\auto\Mat
h\GMP\GMP.bs
C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 blib\arch\auto\Mat
h\GMP\GMP.bs
with nmake test,
C:\downloads\Math-GMP-2.03>nmake test
I got a messge asking whether the following is ok
'The procedure entry point__gmpz_sqrt could not be located in the dynamic link library gmp.dll'
and also an error saying 'Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'bl
ib\lib', 'blib\arch')" t\gmppm.t
t\gmppm....Can't load 'C:\downloads\Math-GMP-2.03\blib\arch/auto/Math/GMP/GMP.dl
l' for module Math::GMP: load_file:The specified procedure could not be found at
C:/Perl/lib/DynaLoader.pm line 229.
at t\gmppm.t line 7
Compilation failed in require at t\gmppm.t line 7.
BEGIN failed--compilation aborted at t\gmppm.t line 7.
t\gmppm....dubious
Test returned status 255 (wstat 65280, 0xff00)
FAILED--1 test script could be run, alas--no output ever seen
NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0x2'
Stop.
What do I do now?
Thanks & regards
Nalina
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.