[sane-devel] Visioneer Problems
Robin Stewart
s48264 at bluebottle.com
Wed Jun 6 21:03:36 UTC 2007
The above comments are in response to m. allan noah's email of 06/06/07
00:29 as quoted below:
>>>> 1. downloading and extracting the sane source code
>>>> 2. downloading and possibly extracting rene's updated files
>>>> 3. replacing some files in the sane tarball with those from rene
>>>> 4. configure sane with the proper arguments to overwrite that provided
>>>> by your os
>>>> 5. make && make install
>>>>
>
>
>> Rene had written to me saying:
>>
>>> Can you copy the files from:
>>>
>>> http://svn.exactcode.de/sane-avision/trunk/backend/
>>>
>>> Into your local SANE source and recompile sane-backends?
>>>
>
>
>> I had a look at the trunk/backend location and there are 3
>> subdirectories there:
>>
>> Avision. c
>> .conf
>> .h
>>
>
> those are files, not subdirs, but yes, that is what we are after.
>
>
>> Referring to te extracted files from 1.0.18 in the temporary Backend
>> Folder there are the same named files but avision.conf is in the
>> extracted files as avision.conf.in
>>
>> I assume I copy the trunk/backend files into the Backend folder of the
>> temp directory, but what about the avision.conf.in?
>>
>
> yes, overwrite the files in 'backend', but rename rene's avision.conf
> to avision.conf.in first. that is a more recent change that rene
> perhaps did not make to his private copy.
>
> then you are off to step 4. you will want to make sure you have
> /usr/include/usb.h first. if not, install the libusb-dev or
> libusb-devel package that came with your os.
>
> you need to determine where your existing compilation of sane has
> installed its files, and pass the correct arguments to ./configure to
> use the same locations. this will overwrite the originals instead of
> installing a second copy (which causes issues generally). run
> configure with the --help option for more info.
>
> basically, we want to overwrite the scanimage and sane-find-scanner
> programs, (probably in /usr/bin), the saned daemon program (probably
> in /usr/sbin) as well as libsane.so.* and the sane/libsane-* libraries
> (probably in /usr/lib). we also want to overwrite /etc/sane.d
>
> probably something like:
>
> ../configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
>
I am using 32 bit ubuntu.
The string above does not work for me at the moment. I think because I
do not know where to place it.
I have put the sane source code as updated by Rene's coding in
/home/robin/download/Sane Backends/sane-backends-1.0.18
Assuming that the installed versions of sane backends are as stated above by you. Opening terminal which folder should I cd to run your configure string above?
> though if you are on a 64 bit linux system you might have to add
> --libdir=/usr/lib64
>
> allan
>
>
----------------------------------------------------------------------
Get a free email account with anti spam protection.
http://www.bluebottle.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20070606/5e9644f1/attachment.htm
More information about the sane-devel
mailing list