I removed that define from sane-backends because it was not in the standard, and was not used consistently. We have not produced a new release of sane-frontends since that time. I will commit a patch to our git repo to fix this, and a couple other issues later today.
I have attached a patch from Fedora to get you past this in the meantime. However, I suggest you learn to use scanimage, which comes with sane-backends. The future of sane-frontends is uncertain, as those tools are effectively unmaintained. allan On Sun, May 23, 2010 at 10:33 AM, bb <bblochl at arcor.de> wrote: > I tried to install sane-frontends-1.0.14 on debian 5.0.4 (lenny), Kernel > 2.6.26-2-686, GNOME 2.22.3 andd get the following error: > > text omited > ... > making all in src > make[1]: Entering directory `/home/bb/sane/sane-frontends-1.0.14/src' > gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include > -I/usr/local/include -D_REENTRANT -I/usr/include/gtk-2.0 > -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo > -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 > -I/usr/include/pixman-1 -D_GNU_SOURCE > -DPATH_SANE_DATA_DIR=/usr/local/share/sane -DV_MAJOR=1 -DV_MINOR=0 > -DV_BUILD=14 -DSANE_V_MAJOR=1 -g -O2 -Wall -I/usr/local/include -D_REENTRANT > -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 > -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb > -I/usr/include/libpng12 -I/usr/include/pixman-1 gtkglue.c > gtkglue.c: In function ?gsg_set_sensitivity?: > gtkglue.c:1479: error: ?SANE_CAP_ALWAYS_SETTABLE? undeclared (first use in > this function) > gtkglue.c:1479: error: (Each undeclared identifier is reported only once > gtkglue.c:1479: error: for each function it appears in.) > make[1]: *** [gtkglue.o] Fehler 1 > make[1]: Leaving directory `/home/bb/sane/sane-frontends-1.0.14/src' > make: *** [all-recursive] Fehler 1 > Prompt$ > > > I tried sane-frontends-1.0.13 and a download of sane-frontends-1.0.14.orig > from alioth as well and always end up with this error. Is there a bug or is > there something else wrong with debian? > > It is impoosible to scan without that files. > > regards BB > > -- > sane-devel mailing list: sane-devel at lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > ? ? ? ? ? ?to sane-devel-request at lists.alioth.debian.org -- "The truth is an offense, but not a sin" -------------- next part -------------- A non-text attachment was scrubbed... Name: sane-frontends-1.0.14-sane-backends-1.0.20.patch Type: text/x-diff Size: 929 bytes Desc: not available URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20100524/b43246b3/attachment.patch>
