Subject: | nmake fails on ActivePerl Win32 -- no unistd.h file found |
Can't build the module using Microsoft's VS.NET nmake v7.00.9466 on
Windows XP SP1.
Here's the error:
C:\DOCUME~1\gardnema\APPLIC~1\.cpanplus\5.8.8\build\Data-UUID-0.14>perl
Makefile.PL
UUID state storage [C:\WINNT\TEMP]
default umask [0007]
Note (probably harmless): No library found for -lsocket
Writing Makefile for Data::UUID
C:\DOCUME~1\gardnema\APPLIC~1\.cpanplus\5.8.8\build\Data-UUID-0.14>nmake
Microsoft (R) Program Maintenance Utility Version 7.00.9466
Copyright (C) Microsoft Corporation. All rights reserved.
cl -c -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE
-DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
-DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.14\"
-DXS_VERSION=\"0.14\" "-IC:\Perl\lib\CORE" -D_STDIR=\"C:\WINNT\TEMP\"
-D__MSWin32__ -D_DEFAULT_UMASK=0007 UUID.c UUID.c
c:\Documents and Settings\gardnema\Application
Data\.cpanplus\5.8.8\build\Data-UUID-0.14\UUID.h(10) : fatal error
C1083: Cannot open include file: 'unistd.h': No such file or directory
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
C:\DOCUME~1\gardnema\APPLIC~1\.cpanplus\5.8.8\build\Data-UUID-0.14>
And here's my perl -v:
This is perl, v5.8.8 built for MSWin32-x86-multi-thread
(with 25 registered patches, see perl -V for more detail)
Copyright 1987-2006, Larry Wall
Binary build 817 [257965] provided by ActiveState http://www.ActiveState.com
Built Mar 20 2006 17:54:25