in reply to Cannot install cpan module Device::USB

its simple, force install ... its only one test failing
  • Comment on Re: Cannot install cpan module Device::USB

Replies are listed 'Best First'.
Re^2: Cannot install cpan module Device::USB
by lab007 (Novice) on Apr 03, 2014 at 05:12 UTC
    Ok, I just tried that. Did not work. USB.pm did not get installed, and when I run "cpan Device::USB", I get a ton of error messages - here are the first few lines:
    USB.xs:6:17: error: usb.h: No such file or directory USB.xs: In function 'libusb_get_busses': USB.xs:32: warning: return makes pointer from integer without a cast USB.xs: In function 'libusb_open': USB.xs:37: warning: return makes pointer from integer without a cast USB.xs: In function 'libusb_close': USB.xs:42: error: 'usb_dev_handle' undeclared (first use in this funct +ion)

    It seems the reason for the error needs to be addressed instead of suppressed.

    What could be causing the failure to install? How to make it install w/o using force?

        Thanks! I did not have libusb-devel installed (only libusb)!

        Thanks again for your help!!!