[sane-devel] Compiling and installing SANE

jerry jerry at tr2.com
Tue Mar 4 20:40:48 UTC 2014


On 03/04/2014 10:11, Matthew Baker wrote:
> As you have with the binaries I would ensure you copy your sane /etc
> conf files to /usr/etc/

*** Thanks Matthew!

   The fix was to add a line:  "brother2" to 
/usr/local/etc/sane.d/dll.conf, which is apparently the list
of libs for supported scanners.  That's an interesting file.  I bet 
scanimage -L would get a lot faster if I commented out all the scanners 
I *DONT* have.

                    - Jerry

>
> HTH's,
>
> matb
> On 5 Mar 2014 05:04, "jerry" <jerry at tr2.com> wrote:
>
>> Hello,
>>
>>    I just got a little mobile scanner on Ebay ( a Visioneer strobe 
>> XP300 ) and desire to use it with my Ubuntu systems.  I see that 
>> support for such things is in the "genesys" backend, which alas is not 
>> part of the standard Ubuntu installation.  So I had to leave the 
>> comfortable world of Ubuntu packages and go get the source.  I 
>> downloaded backends v1.0.24 and frontends 1.0.14.
>>
>>    The backend build informed me that the library had moved from 
>> /usr/lib to /usr/local/lib and advised to
>> uninstall sane before installing the source build.  OK, I 
>> uninstalled SANE with the Synasptic package manager. The usual 
>> configure/make/make install sequence worked without incident.
>>
>>    Trying the same thing with the frontend, the compile failed with 
>> a couple of undefined constants:
>> SANE_OPTION_IS_SETTABLE and SANE_CAP_ALWAYS_SETTABLE.  A web search 
>> told me that these defines had been removed at some point.  So I 
>> commented out both of them.
>>
>>    Scanimage complained that it couldn't find /usr/lib/libsane.so.1 
>> - so I stuck in a symbolic link.  The real fix of course would
>> be to get the source of scanimage....
>>
>>    I also have a Brother multifunction machine out on my network, 
>> and have used the Brother SANE driver to access it.  That scanner 
>> doesn't seem to be visible now.  The Brother stuff is not open source 
>> - they just give you their compiled libs.  I copied them from 
>> /usr/lib/sane to /usr/local/lib/sane, but no Brother action from 
>> scanimage.  Do I have to do something special to make SANE "notice" 
>> that there is a Brother driver in there?  Maybe an ldconfig command?
>>
>>                - Jerry Kaidor
>>
>> --
>> sane-devel mailing list: sane-devel at lists.alioth.debian.org
>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel 
>> [1]
>> Unsubscribe: Send mail with subject "unsubscribe your_password"
>>             to sane-devel-request at lists.alioth.debian.org
>
>
> Links:
> ------
> [1] 
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel



More information about the sane-devel mailing list