Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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
Re^4: Cannot install cpan module Device::USB
by lab007 (Initiate) 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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2015-07-02 23:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (47 votes), past polls