Hey Olaf and Yurii, thank you for your support, there is some progress: First i replaced usb-compat- with libusb-dependency in the formula. sane-backends compiled, but still no usb-support. Then i put »depends_on "pkg-config"« into the formula.
And here we go: [sanei_usb] sanei_usb_init: initializing libusb-1.0 [sanei_usb] sanei_usb_scan_devices: marking existing devices [sanei_usb] libusb_scan_devices: Looking for libusb-1.0 devices [sanei_usb] libusb_scan_devices: device 0x04a9/0x221c at 038:002 is not configured [sanei_usb] libusb_scan_devices: found libusb-1.0 device (0x05ac/0x8215) interface 0 at libusb:006:003 [sanei_usb] store_device: add dn 0 with libusb:006:003 Wow! This looked so good, until i realized that the device 0x04a9 "is not configured" (and the other one is just the Bluetooth-USB-Controller). So »scanimage -L« tells me, that there is still no scanner. But this may be an unrelated issue, or isn't it? (The scanner btw. is a CanoScan LiDE 60. Switching back to sane-backends 1.0.25 shows this: found USB scanner (vendor=0x04a9 [Canon], product=0x221c [CanoScan], chip=GL842) at libusb:038:002). Ah, here is the log: https://gist.github.com/6875017d99847cd4bfa5613f61216306 Gruß, Thomas.S (aka schmo-fu) Am 27.07.17 um 14:51 schrieb Yurii Kolesnykov: > Hi, Olaf, Thomas! > > Having another round through the info in the various links you and Yurii >> provided I noticed >> >> checking for pkg-config... no >> >> Is homebrew using pkgconfig instead? If so, I'd suggest adding >> something like >> >> system "ln", "-s", "pkg-config", "/usr/bin/pkgconfig" >> > No need to do this, in brew this may be addressed by adding `depends_on > "pkg-config"` > > *before* running configure to sane-backends.rb. Adjust /usr/bin as >> necessary. While at it, also drop the >> >> depends_on "libusb-compat" >> >> or replace it with something like >> >> depends_on "libusb-1.0" >> >> at least, do yourself a favour and build against libusb-1.0. >> > Thomas, please try putting just `libusb` here, we have such formula: > https://github.com/Homebrew/homebrew-core/blob/master/Formula/libusb.rb > > This formula Olaf? > -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org