[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Using Sane front- and back-ends with Xsane



On 18/03/13 11:40 AM, Lisi Reisz wrote:
On Monday 18 March 2013 15:03:47 Gary Dale wrote:
On 18/03/13 10:56 AM, Lisi Reisz wrote:
Using Squeeze with TDE 3.5.13.2

I need some drivers in order to use Xsane with my scanner.  I have
downloaded and untarred the tarballs for sane-backends-1.0.23 and
sane-frontends-1.0.14, which are the ones I need, and all the files
appear to be there.  But I still get the error message<no devices
available>

Clearly I have not told xsane where to look.  But I don't know how, so I
googled.  The best answer I got was this:

<quote>
Probably your PATH environment var is set to use /usr/local/bin before
/usr/bin, so you are using the scanimage binary you compiled with
sane-backends, but you have nothing similar for libraries using
LD_LIBRARY_PATH.

you have two choices: 1. recompile sane-backends to overwrite the
version installed by your OS, or 2. teach binaries to load the sane
libs from /usr/local/lib, see man ld.so
</quote>

So how do I "recompile sane-backends to overwrite the
version installed by your OS"?  How do I tell it to overwrite?  Or how do
I "teach binaries to load the sane libs from /usr/local/lib"

I have looked at man ld.so.
<quote>
Currently ld.so has no means of unloading and searching for compatible or
newer
         version of libraries.

         ld.so  functionality is only available for executables compiled
using libc ver‐
         sion 4.4.3 or greater.
</quote>

I have:
Package: libc-bin
State: installed
Automatically installed: no
Version: 2.11.3-4

I am stuck and this is fairly urgent.  So I am asking for help instead of
giving myself a day or two to breathe, before trying again.

I would be very grateful for any pointers.

Thanks,
Lisi
The beauty of open source is that you have the sources and can recompile
them. Since the problem seems to be that the current binaries don't
include the drivers you need, download the sane sources and recompile
them. For this you will need to get not just the sane source packages
but also the build-essentials package.
Thanks for the help, Gary.

I seem to have some repositories missing from my sources.list.

I get:
lisi@Tux-II:~$ aptitude search build-essentials
lisi@Tux-II:~$ aptitude search -t squeeze-backports build-essentials
lisi@Tux-II:~$

Here is my sources.list.  Can anyone see why I can't find build-essentials?
------------------------------------------------------
deb http://ftp.uk.debian.org/debian stable main contrib non-free
deb-src http://ftp.uk.debian.org/debian stable main contrib non-free

deb http://ftp.debian.org/debian/ squeeze-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ squeeze-updates main contrib non-free

deb http://security.debian.org/squeeze/updates main contrib non-free
deb-src http://security.debian.org/squeeze/updates main contrib non-free

deb http://ftp.at.debian.org/backports.org squeeze-backports main contrib
non-free

deb http://mozilla.debian.net squeeze-backports iceweasel-esr icedove-esr

# deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu lucid main

deb http://www.deb-multimedia.org squeeze main non-free

deb http://depot-trinity.dotriver.eu/trinity-v3.5.13/debian squeeze main
deb http://depot-trinity.dotriver.eu/trinity-builddeps-v3.5.13/debian squeeze
main

deb http://ppa.quickbuild.pearsoncomputing.net/slavek-banko/axis/ubuntu
squeeze main
--------------------------------------------------------
Can anyone see why I can't find build-essentials?

Lisi
Sorry, that should be "build-essential"



Reply to: