Checking if your kit is complete... Looks good Writing Makefile for Linux::Input::Info cp Info.pm blib/lib/Linux/Input/Info.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 Info.xs > Info.xsc && mv Info.xsc Info.c Please specify prototyping behavior for Info.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 -DPRIVLIB_LAST_IN_INC -fno-strict-aliasing -pipe -O3 -DVERSION=\"0.1\" -DXS_VERSION=\"0.1\" "-I/Users/cpanrun/build/5.10.0/lib/CORE" Info.c In file included from Info.xs:5: Info.h:12:25: error: linux/input.h: No such file or directory Info.h:25:23: error: asm/types.h: No such file or directory In file included from Info.xs:5: Info.h:42: error: parse error before '__u16' Info.h:42: warning: no semicolon at end of struct or union Info.h:43: warning: data definition has no type or storage class Info.h:44: error: parse error before 'product' Info.h:44: warning: data definition has no type or storage class Info.h:45: error: parse error before 'version' Info.h:45: warning: data definition has no type or storage class In file included from Info.xs:5: Info.h:12:25: error: linux/input.h: No such file or directory Info.h:25:23: error: asm/types.h: No such file or directory In file included from Info.xs:5: Info.h:42: error: parse error before '__u16' Info.h:42: warning: no semicolon at end of struct or union Info.h:43: warning: data definition has no type or storage class Info.h:44: error: parse error before 'product' Info.h:44: warning: data definition has no type or storage class Info.h:45: error: parse error before 'version' Info.h:45: warning: data definition has no type or storage class Info.xs: In function 'XS_Linux__Input__Info_device_info': Info.xs:45: error: storage size of 'id' isn't known Info.xs:53: error: invalid application of 'sizeof' to incomplete type 'struct input_id' Info.xs:63: error: '_IOC_READ' undeclared (first use in this function) Info.xs:63: error: (Each undeclared identifier is reported only once Info.xs:63: error: for each function it appears in.) Info.xs: In function 'XS_Linux__Input__Info_device_info': Info.xs:45: error: storage size of 'id' isn't known Info.xs:53: error: invalid application of 'sizeof' to incomplete type 'struct input_id' Info.xs:63: error: '_IOC_READ' undeclared (first use in this function) Info.xs:63: error: (Each undeclared identifier is reported only once Info.xs:63: error: for each function it appears in.) lipo: can't open input file: /var/tmp//ccCmVd1P.out (No such file or directory) make: *** [Info.o] Error 1