Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: Cannot install cpan module Device::USB

by Anonymous Monk
on Apr 03, 2014 at 06:16 UTC ( #1080897=note: print w/replies, xml ) Need Help??


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

Ok, I just tried that. Did not work.

Sure it did :) it installed the Inline module whose test was failing

USB.xs:6:17: error: usb.h: No such file or directory

Yeah, you can't force your way past modules that can't build because you're missing (non-perl) prerequisites

http://search.cpan.org/dist/Device-USB/README says install libusb by any means , then you can install Device::USB

Device::USB::FAQ says you can get it from http://libusb.sourceforge.net/ ( http://www.libusb.org/ )

So sudo apt-get install libusb-dev or some variation of such or .... before you can cpan Device::USB

  • Comment on Re^3: Cannot install cpan module Device::USB

Replies are listed 'Best First'.
Re^4: Cannot install cpan module Device::USB
by lab007 (Novice) on Apr 03, 2014 at 15:07 UTC

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

    Thanks again for your help!!!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1080897]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2016-12-04 09:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (63 votes). Check out past polls.