<br><br><div class="gmail_quote">2009/3/3 Russell King <span dir="ltr">&lt;<a href="mailto:rjkfsm@gmail.com">rjkfsm@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Well, I tried that and xsane now complains that it needs sane-backends 1.0.0 or higher.<br><br>To get here, I had to unmerge sane-backends, sane-frontends and xsane, then to keep portage from bashing them, I masked them. I then downloaded the source for sane-backends and compiled it. That went fine and when I tried the same with xsane, I get:<br>

<br>ERROR: SANE-1.0.0 or newer is needed for compiling xsane<br>     - if you installed SANE as rpm make sure you also included<br>       sane-devel<br><br></blockquote><div><br>I just did some limited testing with current CVS and xsane- 0.996 and had success.  Note: I found an additional typo in sane-config and just submitted a fix to CVS.  You&#39;ll want to update again.<br>
</div></div><br>Your error message above is because xsane can not find the &quot;sane-config&quot; of your CVS sane-backends.  Step I did are similar to following:<br><br>cd sane-backend<br>./configure --prefix=/usr/local/sane<br>
make; make install<br><br>export PATH=/usr/local/sane/bin:$PATH<br>cd /path/to/src/xsane-0.996<br>cd src<br>vi xsane-backend-gtk.c<br>&lt;comment out all of if(SANE_CAPS_ALWAYS_SETTABLE) at lines 2615-2618 as its not documented by SANE1 API and not in current CVS... It was in sane-1.0.19 for what ever reasons but only used by qcam and v4l  backends. I&#39;m sure you&#39;ll not notice reduced functionality.&gt;<br>
cd ..<br>./configure --prefix=/usr/local/xsane LDFLAGS=-L/usr/local/sane/lib CPPFLAGS=-I/usr/local/sane/include<br>make; make install<br><br>/usr/local/xsane/bin/xsane<br><br>