in reply to Re: Cannot install cpan module Device::USB
in thread Cannot install cpan module Device::USB

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?

Replies are listed 'Best First'.
Re^3: Cannot install cpan module Device::USB
by Anonymous Monk on Apr 03, 2014 at 06:16 UTC

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

      Thanks again for your help!!!