Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lbluetooth Writing Makefile for Bluetooth::Socket cp lib/Bluetooth/Socket.pm blib/lib/Bluetooth/Socket.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 Socket.xs > Socket.xsc && mv Socket.xsc Socket.c 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.01\" -DXS_VERSION=\"0.01\" "-I/Users/cpanrun/build/5.10.0/lib/CORE" Socket.c Socket.xs:16:33: error: bluetooth/bluetooth.h: No such file or directory Socket.xs:17:29: error: bluetooth/l2cap.h: No such file or directory Socket.xs:18:30: error: bluetooth/rfcomm.h: No such file or directory Socket.xs:19:27: error: bluetooth/hci.h: No such file or directory Socket.xs:20:31: error: bluetooth/hci_lib.h: No such file or directory Socket.xs: In function 'int_bind': Socket.xs:27: error: storage size of 'sa' isn't known Socket.xs:33: error: 'BDADDR_ANY' undeclared (first use in this function) Socket.xs:33: error: (Each undeclared identifier is reported only once Socket.xs:33: error: for each function it appears in.) Socket.xs: In function 'XS_Bluetooth__Socket_i_connect': Socket.xs:74: error: storage size of 'sa' isn't known Socket.xs:75: error: 'bdaddr_t' undeclared (first use in this function) Socket.xs:75: error: parse error before 'dst' Socket.xs:79: error: 'dst' undeclared (first use in this function) Socket.xs:80: error: 'AF_BLUETOOTH' undeclared (first use in this function) Socket.xs:16:33: error: bluetooth/bluetooth.h: No such file or directory Socket.xs:17:29: error: bluetooth/l2cap.h: No such file or directory Socket.xs:18:30: error: bluetooth/rfcomm.h: No such file or directory Socket.xs:19:27: error: bluetooth/hci.h: No such file or directory Socket.xs:20:31: error: bluetooth/hci_lib.h: No such file or directory Socket.xs: In function 'int_bind': Socket.xs:27: error: storage size of 'sa' isn't known Socket.xs:33: error: 'BDADDR_ANY' undeclared (first use in this function) Socket.xs:33: error: (Each undeclared identifier is reported only once Socket.xs:33: error: for each function it appears in.) Socket.xs: In function 'XS_Bluetooth__Socket_i_connect': Socket.xs:74: error: storage size of 'sa' isn't known Socket.xs:75: error: 'bdaddr_t' undeclared (first use in this function) Socket.xs:75: error: parse error before 'dst' Socket.xs:79: error: 'dst' undeclared (first use in this function) Socket.xs:80: error: 'AF_BLUETOOTH' undeclared (first use in this function) lipo: can't open input file: /var/tmp//ccOiD4Bo.out (No such file or directory) make: *** [Socket.o] Error 1