[sane-devel] help compiling sane

Paul Newall p.newalls at ntlworld.com
Wed Mar 4 21:00:49 UTC 2015


Rafe,
You could try this search:  find /usr -name libsane.s*
it may take a few minutes to finish, but should find all your sane 
backend installation directories.
On a live DVD of ubuntu 14.10 sane seems to be in /usr/lib/x86_64-linux-gnu

Also run: scanimage -V
That tells you which version of sane is actually running. If it gives 
you version 1.0.24 that's the original ubuntu version, not the one you 
have compiled.

The bottom section of this page 
https://help.ubuntu.com/community/CompileSaneFromSource
Says something about how to specify which installation of sane is used.

Paul

On 04/03/15 08:53, Rafe DiDomenico wrote:
> I tried to search for the installation directory as described in the 
> directions but couldn't find the file the author suggested, but I read 
> somewhere that Ubuntu used /usr/lib/sane. Guess that wasn't correct. 
> So I tried compiling to the directory you suggested but that didn't 
> produce any different results.
>
> From sane-find-scanner:
> found USB scanner (vendor=0x04a9, product=0x190f, chip=GL848+?) at 
> libusb:002:002
>
> (Which is the Canon LIDE 220)
>
> But scanimage gives me:
> No scanners were identified....
>
> I'm not sure what would be useful from the compiling (there were a lot 
> of unset variable warnings, but nothing else that I noticed). This 
> comes at the end of the process:
> canon_dr.desc: Warning: Backend `canon_dr': 9 USB devices without :usbid
> umax.desc: Warning: Backend `umax': 1 USB devices without :usbid
> epjitsu.desc: Warning: Backend `epjitsu': 1 USB devices without :usbid
> epson2.desc: Warning: Backend `epson2': 13 devices without :interface
> epson2.desc: Warning: Backend `epson2': 8 USB devices without :usbid
> snapscan.desc: Warning: Backend `SnapScan': 1 USB devices without :usbid
> hp5400.desc: Warning: Backend `hp5400': 1 USB devices without :usbid
> unsupported.desc: Warning: Backend `unsupported': 34 USB devices 
> without :usbid
> epkowa.desc: Warning: Backend `epkowa': 13 devices without :interface
> epkowa.desc: Warning: Backend `epkowa': 8 USB devices without :usbid
> viceo.desc: Warning: Backend `viceo': 1 USB devices without :usbid
> brother.desc: Warning: Backend `brother': 1 USB devices without :usbid
> samsung.desc: Warning: Backend `samsung': 7 USB devices without :usbid
> brother2.desc: Warning: Backend `brother2': 9 USB devices without :usbid
> panamfs.desc: Warning: Backend `panamfs': 7 devices without :interface
>
>
> On 03/02/2015 09:21 PM, Paul Newall wrote:
>> On 02/03/15 14:18, Rafe DiDomenico wrote:
>>> I compile dvb drivers after kernel updates quite often, so this is 
>>> not completely new to me, but I had some trouble with sane and 
>>> haven't gotten it to work.
>>>
>>> First of all this is Ubuntu 14.10 64
>>>
>>> I followed the steps outlined here: 
>>> https://help.ubuntu.com/community/CompileSaneFromSource
>>>
>>> Installed the dependencies and pulled the source just fine.
>>>
>>> Installed the libraries to /usr/lib/sane
>>>
>>> So, make and make install ran and I have a directory full of drivers 
>>> but running scanimage -L with root or not doesn't find anything.
>>>
>>> I checked that /etc/ld.so.conf includes /usr/lib
>>>
>>> but still nothing
>>>
>>> As you can tell I don't do this professionally. Any help would be 
>>> greatly appreciated.
>>>
>>>
>>>
>>>
>> Was your original sane library installed in /usr/lib/sane ?
>> I am guessing you might now have 2 installations of sane, one in  
>> /usr/lib/sane  and the original somewhere like /usr/lib/x86_64-linux-gnu
>>
>>
>>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20150304/24b57894/attachment-0001.html>


More information about the sane-devel mailing list