Checking if your kit is complete... Looks good Writing Makefile for OS2::Attrib cp Attrib.pm blib/lib/OS2/Attrib.pm /Users/cpanrun/pristine/5.8.7/bin/perl /Users/cpanrun/pristine/5.8.7/lib/5.8.7/ExtUtils/xsubpp -typemap /Users/cpanrun/pristine/5.8.7/lib/5.8.7/ExtUtils/typemap Attrib.xs > Attrib.xsc && mv Attrib.xsc Attrib.c gcc -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 -O3 -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" "-I/Users/cpanrun/pristine/5.8.7/lib/5.8.7/darwin-thread-multi-2level/CORE" Attrib.c Attrib.xs:23:17: error: os2.h: No such file or directory Attrib.xs: In function 'constant': Attrib.xs:45: error: 'FILE_READONLY' undeclared (first use in this function) Attrib.xs:45: error: (Each undeclared identifier is reported only once Attrib.xs:45: error: for each function it appears in.) Attrib.xs:47: error: 'FILE_HIDDEN' undeclared (first use in this function) Attrib.xs:49: error: 'FILE_SYSTEM' undeclared (first use in this function) Attrib.xs:51: error: 'FILE_DIRECTORY' undeclared (first use in this function) Attrib.xs:53: error: 'FILE_ARCHIVED' undeclared (first use in this function) Attrib.xs: In function 'get_attribs': Attrib.xs:80: error: 'FILESTATUS3' undeclared (first use in this function) Attrib.xs:80: error: parse error before 'buf' Attrib.xs:81: error: 'APIRET' undeclared (first use in this function) Attrib.xs:83: error: 'rc' undeclared (first use in this function) Attrib.xs:83: error: 'buf' undeclared (first use in this function) Attrib.xs:86: error: 'ERROR_PATH_NOT_FOUND' undeclared (first use in this function) Attrib.xs:94: error: 'FILE_READONLY' undeclared (first use in this function) Attrib.xs:95: error: 'FILE_HIDDEN' undeclared (first use in this function) Attrib.xs:96: error: 'FILE_SYSTEM' undeclared (first use in this function) Attrib.xs:97: error: 'FILE_ARCHIVED' undeclared (first use in this function) Attrib.xs:98: error: 'FILE_DIRECTORY' undeclared (first use in this function) Attrib.xs: At top level: Attrib.xs:123: error: parse error before 'ULONG' Attrib.xs: In function '_set_attribs': Attrib.xs:125: error: 'FILESTATUS3' undeclared (first use in this function) Attrib.xs:125: error: parse error before 'buf' Attrib.xs:126: error: 'APIRET' undeclared (first use in this function) Attrib.xs:128: error: 'rc' undeclared (first use in this function) Attrib.xs:128: error: 'path' undeclared (first use in this function) Attrib.xs:128: error: 'buf' undeclared (first use in this function) Attrib.xs:131: error: 'clear' undeclared (first use in this function) Attrib.xs:132: error: 'set' undeclared (first use in this function) Attrib.xs:138: error: 'ERROR_PATH_NOT_FOUND' undeclared (first use in this function) Attrib.xs:140: error: 'ERROR_SHARING_VIOLATION' undeclared (first use in this function) Attrib.xs:23:17: error: os2.h: No such file or directory Attrib.xs: In function 'constant': Attrib.xs:45: error: 'FILE_READONLY' undeclared (first use in this function) Attrib.xs:45: error: (Each undeclared identifier is reported only once Attrib.xs:45: error: for each function it appears in.) Attrib.xs:47: error: 'FILE_HIDDEN' undeclared (first use in this function) Attrib.xs:49: error: 'FILE_SYSTEM' undeclared (first use in this function) Attrib.xs:51: error: 'FILE_DIRECTORY' undeclared (first use in this function) Attrib.xs:53: error: 'FILE_ARCHIVED' undeclared (first use in this function) Attrib.xs: In function 'get_attribs': Attrib.xs:80: error: 'FILESTATUS3' undeclared (first use in this function) Attrib.xs:80: error: parse error before 'buf' Attrib.xs:81: error: 'APIRET' undeclared (first use in this function) Attrib.xs:83: error: 'rc' undeclared (first use in this function) Attrib.xs:83: error: 'buf' undeclared (first use in this function) Attrib.xs:86: error: 'ERROR_PATH_NOT_FOUND' undeclared (first use in this function) Attrib.xs:94: error: 'FILE_READONLY' undeclared (first use in this function) Attrib.xs:95: error: 'FILE_HIDDEN' undeclared (first use in this function) Attrib.xs:96: error: 'FILE_SYSTEM' undeclared (first use in this function) Attrib.xs:97: error: 'FILE_ARCHIVED' undeclared (first use in this function) Attrib.xs:98: error: 'FILE_DIRECTORY' undeclared (first use in this function) Attrib.xs: At top level: Attrib.xs:123: error: parse error before 'ULONG' Attrib.xs: In function '_set_attribs': Attrib.xs:125: error: 'FILESTATUS3' undeclared (first use in this function) Attrib.xs:125: error: parse error before 'buf' Attrib.xs:126: error: 'APIRET' undeclared (first use in this function) Attrib.xs:128: error: 'rc' undeclared (first use in this function) Attrib.xs:128: error: 'path' undeclared (first use in this function) Attrib.xs:128: error: 'buf' undeclared (first use in this function) Attrib.xs:131: error: 'clear' undeclared (first use in this function) Attrib.xs:132: error: 'set' undeclared (first use in this function) Attrib.xs:138: error: 'ERROR_PATH_NOT_FOUND' undeclared (first use in this function) Attrib.xs:140: error: 'ERROR_SHARING_VIOLATION' undeclared (first use in this function) lipo: can't open input file: /var/tmp//ccuSz4Tu.out (No such file or directory) make: *** [Attrib.o] Error 1