Checking if your kit is complete... Looks good Writing Makefile for Win32::PerfCounter cp PerfCounter.pm blib/lib/Win32/PerfCounter.pm /Users/cpanrun/build/5.10.0/bin/perl /Users/cpanrun/build/5.10.0/lib/ExtUtils/xsubpp -typemap /Users/cpanrun/build/5.10.0/lib/ExtUtils/typemap PerfCounter.xs > PerfCounter.xsc && mv PerfCounter.xsc PerfCounter.c Please specify prototyping behavior for PerfCounter.xs (see perlxs manual) gcc -c -I. -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 -DPRIVLIB_LAST_IN_INC -fno-strict-aliasing -pipe -O3 -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\" "-I/Users/cpanrun/build/5.10.0/lib/CORE" PerfCounter.c PerfCounter.xs:5:21: error: windows.h: No such file or directory PerfCounter.xs:5:21: error: windows.h: No such file or directory PerfCounter.xs: In function 'XS_Win32__PerfCounter_frequency': PerfCounter.xs:14: error: 'LARGE_INTEGER' undeclared (first use in this function) PerfCounter.xs:14: error: (Each undeclared identifier is reported only once PerfCounter.xs:14: error: for each function it appears in.) PerfCounter.xs:14: error: parse error before 'lpFrequency' PerfCounter.xs: In function 'XS_Win32__PerfCounter_frequency':PerfCounter.xs:17: error: 'lpFrequency' undeclared (first use in this function) PerfCounter.xs:14: error: 'LARGE_INTEGER' undeclared (first use in this function) PerfCounter.xs:14: error: (Each undeclared identifier is reported only once PerfCounter.xs:14: error: for each function it appears in.) PerfCounter.xs:14: error: parse error before 'lpFrequency' PerfCounter.xs:17: error: 'lpFrequency' undeclared (first use in this function) PerfCounter.xs: In function 'XS_Win32__PerfCounter_counter': PerfCounter.xs:26: error: 'LARGE_INTEGER' undeclared (first use in this function) PerfCounter.xs:26: error: parse error before 'lpFrequency' PerfCounter.xs:29: error: 'lpFrequency' undeclared (first use in this function) PerfCounter.xs: In function 'XS_Win32__PerfCounter_counter': PerfCounter.xs:26: error: 'LARGE_INTEGER' undeclared (first use in this function) PerfCounter.xs:26: error: parse error before 'lpFrequency' PerfCounter.xs:29: error: 'lpFrequency' undeclared (first use in this function) lipo: can't open input file: /var/tmp//ccQb1JcJ.out (No such file or directory) make: *** [PerfCounter.o] Error 1