Hi all, I'm getting the following error when trying to install win32::api which was downloaded from http://dada.perl.it/Win32-API-0.20.zip Any idea why?
C:\temp\Win32-API-0.20\Win32-API-0.20>nmake test Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. mkdir blib mkdir blib\lib mkdir blib\lib\Win32 mkdir blib\arch mkdir blib\arch\auto mkdir blib\arch\auto\Win32 mkdir blib\arch\auto\Win32\API mkdir blib\lib\auto mkdir blib\lib\auto\Win32 mkdir blib\lib\auto\Win32\API cp API.pm blib\lib\Win32\API.pm C:\Perl\bin\Perl.exe -IC:\Perl\lib -IC:\Perl\lib C:\Perl\lib\E +xtUtils/xsubpp -typemap C:\Perl\lib\ExtUtils\typemap -typemap typema +p API.xs > API.xsc && C:\Perl\bin\Perl.exe -IC:\Perl\lib -IC:\Perl\lib -MExtUtils +::Command -e mv API.xsc API.c cl -c -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_ +DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_ +READFIX -O1 -MD -DNDEBUG -DVERSION=\"0.20\" -DXS_VERSION=\"0.20\" -IC:\Per +l\lib\CORE API.c Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for +80x86 Copyright (C) Microsoft Corp 1984-1998. All rights reserved. API.c API.xs(155) : error C2065: 'na' : undeclared identifier NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop.

In reply to error installing win32::api by jhgrizz

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!
  • 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:
    & &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.