[sane-devel] what am I doing wrong on netbsd/macppc with sane 1.0.7??

paul beard paulbeard at mac.com
Fri Feb 15 21:27:39 GMT 2002


I finally have gotten this scanner to make itself known to the OS, 
but now I seem to have other issues.

  I build from source (using pkgscr?) it fails.

gmake[1]: Entering directory 
`/usr/pkgsrc/graphics/sane-backends/work/sane-backends-1.0.7/frontend'
cc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include 
-I/usr/local/include -I/
usr/pkgsrc/graphics/sane-backends/work/.buildlink/include 
-D_GNU_SOURCE -DPATH_
SANE_CONFIG_DIR=/usr/pkg/etc/sane.d 
-DPATH_SANE_DATA_DIR=/usr/pkg/share
   -DV_MAJOR=1 -DV_MINOR=0 
-I/usr/pkgsrc/graphics/sane-backends/work/.buildlink/include -O -O 
-W -Wall scanimage.c
scanimage.c: In function `main':
scanimage.c:1564: incompatible type for argument 2 of `vprintf'
gmake[1]: *** [scanimage.o] Error 1
gmake[1]: Leaving directory 
`/usr/pkgsrc/graphics/sane-backends/work/sane-backends-1.0.7/frontend'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

I can install binaries using pkg_add but then xsane fails on a 
dependency.

[/home/paul]# xsane
Shared object "libusb-0.1.so.4" not found

/usr/lib/libusb.a
/usr/lib/libusb.so
/usr/lib/libusb.so.0
/usr/lib/libusb.so.0.0
/usr/lib/libusb_p.a
/usr/lib/libusb_pic.a

the version installed is libusb-0.1.5.

I'm doing a make update right now to see if that changes anything 
. . .

what am I missing?







More information about the sane-devel mailing list