<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p>Hi Ismet,</p>
<p>For Ubuntu you can use my ppa, if you don't want to edit some
source files and need to biuld SANE by yourself:<br>
<a class="moz-txt-link-freetext" href="https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git">https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git</a> .</p>
<p>Hope this helps.</p>
<p>Cheers,<br>
Rolf</p>
<p><br>
</p>
<div class="moz-cite-prefix">Am 10.03.20 um 10:30 schrieb Ismet
Bahadir:<br>
</div>
<blockquote type="cite"
cite="mid:%3C37df79b50d3549ccbd41f822e8fcb1e5@keydata.com.tr%3E">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<div class="WordSection1">
<p class="MsoNormal"><span lang="TR">Hi All,</span></p>
<p class="MsoNormal"><span lang="TR"> </span></p>
<p class="MsoNormal"><span lang="TR">I’m trying to compile Sane
from source but I’m getting errors. These are the references
I follow:</span></p>
<p class="MsoNormal"><span lang="TR"> </span></p>
<ol type="1" start="1">
<li class="MsoListParagraph"><span lang="TR"><a
href="http://www.sane-project.org/INSTALL.linux"
moz-do-not-send="true">http://www.sane-project.org/INSTALL.linux</a></span></li>
</ol>
<p class="MsoNormal"><span lang="TR"> </span></p>
<p class="MsoNormal"><span lang="TR">I download the source code
but <i>autogen</i> and
<i>configure</i> gives error: </span></p>
<p class="MsoNormal"><span lang="TR"> </span></p>
<p class="MsoNormal"><span lang="TR">ubuntu@ubuntu:~/backends$
./autogen.sh</span></p>
<p class="MsoNormal"><span lang="TR">autoreconf: Entering
directory `.'</span></p>
<p class="MsoNormal"><span lang="TR">autoreconf: running:
autopoint --force</span></p>
<p class="MsoNormal"><span lang="TR">Can't exec "autopoint": No
such file or directory at
/usr/share/autoconf/Autom4te/FileUtils.pm line 345.</span></p>
<p class="MsoNormal"><span lang="TR">autoreconf: failed to run
autopoint: No such file or directory</span></p>
<p class="MsoNormal"><span lang="TR">autoreconf: autopoint is
needed because this package uses Gettext</span></p>
<p class="MsoNormal"><span lang="TR">patching file ./ltmain.sh</span></p>
<p class="MsoNormal"><span lang="TR">Hunk #1 FAILED at 9708.</span></p>
<p class="MsoNormal"><span lang="TR">Hunk #2 FAILED at 10166.</span></p>
<p class="MsoNormal"><span lang="TR">2 out of 2 hunks FAILED --
saving rejects to file ./ltmain.sh.rej</span></p>
<p class="MsoNormal"><span lang="TR">patch: **** Can't reopen
file ./ltmain.sh : No such file or directory</span></p>
<p class="MsoNormal"><span lang="TR">patching file
./po/Rules-quot</span></p>
<p class="MsoNormal"><span lang="TR">Hunk #1 FAILED at 22.</span></p>
<p class="MsoNormal"><span lang="TR">patch: **** Can't reopen
file ./po/Rules-quot : No such file or directory</span></p>
<p class="MsoNormal"><span lang="TR">configure.ac:60: error:
required file './ar-lib' not found</span></p>
<p class="MsoNormal"><span lang="TR">configure.ac:60:
'automake --add-missing' can install 'ar-lib'</span></p>
<p class="MsoNormal"><span lang="TR">configure.ac:42: error:
required file './compile' not found</span></p>
<p class="MsoNormal"><span lang="TR">configure.ac:42:
'automake --add-missing' can install 'compile'</span></p>
<p class="MsoNormal"><span lang="TR">configure.ac:61: error:
required file './config.guess' not found</span></p>
<p class="MsoNormal"><span lang="TR">configure.ac:61:
'automake --add-missing' can install 'config.guess'</span></p>
<p class="MsoNormal"><span lang="TR">configure.ac:67: error:
required file './config.rpath' not found</span></p>
<p class="MsoNormal"><span lang="TR">configure.ac:61: error:
required file './config.sub' not found</span></p>
<p class="MsoNormal"><span lang="TR">configure.ac:61:
'automake --add-missing' can install 'config.sub'</span></p>
<p class="MsoNormal"><span lang="TR">configure.ac:14: error:
required file './install-sh' not found</span></p>
<p class="MsoNormal"><span lang="TR">configure.ac:14:
'automake --add-missing' can install 'install-sh'</span></p>
<p class="MsoNormal"><span lang="TR">configure.ac:61: error:
required file './ltmain.sh' not found</span></p>
<p class="MsoNormal"><span lang="TR">configure.ac:14: error:
required file './missing' not found</span></p>
<p class="MsoNormal"><span lang="TR">configure.ac:14:
'automake --add-missing' can install 'missing'</span></p>
<p class="MsoNormal"><span lang="TR">Makefile.am: error:
required file './INSTALL' not found</span></p>
<p class="MsoNormal"><span lang="TR">Makefile.am: 'automake
--add-missing' can install 'INSTALL'</span></p>
<p class="MsoNormal"><span lang="TR">configure.ac:67: error:
required file './ABOUT-NLS' not found</span></p>
<p class="MsoNormal"><span lang="TR">backend/Makefile.am:33:
warning: '%'-style pattern rules are a GNU make extension</span></p>
<p class="MsoNormal"><span lang="TR">backend/Makefile.am:37:
warning: '%'-style pattern rules are a GNU make extension</span></p>
<p class="MsoNormal"><span lang="TR">backend/Makefile.am: error:
required file './depcomp' not found</span></p>
<p class="MsoNormal"><span lang="TR">backend/Makefile.am:
'automake --add-missing' can install 'depcomp'</span></p>
<p class="MsoNormal"><span lang="TR">parallel-tests: error:
required file './test-driver' not found</span></p>
<p class="MsoNormal"><span lang="TR">parallel-tests: 'automake
--add-missing' can install 'test-driver'</span></p>
<p class="MsoNormal"><span lang="TR">autoreconf: automake failed
with exit status: 1</span><span lang="TR"></span></p>
<p class="MsoNormal"><span lang="TR"> </span></p>
<p class="MsoNormal"><span lang="TR"> </span></p>
<p class="MsoNormal"><span lang="TR">ubuntu@ubuntu:~/backends$
./configure</span></p>
<p class="MsoNormal"><span lang="TR">configure: error: cannot
find install-sh, install.sh, or shtool in "." "./.."
"./../.."</span><span lang="TR"></span></p>
<p class="MsoNormal"><span lang="TR"> </span></p>
<ol type="1" start="2">
<li class="MsoListParagraph"><span lang="TR"><a
href="https://help.ubuntu.com/community/CompileSaneFromSource"
moz-do-not-send="true">https://help.ubuntu.com/community/CompileSaneFromSource</a></span></li>
</ol>
<p class="MsoNormal"><span lang="TR"> </span></p>
<p class="MsoNormal"><span lang="TR">This reference directs to a
wrong source code download page. If I use the previous
source, I get the same error.</span></p>
<p class="MsoNormal"><span lang="TR"> </span></p>
<p class="MsoNormal"><span lang="TR">How can I compile the Sane
source on 32 bit Ubuntu?</span></p>
<p class="MsoNormal"><span lang="TR"> </span></p>
<p class="MsoNormal"><span lang="TR">Thanks</span></p>
</div>
</blockquote>
</body>
</html>