[sane-devel] Compiling and installing SANE

jerry jerry at tr2.com
Tue Mar 4 20:32:56 UTC 2014


On 03/04/2014 10:14, m. allan noah wrote:
> The genesys backend is a part of sane-backends, which is certainly
> included with ubuntu. Why do you need to compile anything?
*** I looked, it wasn't there.

                  - Jerry


>
> allan
>
> On Tue, Mar 4, 2014 at 2:37 PM, 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
>> Unsubscribe: Send mail with subject "unsubscribe your_password"
>>             to sane-devel-request at lists.alioth.debian.org



More information about the sane-devel mailing list