Scanbuttond will not make or make install.
Unfortunately, I am one of those people who have a CanoScan N650U Canon Scanner. It has not worked very well in Mandriva 2006, 2007, 2007.1. I have kept up with all the improvements to the Sane Backends, frontends, etc.
As one who would like to use my scanner in Mandriva, I have tried to track down every fix that has been proffered on various Bugzillas, Launchpad, etc.
One solution offered was to install Scanbuttond which is not included in the Mandriva repositories. I downloaded it from Sourceforge as a .gz file. I extracted the files to mu Desktop and proceeded to ./configure, make and make install. While it configured perfectly, I had a problem with the make stage with errors:-
[root@localhost scanbuttond-0.2.3]# make
Making all in contrib
make[1]: Entering directory `/home/ningbojoe/Desktop/scanbuttond-0.2.3/contrib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ningbojoe/Desktop/scanbuttond-0.2.3/contrib'
Making all in interface
make[1]: Entering directory `/home/ningbojoe/Desktop/scanbuttond-0.2.3/interface'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include/scanbuttond -I../include -I. -g -O2 -DCFG_DIR= -DLIB_DIR=/usr/local/lib -MT libusbi.lo -MD -MP -MF ".deps/libusbi.Tpo" -c -o libusbi.lo libusbi.c; \
then mv -f ".deps/libusbi.Tpo" ".deps/libusbi.Plo"; else rm -f ".deps/libusbi.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../include/scanbuttond -I../include -I. -g -O2 -DCFG_DIR= -DLIB_DIR=/usr/local/lib -MT libusbi.lo -MD -MP -MF .deps/libusbi.Tpo -c libusbi.c -fPIC -DPIC -o .libs/libusbi.o
libusbi.c:24:17: error: usb.h: No such file or directory
libusbi.c: In function ‘libusb_search_interface’:
libusbi.c:52: error: dereferencing pointer to incomplete type
libusbi.c:53: error: dereferencing pointer to incomplete type
libusbi.c:54: error: ‘USB_CLASS_VENDOR_SPEC’ undeclared (first use in this function)
libusbi.c:54: error: (Each undeclared identifier is reported only once
libusbi.c:54: error: for each function it appears in.)
libusbi.c:57: error: ‘USB_CLASS_PER_INTERFACE’ undeclared (first use in this function)
libusbi.c:58: error: dereferencing pointer to incomplete type
libusbi.c: In function ‘libusb_search_in_endpoint’:
libusbi.c:79: error: dereferencing pointer to incomplete type
libusbi.c:82: error: dereferencing pointer to incomplete type
libusbi.c:86: error: dereferencing pointer to incomplete type
libusbi.c:87: error: dereferencing pointer to incomplete type
libusbi.c:87: error: ‘USB_ENDPOINT_ADDRESS_MASK’ undeclared (first use in this function)
libusbi.c:88: error: dereferencing pointer to incomplete type
libusbi.c:88: error: ‘USB_ENDPOINT_DIR_MASK’ undeclared (first use in this function)
libusbi.c:89: error: dereferencing pointer to incomplete type
libusbi.c:89: error: ‘USB_ENDPOINT_TYPE_MASK’ undeclared (first use in this function)
libusbi.c:91: error: ‘USB_ENDPOINT_TYPE_BULK’ undeclared (first use in this function)
libusbi.c:94: error: dereferencing pointer to incomplete type
libusbi.c:97: error: dereferencing pointer to incomplete type
libusbi.c: In function ‘libusb_search_out_endpoint’:
libusbi.c:110: error: dereferencing pointer to incomplete type
libusbi.c:113: error: dereferencing pointer to incomplete type
libusbi.c:117: error: dereferencing pointer to incomplete type
libusbi.c:118: error: dereferencing pointer to incomplete type
libusbi.c:118: error: ‘USB_ENDPOINT_ADDRESS_MASK’ undeclared (first use in this function)
libusbi.c:119: error: dereferencing pointer to incomplete type
libusbi.c:119: error: ‘USB_ENDPOINT_DIR_MASK’ undeclared (first use in this function)
libusbi.c:120: error: dereferencing pointer to incomplete type
libusbi.c:120: error: ‘USB_ENDPOINT_TYPE_MASK’ undeclared (first use in this function)
libusbi.c:122: error: ‘USB_ENDPOINT_TYPE_BULK’ undeclared (first use in this function)
libusbi.c:125: error: dereferencing pointer to incomplete type
libusbi.c:128: error: dereferencing pointer to incomplete type
libusbi.c: In function ‘libusb_attach_device’:
libusbi.c:139: error: dereferencing pointer to incomplete type
libusbi.c:140: error: dereferencing pointer to incomplete type
libusbi.c:143: error: dereferencing pointer to incomplete type
libusbi.c:143: error: dereferencing pointer to incomplete type
libusbi.c:144: error: dereferencing pointer to incomplete type
libusbi.c:146: error: dereferencing pointer to incomplete type
libusbi.c: In function ‘libusb_rescan’:
libusbi.c:196: error: ‘usb_busses’ undeclared (first use in this function)
libusbi.c:198: error: dereferencing pointer to incomplete type
libusbi.c:201: error: dereferencing pointer to incomplete type
libusbi.c:203: error: dereferencing pointer to incomplete type
libusbi.c: In function ‘libusb_open’:
libusbi.c:229: warning: assignment makes pointer from integer without a cast
make[1]: *** [libusbi.lo] Error 1
make[1]: Leaving directory `/home/ningbojoe/Desktop/scanbuttond-0.2.3/interface'
make: *** [all-recursive] Error 1
[root@localhost scanbuttond-0.2.3]#
I think I am missing some files, but I do not know which files I need to install to make Scanbuttond install correctly.
Any help would be appreciated.
|