Checking if your kit is complete... Looks good Writing Makefile for Sys::CPU cp CPU.pm blib/lib/Sys/CPU.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 CPU.xs > CPU.xsc && mv CPU.xsc CPU.c Please specify prototyping behavior for CPU.xs (see perlxs manual) 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=\"0.40\" -DXS_VERSION=\"0.40\" "-I/Users/cpanrun/pristine/5.8.7/lib/5.8.7/darwin-thread-multi-2level/CORE" CPU.c CPU.xs: In function 'get_cpu_count': CPU.xs:210: error: '_SC_NPROCESSORS_ONLN' undeclared (first use in this function) CPU.xs:210: error: (Each undeclared identifier is reported only once CPU.xs:210: error: for each function it appears in.) CPU.xs: In function 'XS_Sys__CPU_cpu_clock': CPU.xs:259: error: 'processor_info_t' undeclared (first use in this function) CPU.xs:259: error: parse error before 'info' CPU.xs:260: error: 'infop' undeclared (first use in this function) CPU.xs:260: error: 'P_ONLINE' undeclared (first use in this function) CPU.xs: In function 'XS_Sys__CPU_cpu_type': CPU.xs:294: error: 'processor_info_t' undeclared (first use in this function) CPU.xs:294: error: parse error before 'info' CPU.xs:295: error: 'infop' undeclared (first use in this function) CPU.xs: In function 'get_cpu_count': CPU.xs:210: error: '_SC_NPROCESSORS_ONLN' undeclared (first use in this function) CPU.xs:210: error: (Each undeclared identifier is reported only once CPU.xs:210: error: for each function it appears in.) CPU.xs: In function 'XS_Sys__CPU_cpu_clock': CPU.xs:259: error: 'processor_info_t' undeclared (first use in this function) CPU.xs:259: error: parse error before 'info' CPU.xs:260: error: 'infop' undeclared (first use in this function) CPU.xs:260: error: 'P_ONLINE' undeclared (first use in this function) CPU.xs: In function 'XS_Sys__CPU_cpu_type': CPU.xs:294: error: 'processor_info_t' undeclared (first use in this function) CPU.xs:294: error: parse error before 'info' CPU.xs:295: error: 'infop' undeclared (first use in this function) lipo: can't open input file: /var/tmp//ccuwlvyF.out (No such file or directory) make: *** [CPU.o] Error 1