Checking whether your kit is complete... Looks good Checking prerequisites... Looks good Creating new 'Build' script for 'Linux-USBKeyboard' version '0.01' Copying lib/Linux/USBKeyboard/functions.c -> blib/lib/Linux/USBKeyboard/functions.c /Users/cpanrun/build/5.10.0/bin/perl -Iblib/lib -MInline=_INSTALL_ -MLinux::USBKeyboard -e1 0.01 blib/arch ***************** This module is deprecated. Please install the latest version of InlineX::C2XS instead ***************** /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 USBKeyboard.xs > USBKeyboard.xsc && mv USBKeyboard.xsc USBKeyboard.c gcc -c -I/Users/cpanrun/depot/main/contrib-patched/perl/CPAN/src/Linux-USBKeyboard -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.01\" -DXS_VERSION=\"0.01\" "-I/Users/cpanrun/build/5.10.0/lib/CORE" USBKeyboard.c USBKeyboard.xs:5:17: error: hid.h: No such file or directory USBKeyboard.xs:62: error: parse error before '*' token USBKeyboard.xs: In function 'cleanup': USBKeyboard.xs:64: error: 'hid' undeclared (first use in this function) USBKeyboard.xs:64: error: (Each undeclared identifier is reported only once USBKeyboard.xs:64: error: for each function it appears in.) USBKeyboard.xs: In function 'create': USBKeyboard.xs:74: error: 'hid_return' undeclared (first use in this function) USBKeyboard.xs:74: error: parse error before 'ret' USBKeyboard.xs:75: error: 'HIDInterface' undeclared (first use in this function) USBKeyboard.xs:75: error: 'hid' undeclared (first use in this function) USBKeyboard.xs:77: error: 'HIDInterfaceMatcher' undeclared (first use in this function) USBKeyboard.xs:77: error: parse error before 'matcher' USBKeyboard.xs:78: error: 'HID_DEBUG_NONE' undeclared (first use in this function) USBKeyboard.xs:85: error: 'ret' undeclared (first use in this function) USBKeyboard.xs:85: error: 'matcher' undeclared (first use in this function) USBKeyboard.xs:86: error: 'HID_RET_SUCCESS' undeclared (first use in this function) USBKeyboard.xs: In function '_keycode': USBKeyboard.xs:112: error: 'HIDInterface' undeclared (first use in this function) USBKeyboard.xs:112: error: 'hid' undeclared (first use in this function) USBKeyboard.xs:112: error: parse error before ')' token USBKeyboard.xs:115: error: 'hid_return' undeclared (first use in this function) USBKeyboard.xs:115: error: parse error before 'ret' USBKeyboard.xs:116: error: 'ret' undeclared (first use in this function) USBKeyboard.xs:116: error: 'HID_RET_SUCCESS' undeclared (first use in this function) USBKeyboard.xs: In function '_char': USBKeyboard.xs:124: error: 'HIDInterface' undeclared (first use in this function) USBKeyboard.xs:124: error: 'hid' undeclared (first use in this function) USBKeyboard.xs:124: error: parse error before ')' token USBKeyboard.xs:128: error: 'hid_return' undeclared (first use in this function) USBKeyboard.xs:128: error: parse error before 'ret' USBKeyboard.xs:131: error: 'ret' undeclared (first use in this function) USBKeyboard.xs:131: error: 'HID_RET_SUCCESS' undeclared (first use in this function) USBKeyboard.xs: In function 'DESTROY': USBKeyboard.xs:149: error: 'HIDInterface' undeclared (first use in this function) USBKeyboard.xs:149: error: 'hid' undeclared (first use in this function) USBKeyboard.xs:149: error: parse error before ')' token USBKeyboard.xs:5:17: error: hid.h: No such file or directory USBKeyboard.xs:62: error: parse error before '*' token USBKeyboard.xs: In function 'cleanup': USBKeyboard.xs:64: error: 'hid' undeclared (first use in this function) USBKeyboard.xs:64: error: (Each undeclared identifier is reported only once USBKeyboard.xs:64: error: for each function it appears in.) USBKeyboard.xs: In function 'create': USBKeyboard.xs:74: error: 'hid_return' undeclared (first use in this function) USBKeyboard.xs:74: error: parse error before 'ret' USBKeyboard.xs:75: error: 'HIDInterface' undeclared (first use in this function) USBKeyboard.xs:75: error: 'hid' undeclared (first use in this function) USBKeyboard.xs:77: error: 'HIDInterfaceMatcher' undeclared (first use in this function) USBKeyboard.xs:77: error: parse error before 'matcher' USBKeyboard.xs:78: error: 'HID_DEBUG_NONE' undeclared (first use in this function) USBKeyboard.xs:85: error: 'ret' undeclared (first use in this function) USBKeyboard.xs:85: error: 'matcher' undeclared (first use in this function) USBKeyboard.xs:86: error: 'HID_RET_SUCCESS' undeclared (first use in this function) USBKeyboard.xs: In function '_keycode': USBKeyboard.xs:112: error: 'HIDInterface' undeclared (first use in this function) USBKeyboard.xs:112: error: 'hid' undeclared (first use in this function) USBKeyboard.xs:112: error: parse error before ')' token USBKeyboard.xs:115: error: 'hid_return' undeclared (first use in this function) USBKeyboard.xs:115: error: parse error before 'ret' USBKeyboard.xs:116: error: 'ret' undeclared (first use in this function) USBKeyboard.xs:116: error: 'HID_RET_SUCCESS' undeclared (first use in this function) USBKeyboard.xs: In function '_char': USBKeyboard.xs:124: error: 'HIDInterface' undeclared (first use in this function) USBKeyboard.xs:124: error: 'hid' undeclared (first use in this function) USBKeyboard.xs:124: error: parse error before ')' token USBKeyboard.xs:128: error: 'hid_return' undeclared (first use in this function) USBKeyboard.xs:128: error: parse error before 'ret' USBKeyboard.xs:131: error: 'ret' undeclared (first use in this function) USBKeyboard.xs:131: error: 'HID_RET_SUCCESS' undeclared (first use in this function) USBKeyboard.xs: In function 'DESTROY': USBKeyboard.xs:149: error: 'HIDInterface' undeclared (first use in this function) USBKeyboard.xs:149: error: 'hid' undeclared (first use in this function) USBKeyboard.xs:149: error: parse error before ')' token lipo: can't open input file: /var/tmp//cc9Mpuvj.out (No such file or directory) make: *** [USBKeyboard.o] Error 1 A problem was encountered while attempting to compile and install your Inline C code. The command that failed was: make > out.make 2>&1 The build directory was: /Users/cpanrun/depot/main/contrib-patched/perl/CPAN/src/Linux-USBKeyboard/_Inline/build/Linux/USBKeyboard To debug the problem, cd to the build directory, and inspect the output files. at blib/lib/Linux/USBKeyboard.pm line 64 BEGIN failed--compilation aborted at blib/lib/Linux/USBKeyboard.pm line 66. Compilation failed in require. BEGIN failed--compilation aborted. Copying /Users/cpanrun/depot/main/contrib-patched/perl/CPAN/src/Linux-USBKeyboard/bin/readline_usb -> blib/script/readline_usb Deleting blib/script/readline_usb.bak Manifying blib/script/readline_usb -> blib/bindoc/readline_usb.1 Manifying blib/lib/Linux/USBKeyboard.pm -> blib/libdoc/Linux::USBKeyboard.3 HTMLifying blib/script/readline_usb -> blib/binhtml/bin/readline_usb.html HTMLifying blib/lib/Linux/USBKeyboard.pm -> blib/libhtml/site/lib/Linux/USBKeyboard.html t/00-load......1..1 # Failed test 'use Linux::USBKeyboard;' # at t/00-load.t line 4. # Tried to use 'Linux::USBKeyboard'. # Error: The extension 'Linux::USBKeyboard' is not properly installed in path: # '/Users/cpanrun/depot/main/contrib-patched/perl/CPAN/src/Linux-USBKeyboard/blib/arch' # # If this is a CPAN/distributed module, you may need to reinstall it on your # system. # # To allow Inline to compile the module in a temporary cache, simply remove the # Inline config option 'VERSION=' from the Linux::USBKeyboard module. # # at /Users/cpanrun/depot/main/contrib-patched/perl/CPAN/src/Linux-USBKeyboard/blib/lib/Linux/USBKeyboard.pm line 64 # BEGIN failed--compilation aborted at t/00-load.t line 4. # Compilation failed in require at (eval 3) line 2. # BEGIN failed--compilation aborted at (eval 3) line 2. not ok 1 - use Linux::USBKeyboard; # Testing Linux::USBKeyboard 0.01 # Looks like you failed 1 test of 1. dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay t/arguments....The extension 'Linux::USBKeyboard' is not properly installed in path: '/Users/cpanrun/depot/main/contrib-patched/perl/CPAN/src/Linux-USBKeyboard/blib/arch' If this is a CPAN/distributed module, you may need to reinstall it on your system. To allow Inline to compile the module in a temporary cache, simply remove the Inline config option 'VERSION=' from the Linux::USBKeyboard module. at /Users/cpanrun/depot/main/contrib-patched/perl/CPAN/src/Linux-USBKeyboard/blib/lib/Linux/USBKeyboard.pm line 64 BEGIN failed--compilation aborted at /Users/cpanrun/depot/main/contrib-patched/perl/CPAN/src/Linux-USBKeyboard/blib/lib/Linux/USBKeyboard.pm line 66. Compilation failed in require at t/arguments.t line 6. BEGIN failed--compilation aborted at t/arguments.t line 6. dubious Test returned status 2 (wstat 512, 0x200) Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/00-load.t 1 256 1 1 1 t/arguments.t 2 512 ?? ?? ?? Failed 2/2 test scripts. 1/1 subtests failed. Files=2, Tests=1, 1 wallclock secs ( 0.15 cusr + 0.06 csys = 0.21 CPU) Failed 2/2 test programs. 1/1 subtests failed.