Set up gcc environment - 3.3 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 /export/home/cpanrun/build/5.10.0/bin/perl /export/home/cpanrun/build/5.10.0/lib/ExtUtils/xsubpp -typemap /export/home/cpanrun/build/5.10.0/lib/ExtUtils/typemap Socket.xs > Socket.xsc && mv Socket.xsc Socket.c gcc -c -I. -D_REENTRANT -DPRIVLIB_LAST_IN_INC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -pipe -O -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC "-I/export/home/cpanrun/build/5.10.0/lib/CORE" Socket.c Socket.xs:16:33: bluetooth/bluetooth.h: No such file or directory Socket.xs:17:29: bluetooth/l2cap.h: No such file or directory Socket.xs:18:30: bluetooth/rfcomm.h: No such file or directory Socket.xs:19:27: bluetooth/hci.h: No such file or directory Socket.xs:20:31: 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) make: *** [Socket.o] Error 1