Checking if your kit is complete... Looks good Writing Makefile for Device::USB cp USB.pm blib/lib/Device/USB.pm cp lib/Device/USB/DevEndpoint.pm blib/lib/Device/USB/DevEndpoint.pm cp lib/Device/USB/Device.pm blib/lib/Device/USB/Device.pm Skip blib/lib/Device/USB.pm (unchanged) cp lib/Device/USB/Bus.pm blib/lib/Device/USB/Bus.pm cp lib/Device/USB/DevInterface.pm blib/lib/Device/USB/DevInterface.pm cp lib/Device/USB/FAQ.pod blib/lib/Device/USB/FAQ.pod cp dump_usb.pl blib/lib/Device/dump_usb.pl cp lib/Device/USB/DevConfig.pm blib/lib/Device/USB/DevConfig.pm /usr/bin/perl -Mblib -MInline=NOISY,_INSTALL_ -MDevice::USB -e1 0.31 blib/arch Starting Build Preprocess Stage Finished Build Preprocess Stage Starting Build Parse Stage Finished Build Parse Stage Starting Build Glue 1 Stage Finished Build Glue 1 Stage Starting Build Glue 2 Stage Finished Build Glue 2 Stage Starting Build Glue 3 Stage Finished Build Glue 3 Stage Starting Build Compile Stage Starting "perl Makefile.PL" Stage Note (probably harmless): No library found for -lusb Writing Makefile for Device::USB Finished "perl Makefile.PL" Stage Starting "make" Stage /usr/bin/perl /System/Library/Perl/5.10.0/ExtUtils/xsubpp -typemap /System/Library/Perl/5.10.0/ExtUtils/typemap USB.xs > USB.xsc && mv USB.xsc USB.c gcc-4.2 -c -I/Users/nick/.cpan/build/Device-USB-0.31-TDsdQM -I"/opt/local/include/libusb-legacy/" -arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -Os -DVERSION=\"0.31\" -DXS_VERSION=\"0.31\" "-I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE" USB.c USB.xs: In function ‘libusb_get_string’: USB.xs:172: warning: format ‘%u’ expects type ‘unsigned int’, but argument 5 has type ‘size_t’ USB.xs: In function ‘libusb_get_string_simple’: USB.xs:183: warning: format ‘%u’ expects type ‘unsigned int’, but argument 4 has type ‘size_t’ USB.xs: In function ‘libusb_get_string’: USB.xs:172: warning: format ‘%u’ expects type ‘unsigned int’, but argument 5 has type ‘size_t’ USB.xs: In function ‘libusb_get_string_simple’: USB.xs:183: warning: format ‘%u’ expects type ‘unsigned int’, but argument 4 has type ‘size_t’ USB.xs: In function ‘libusb_get_string’: USB.xs:172: warning: format ‘%u’ expects type ‘unsigned int’, but argument 5 has type ‘size_t’ USB.xs: In function ‘libusb_get_string_simple’: USB.xs:183: warning: format ‘%u’ expects type ‘unsigned int’, but argument 4 has type ‘size_t’ Running Mkbootstrap for Device::USB () chmod 644 USB.bs rm -f blib/arch/auto/Device/USB/USB.bundle gcc-4.2 -mmacosx-version-min=10.6 -arch x86_64 -arch i386 -arch ppc -bundle -undefined dynamic_lookup -L/usr/local/lib USB.o -o blib/arch/auto/Device/USB/USB.bundle \ \ chmod 755 blib/arch/auto/Device/USB/USB.bundle cp USB.bs blib/arch/auto/Device/USB/USB.bs chmod 644 blib/arch/auto/Device/USB/USB.bs Finished "make" Stage Starting "make install" Stage Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /Users/nick/.cpan/build/Device-USB-0.31-TDsdQM/blib/arch/auto/Device/USB/USB.bs Installing /Users/nick/.cpan/build/Device-USB-0.31-TDsdQM/blib/arch/auto/Device/USB/USB.bundle Finished "make install" Stage Starting Cleaning Up Stage Finished Cleaning Up Stage Finished Build Compile Stage Manifying blib/man3/Device::USB::Device.3pm Manifying blib/man3/Device::USB::DevEndpoint.3pm Manifying blib/man3/Device::USB.3pm Manifying blib/man3/Device::USB::Bus.3pm Manifying blib/man3/Device::USB::DevInterface.3pm Manifying blib/man3/Device::USB::FAQ.3pm Manifying blib/man3/Device::dump_usb.3pm Manifying blib/man3/Device::USB::DevConfig.3pm office-237-50:usbPanicBtn nick$ cd /Users/nick/.cpan/build/Device-USB-0.31-TDsdQM office-237-50:Device-USB-0.31-TDsdQM nick$ ls Changes MANIFEST.SKIP Makefile README USB.pm blib lib t MANIFEST META.yml Makefile.PL USB.inl _Inline dump_usb.pl pm_to_blib office-237-50:Device-USB-0.31-TDsdQM nick$ chmod +x dump_usb.pl chmod: Unable to change file mode on dump_usb.pl: Operation not permitted office-237-50:Device-USB-0.31-TDsdQM nick$ sudo chmod +x dump_usb.pl office-237-50:Device-USB-0.31-TDsdQM nick$ make install Files found in blib/arch: installing files in blib/lib into architecture dependent library tree !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ERROR: Can't create '/usr/local/share/man/man3' Do not have write permissions on '/usr/local/share/man/man3' !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! at -e line 1 make: *** [pure_site_install] Error 13 office-237-50:Device-USB-0.31-TDsdQM nick$ sudo make install Password: Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /Library/Perl/5.10.0/darwin-thread-multi-2level/auto/Device/USB/USB.bundle Installing /usr/local/share/man/man3/Device::dump_usb.3pm Installing /usr/local/share/man/man3/Device::USB.3pm Installing /usr/local/share/man/man3/Device::USB::Bus.3pm Installing /usr/local/share/man/man3/Device::USB::DevConfig.3pm Installing /usr/local/share/man/man3/Device::USB::DevEndpoint.3pm Installing /usr/local/share/man/man3/Device::USB::Device.3pm Installing /usr/local/share/man/man3/Device::USB::DevInterface.3pm Installing /usr/local/share/man/man3/Device::USB::FAQ.3pm Appending installation info to /Library/Perl/Updates/5.10.0/darwin-thread-multi-2level/perllocal.pod office-237-50:Device-USB-0.31-TDsdQM nick$ ./dump_usb.pl Had problems bootstrapping Inline module 'Device::USB' Can't load '/Library/Perl/5.10.0/darwin-thread-multi-2level/auto/Device/USB/USB.bundle' for module Device::USB: dlopen(/Library/Perl/5.10.0/darwin-thread-multi-2level/auto/Device/USB/USB.bundle, 1): Symbol not found: _usb_busses Referenced from: /Library/Perl/5.10.0/darwin-thread-multi-2level/auto/Device/USB/USB.bundle Expected in: flat namespace in /Library/Perl/5.10.0/darwin-thread-multi-2level/auto/Device/USB/USB.bundle at /System/Library/Perl/5.10.0/darwin-thread-multi-2level/DynaLoader.pm line 207, line 1. at /Library/Perl/5.10.0/Inline.pm line 504 at /Library/Perl/5.10.0/darwin-thread-multi-2level/Device/USB.pm line 20 Compilation failed in require at ./dump_usb.pl line 3, line 1. BEGIN failed--compilation aborted at ./dump_usb.pl line 3, line 1.