<html>
<head>
<meta content="text/html; charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Mark,<br>
<br>
On 2012-02-23 04:25, Mark Purcell wrote:
<blockquote cite="mid:201202232025.12404.mark@purcell.id.au"
type="cite">
<pre wrap="">On Thu, 23 Feb 2012 08:44:20 Filipus Klutiero wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I don't know about libusb-dev, but the part this report is about is
libusb, as I quoted in the report text:
</pre>
</blockquote>
<pre wrap="">
`hp-check` checks to see if you are able to compile & run hplip.
`hp-check -r` only checks the necessary dependancies to run hplip and is what
a user would normally use.
</pre>
<blockquote type="cite">
<pre wrap=""> > Checking for dependency: libusb - USB library...
> error: NOT FOUND! This is a REQUIRED dependency. Please make sure that
> this dependency is installed before installing or running HPLIP.
</pre>
</blockquote>
<pre wrap="">
What this error doesn't tell you is that it is really looking for the file
/usr/include/usb.h and friends which are necessary to compile.
In Debian usb.h is located in the libusb-dev package.
Other distributions and people to build their systems from scratch may have
usb.h in other packages, or just installed as part of the libusb</pre>
</blockquote>
<br>
I can't speak about other distributions, but what I can say is that
on my system, an installation of Debian testing with both versions
of libusb installed, hp-check complains that it can't find libusb.
My system indeed does not have /usr/include/usb.h<br>
<br>
<blockquote type="cite">$ apt-file search /usr/include/usb.h<br>
libusb-dev: /usr/include/usb.h<br>
chealer@vinci:~$ LANG=C dpkg -l libusb-dev<br>
No packages found matching libusb-dev.<br>
chealer@vinci:~$</blockquote>
<br>
<br>
So, either:<br>
<ul>
<li>
libusb is missing usb.h</li>
<li>hp-check is not checking for libusb correctly<br>
</li>
</ul>
<br>
<blockquote cite="mid:201202232025.12404.mark@purcell.id.au"
type="cite">
<blockquote type="cite">
<pre wrap="">I wasn't compiling hplip, just troubleshooting a printer problem, and
hp-check threw the above.
</pre>
</blockquote>
<pre wrap="">
Trouble shooting as a user you should use `hp-check -r`.</pre>
</blockquote>
<br>
Thanks. I suggest to make -r default then.<br>
<blockquote cite="mid:201202232025.12404.mark@purcell.id.au"
type="cite">
<pre wrap=""> Indeed I have setup
reportbug(1) when used by a Debian user to only run the hp-check -r. This is
documented in the hp-check(1) man page.
Mark
hp-check(1)
User Manuals
hp-check(1)
NAME
hp-check - Dependency/Version Check Utility
DESCRIPTION
Check the existence and versions of HPLIP dependencies. (Run as 'python
./check.py' from the HPLIP tarball before installation.)
SYNOPSIS
hp-check [OPTIONS]
OPTIONS
Compile-time check:
-c or --compile
Run-time check:
-r or --run
Compile and run-time checks:
-b or --both (default)
Set the logging level:
-l<level> or --logging=<level> <level>: none, info*, error,
warn, debug (*default)
Run in debug mode:
-g (same as option: -ldebug)
Output plain text only:
-t
This help information:
-h or --help
NOTES
1. For checking for the proper build environment for the HPLIP supplied
tarball (.tar.gz or .run),
use the --compile or --both switches.
2. For checking for the proper runtime environment for a distro
supplied package (.deb, .rpm, etc),
use the --runtime switch.
AUTHOR
HPLIP (Hewlett-Packard Linux Imaging and Printing) is an HP developed
solution for printing, scanning, and faxing with HP inkjet and laser based
printers in Linux.
REPORTING BUGS
The HPLIP Launchpad.net site <a class="moz-txt-link-freetext" href="https://launchpad.net/hplip">https://launchpad.net/hplip</a> is available
to get help, report bugs, make suggestions, discuss the HPLIP project or
otherwise contact the HPLIP Team.
COPYRIGHT
Copyright (c) 2011-14 Hewlett-Packard Development Company, L.P.
This software comes with ABSOLUTELY NO WARRANTY. This is free
software, and you are welcome to distribute it under certain conditions. See
COPYING file for more details.
Linux
14.3
hp-check(1)
</pre>
</blockquote>
<br>
</body>
</html>