June 2011 Archives

VS2010 Is Too Old?

> cpan Win32::Console::ANSI

ANSI.xs(12) : fatal error C1189: #error : your SDK is too old... (see the README file in the distro)

@Set INCLUDE=C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include
@Set INCLUDE=%INCLUDE%;C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE

Installing IO::All on Win32 (no Cygwin)

IO:All 0.41 can be installed successfully on Win32 (no Cygwin), if the test fails and spews something like this:

# Failed test at t/file_spec.t line 28.
# got: '33'
# expected: '34'
# Looks like you failed 1 test of 27.
t/file_spec.t ........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/27 subtests

The alternatives:

  • fix your %PATH% of more than one partition character (';')
  • fix t/file_spec.t

About Leo Susanto

user-pic I blog about Perl.