On Mon, 2005-10-24 at 19:45 -0700, Brian Rose wrote:
> Hi all,
> 
> > 
> > What is the output of "sane-find-scanner" and "scanimage -L"?
> 
> Incidentally sane-find-scanner rarely finds 
> anything and scanimage -L never has for
> me and scanimage -d net:192.168.0.103:/dev/sg0 > 
> image.tiff works really well!

Did you add 192.168.0.103 to /usr/local/etc/sane.d/net.conf ?

        Mattias

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 1230 bytes
Desc: not available
Url : 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20051031/d7dacfc6/smime.bin
From gar...@iwr.fzk.de  Mon Oct 31 08:34:25 2005
From: gar...@iwr.fzk.de (Ariel Garcia)
Date: Mon Oct 31 08:35:05 2005
Subject: [sane-devel] Nikon LS50/5000
In-Reply-To: <200510301714.44395.sp...@siriush.com>
References: <200510301714.44395.sp...@siriush.com>
Message-ID: <200510310934.25865.gar...@iwr.fzk.de>

Hi Spiro,

> I implemented the patch, under Gentoo and got this error:
>
> # emerge sane-backends
....
>  * Applying cs2-ls50-full.patch ...
>
>  * Failed Patch: cs2-ls50-full.patch !
>  *  ( /usr/portage/media-gfx/sane-backends/files/cs2-ls50-full.patch )
>  * Include in your bugreport the contents of:
> /var/tmp/portage/sane-backends-1.0.15/temp/cs2-ls50-full.patch-15359.out

I never used gentoo/emerge/portage so i don't know how it works. But do as 
the error output suggests and check the contents 
of /var/tmp/portage/sane-backends-1.0.15/temp/cs2-ls50-full.patch-15359.out
Only this output will tell us what might be wrong.
Anyway, if _patching_ fails, it might be that gentoo expects the patch to 
use paths relative to the base source tree (ie, backends/coolscan2.c)  
instead of what i did which is just diff'ing from inside backends.
(if you want to try, edit the patch and replace 
--- coolscan2-orig.c    2005-10-27 16:17:33.000000000 +0200
+++ coolscan2.c 2005-10-27 16:28:28.000000000 +0200
by
--- backends/coolscan2-orig.c   2005-10-27 16:17:33.000000000 +0200
+++ backends/coolscan2.c        2005-10-27 16:28:28.000000000 +0200
)

At least if you installed sane version is 1.0.16 then you could try 
replacing the libsane-coolscan2.so.1.0.16  file (the only one affected by 
the patch, download link in my previous mail) and you might avoid having 
to patch / compile.

Otherwise, if you want to build from source and emerge still fails go to 
the source folder and
   cd backends
   patch < /tmp/cs2-ls50-full.patch
   cd ..
   make
   cp backends/.libs/libsane-coolscan2.so.1.0.16  /final/install/path/


Cheers, Ariel

Reply via email to