Checking if your kit is complete... Looks good Writing Makefile for Filesys::Statfs cp Statfs.pm blib/lib/Filesys/Statfs.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 -typemap typemap Statfs.xs > Statfs.xsc && mv Statfs.xsc Statfs.c Please specify prototyping behavior for Statfs.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.01\" -DXS_VERSION=\"0.01\" "-I/Users/cpanrun/pristine/5.8.7/lib/5.8.7/darwin-thread-multi-2level/CORE" Statfs.c Statfs.xs:8:23: error: sys/statfs.h: No such file or directory Statfs.xs: In function 'XS_Filesys__Statfs_statfs': Statfs.xs:21: error: storage size of 'st' isn't known Statfs.xs:27: error: dereferencing pointer to incomplete type Statfs.xs:28: error: dereferencing pointer to incomplete type Statfs.xs:29: error: dereferencing pointer to incomplete type Statfs.xs:30: error: dereferencing pointer to incomplete type Statfs.xs:31: error: dereferencing pointer to incomplete type Statfs.xs:32: error: dereferencing pointer to incomplete type Statfs.xs:33: error: dereferencing pointer to incomplete type Statfs.xs:8:23: error: sys/statfs.h: No such file or directory Statfs.xs: In function 'XS_Filesys__Statfs_statfs': Statfs.xs:21: error: storage size of 'st' isn't known Statfs.xs:27: error: dereferencing pointer to incomplete type Statfs.xs:28: error: dereferencing pointer to incomplete type Statfs.xs:29: error: dereferencing pointer to incomplete type Statfs.xs:30: error: dereferencing pointer to incomplete type Statfs.xs:31: error: dereferencing pointer to incomplete type Statfs.xs:32: error: dereferencing pointer to incomplete type Statfs.xs:33: error: dereferencing pointer to incomplete type lipo: can't open input file: /var/tmp//ccP4hrAJ.out (No such file or directory) make: *** [Statfs.o] Error 1