LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   configure: error: cannot find libusb support ??? (https://www.linuxquestions.org/questions/linux-newbie-8/configure-error-cannot-find-libusb-support-429455/)

pwhitey86 03-28-2006 07:59 PM

configure: error: cannot find libusb support ???
 
I am trying to install a driver for an HP 1012. I downloaded the hplip-0.9.10 driver via http://hplip.sourceforge.net/.

I run:

Code:

./configure --prefix=/usr
and it fails at

Code:

...
checking for usb_init in -lusb... no
configure: error: cannot find libusb support

any clues .. thanks

nx5000 03-29-2006 06:38 AM

Install libusb development files?
Code:

apt-get libusb-dev
But why not use hplip binary?
Code:

apt-get install hplip
Install from source only if you need a newer version not present in your debian release.
Otherwise if it's because its not compile with the flags you need, you can:
Code:

apt-get source hplip
This will get the debian source package
to modify the flags or configuration, edit <dir_of_hplip_source_package>/debian/rules
and then rebuild, something like
Code:

debian/rules build


All times are GMT -5. The time now is 10:50 AM.