[sane-devel] libusb not available

Olaf Meeuwissen paddy-hack at member.fsf.org
Tue Feb 11 08:00:24 GMT 2020


Hi Tom,

Tom Buckler writes:

> Hello,
>
> I am wanting to install a new instance of sane on OSX:
>
> When I go to
> $ ./configure BACKENDS="fujitsu"
> I get
> *** Warning: sane-backends will be built without USB support.  There may
>
> Yet libusb is installed via homebrew:
> taws27 on TAWS27: /usr/local/lib$ ls -l libusb*
> lrwxr-xr-x  1 taws27  admin  46 10 Feb 23:16 libusb-1.0.0.dylib -> ../Cellar/libusb/1.0.23/lib/libusb-1.0.0.dylib
> lrwxr-xr-x  1 taws27  admin  40 10 Feb 23:16 libusb-1.0.a -> ../Cellar/libusb/1.0.23/lib/libusb-1.0.a
> lrwxr-xr-x  1 taws27  admin  44 10 Feb 23:16 libusb-1.0.dylib -> ../Cellar/libusb/1.0.23/lib/libusb-1.0.dylib
>
> Thoughts appreciated,

Please run `./configure --with-usb BACKENDS=fujitsu` and send the
`config.log` file to the list.  You may want to compress the file
as large messages end up in the moderator queue.

That is not a problem per se, but it slows down communication.

Even when compressed, the message may be too large.

Alternatively, you could create an issue for this at

  https://gitlab.com/sane-project/backends/issues/new

I don't have access to any MacOS systems, so can only really debug
this via that log file.

That said, do you have `pkg-config` installed?  If not, that is most
likely why libusb is not detected.

Apologies but we don't see many MacOS folks around here so our build
instructions may be lacking a bit for that OS.

Hope this helps,
--
Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Software                        https://my.fsf.org/donate
 Join the Free Software Foundation              https://my.fsf.org/join



More information about the sane-devel mailing list