[sane-devel] yet another make problem on darwin

Beat Birkhofer beat.birkhofer@ilw.agrl.ethz.ch
Sun, 8 Dec 2002 23:40:42 +0100

>I guess you'll have to replace the libtool used by SANE to see any
>effect. It's generated from ltconfig and acinclude.m4.

Thanks-a-lot, make works now.

I have a CanoScan 1240, the latest sane from cvs, the 
plustek-0.45-TEST3 from gjaeger.de and the additions from the 1240 
from Johann Philipp. And the latest libusb and MacOSX 10.2.2. 
plustek.conf is configured but I'm not sure if it's used at all.

found USB scanner (vendor=0x04a9 [Canon], product=0x220e [CanoScan]) 
at libusb:002:002

[In the previous libusb versions the bus number was negative on OSX.]

  bhb% scanimage -d plustek:libusb:002:002
[sanei_debug] Setting debug level of dll to 255.
[dll] sane_init: SANE dll backend version 1.0.8 from sane-backends 1.0.9-cvs
[dll] add_backend: adding backend `plustek'
[dll] load: searching backend `plustek' in `/usr/local/lib/sane'
[dll] load: trying to load `/usr/local/lib/sane/libsane-plustek.1.so'
[dll] load: dlopen()ing `/usr/local/lib/sane/libsane-plustek.1.so'
[dll] init: initializing backend `plustek'
[sanei_debug] Setting debug level of sanei_usb to 128.
usb_set_debug: Setting debugging level to 255 (on)
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: Found 002 on 002
usb_os_find_devices: Found 001 on 002
usb_os_open: 05ac:8005
USB error: could not open device
usb_os_open: 04a9:220e
usb_control_msg: 128 6 512 0 0xbfffe898 8 1000
usb_control_msg: 128 6 512 0 0xc44d0 39 1000
usb_os_close: 04a9:220e
usb_os_find_devices: Found 001 on 001
usb_os_open: 05ac:8005
USB error: could not open device
[sanei_usb] sanei_usb_open: trying to open device `/dev/usbscanner'
[sanei_usb] sanei_usb_open: open of `/dev/usbscanner' failed: No such 
file or directory
[dll] init: backend `plustek' is version 1.0.0
[sanei_usb] sanei_usb_open: trying to open device `libusb:002:002'
usb_os_open: 04a9:220e
[sanei_usb] sanei_usb_open: libusb complained: Unknown error: 4294967294
usb_os_close: 04a9:220e
scanimage: open of device plustek:libusb:002:002 failed: Error during 
device I/O
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `plustek's exit function
[dll] sane_exit: finished

I'm yet rather clueless...


Beat H.