# running Build.PL /Users/cpanrun/build/5.8.8/bin/perl Build.PL Checking whether your kit is complete... Looks good Checking prerequisites... Looks good Creating new 'Build' script for 'MSDOS-Attrib' version '1.03' /Users/cpanrun/build/5.8.8/bin/perl Build --makefile_env_macros 1 Copying lib/MSDOS/Attrib.pm -> blib/lib/MSDOS/Attrib.pm lib/MSDOS/Attrib.xs -> lib/MSDOS/Attrib.c gcc -I/Users/cpanrun/build/5.8.8/lib/5.8.8/darwin-thread-multi-2level/CORE -DXS_VERSION="1.03" -DVERSION="1.03" -c -fno-common -DPERL_DARWIN -no-cpp-precomp -arch ppc -arch i386 -nostdinc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc -isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks -mmacosx-version-min=10.3 -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -fno-strict-aliasing -pipe -Wdeclaration-after-statement -O3 -o lib/MSDOS/Attrib.o lib/MSDOS/Attrib.c lib/MSDOS/Attrib.xs:27:23: error: windows.h: No such file or directory lib/MSDOS/Attrib.xs:33: error: parse error before 'ULONG' lib/MSDOS/Attrib.xs:33: warning: data definition has no type or storage class lib/MSDOS/Attrib.xs: In function 'constant': lib/MSDOS/Attrib.xs:56: error: 'FILE_ATTRIBUTE_READONLY' undeclared (first use in this function) lib/MSDOS/Attrib.xs:56: error: (Each undeclared identifier is reported only once lib/MSDOS/Attrib.xs:56: error: for each function it appears in.) lib/MSDOS/Attrib.xs:58: error: 'FILE_ATTRIBUTE_HIDDEN' undeclared (first use in this function) lib/MSDOS/Attrib.xs:60: error: 'FILE_ATTRIBUTE_SYSTEM' undeclared (first use in this function) lib/MSDOS/Attrib.xs:62: error: 'FILE_ATTRIBUTE_DIRECTORY' undeclared (first use in this function) lib/MSDOS/Attrib.xs:64: error: 'FILE_ATTRIBUTE_ARCHIVE' undeclared (first use in this function) lib/MSDOS/Attrib.xs: In function 'get_attribs': lib/MSDOS/Attrib.xs:114: error: 'DWORD' undeclared (first use in this function) lib/MSDOS/Attrib.xs:114: error: parse error before 'rc' lib/MSDOS/Attrib.xs:116: error: 'rc' undeclared (first use in this function) lib/MSDOS/Attrib.xs:120: error: 'ERROR_PATH_NOT_FOUND' undeclared (first use in this function) lib/MSDOS/Attrib.xs:120: error: 'ERROR_FILE_NOT_FOUND' undeclared (first use in this function) lib/MSDOS/Attrib.xs:127: error: 'FILE_ATTRIBUTE_READONLY' undeclared (first use in this function) lib/MSDOS/Attrib.xs:128: error: 'FILE_ATTRIBUTE_HIDDEN' undeclared (first use in this function) lib/MSDOS/Attrib.xs:129: error: 'FILE_ATTRIBUTE_SYSTEM' undeclared (first use in this function) lib/MSDOS/Attrib.xs:130: error: 'FILE_ATTRIBUTE_ARCHIVE' undeclared (first use in this function) lib/MSDOS/Attrib.xs:131: error: 'FILE_ATTRIBUTE_DIRECTORY' undeclared (first use in this function) lib/MSDOS/Attrib.xs: At top level: lib/MSDOS/Attrib.xs:157: error: parse error before 'ULONG' lib/MSDOS/Attrib.xs: In function '_set_attribs': lib/MSDOS/Attrib.xs:185: error: 'DWORD' undeclared (first use in this function) lib/MSDOS/Attrib.xs:185: error: parse error before 'rc' lib/MSDOS/Attrib.xs:187: error: 'rc' undeclared (first use in this function) lib/MSDOS/Attrib.xs:187: error: 'path' undeclared (first use in this function) lib/MSDOS/Attrib.xs:192: error: 'clear' undeclared (first use in this function) lib/MSDOS/Attrib.xs:193: error: 'set' undeclared (first use in this function) lib/MSDOS/Attrib.xs:199: error: 'ERROR_PATH_NOT_FOUND' undeclared (first use in this function) lib/MSDOS/Attrib.xs:199: error: 'ERROR_FILE_NOT_FOUND' undeclared (first use in this function) lib/MSDOS/Attrib.xs:201: error: 'ERROR_ACCESS_DENIED' undeclared (first use in this function) lib/MSDOS/Attrib.xs:201: error: 'ERROR_SHARING_VIOLATION' undeclared (first use in this function) lib/MSDOS/Attrib.xs:27:23: error: windows.h: No such file or directory lib/MSDOS/Attrib.xs:33: error: parse error before 'ULONG' lib/MSDOS/Attrib.xs:33: warning: data definition has no type or storage class lib/MSDOS/Attrib.xs: In function 'constant': lib/MSDOS/Attrib.xs:56: error: 'FILE_ATTRIBUTE_READONLY' undeclared (first use in this function) lib/MSDOS/Attrib.xs:56: error: (Each undeclared identifier is reported only once lib/MSDOS/Attrib.xs:56: error: for each function it appears in.) lib/MSDOS/Attrib.xs:58: error: 'FILE_ATTRIBUTE_HIDDEN' undeclared (first use in this function) lib/MSDOS/Attrib.xs:60: error: 'FILE_ATTRIBUTE_SYSTEM' undeclared (first use in this function) lib/MSDOS/Attrib.xs:62: error: 'FILE_ATTRIBUTE_DIRECTORY' undeclared (first use in this function) lib/MSDOS/Attrib.xs:64: error: 'FILE_ATTRIBUTE_ARCHIVE' undeclared (first use in this function) lib/MSDOS/Attrib.xs: In function 'get_attribs': lib/MSDOS/Attrib.xs:114: error: 'DWORD' undeclared (first use in this function) lib/MSDOS/Attrib.xs:114: error: parse error before 'rc' lib/MSDOS/Attrib.xs:116: error: 'rc' undeclared (first use in this function) lib/MSDOS/Attrib.xs:120: error: 'ERROR_PATH_NOT_FOUND' undeclared (first use in this function) lib/MSDOS/Attrib.xs:120: error: 'ERROR_FILE_NOT_FOUND' undeclared (first use in this function) lib/MSDOS/Attrib.xs:127: error: 'FILE_ATTRIBUTE_READONLY' undeclared (first use in this function) lib/MSDOS/Attrib.xs:128: error: 'FILE_ATTRIBUTE_HIDDEN' undeclared (first use in this function) lib/MSDOS/Attrib.xs:129: error: 'FILE_ATTRIBUTE_SYSTEM' undeclared (first use in this function) lib/MSDOS/Attrib.xs:130: error: 'FILE_ATTRIBUTE_ARCHIVE' undeclared (first use in this function) lib/MSDOS/Attrib.xs:131: error: 'FILE_ATTRIBUTE_DIRECTORY' undeclared (first use in this function) lib/MSDOS/Attrib.xs: At top level: lib/MSDOS/Attrib.xs:157: error: parse error before 'ULONG' lib/MSDOS/Attrib.xs: In function '_set_attribs': lib/MSDOS/Attrib.xs:185: error: 'DWORD' undeclared (first use in this function) lib/MSDOS/Attrib.xs:185: error: parse error before 'rc' lib/MSDOS/Attrib.xs:187: error: 'rc' undeclared (first use in this function) lib/MSDOS/Attrib.xs:187: error: 'path' undeclared (first use in this function) lib/MSDOS/Attrib.xs:192: error: 'clear' undeclared (first use in this function) lib/MSDOS/Attrib.xs:193: error: 'set' undeclared (first use in this function) lib/MSDOS/Attrib.xs:199: error: 'ERROR_PATH_NOT_FOUND' undeclared (first use in this function) lib/MSDOS/Attrib.xs:199: error: 'ERROR_FILE_NOT_FOUND' undeclared (first use in this function) lib/MSDOS/Attrib.xs:201: error: 'ERROR_ACCESS_DENIED' undeclared (first use in this function) lib/MSDOS/Attrib.xs:201: error: 'ERROR_SHARING_VIOLATION' undeclared (first use in this function) lipo: can't open input file: /var/tmp//ccIpGANF.out (No such file or directory) error building lib/MSDOS/Attrib.o from 'lib/MSDOS/Attrib.c' at /Users/cpanrun/build/5.8.8/lib/site_perl/5.8.8/ExtUtils/CBuilder/Base.pm line 108. make: *** [all] Error 2