[sane-devel] Compile Sane from source

Ismet Bahadir Ismet.Bahadir at keydata.com.tr
Tue Mar 10 09:30:12 GMT 2020


Hi All,

I'm trying to compile Sane from source but I'm getting errors. These are the references I follow:


  1.  http://www.sane-project.org/INSTALL.linux

I download the source code but autogen and configure gives error:

ubuntu at ubuntu:~/backends$ ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: running: autopoint --force
Can't exec "autopoint": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 345.
autoreconf: failed to run autopoint: No such file or directory
autoreconf: autopoint is needed because this package uses Gettext
patching file ./ltmain.sh
Hunk #1 FAILED at 9708.
Hunk #2 FAILED at 10166.
2 out of 2 hunks FAILED -- saving rejects to file ./ltmain.sh.rej
patch: **** Can't reopen file ./ltmain.sh : No such file or directory
patching file ./po/Rules-quot
Hunk #1 FAILED at 22.
patch: **** Can't reopen file ./po/Rules-quot : No such file or directory
configure.ac:60: error: required file './ar-lib' not found
configure.ac:60:   'automake --add-missing' can install 'ar-lib'
configure.ac:42: error: required file './compile' not found
configure.ac:42:   'automake --add-missing' can install 'compile'
configure.ac:61: error: required file './config.guess' not found
configure.ac:61:   'automake --add-missing' can install 'config.guess'
configure.ac:67: error: required file './config.rpath' not found
configure.ac:61: error: required file './config.sub' not found
configure.ac:61:   'automake --add-missing' can install 'config.sub'
configure.ac:14: error: required file './install-sh' not found
configure.ac:14:   'automake --add-missing' can install 'install-sh'
configure.ac:61: error: required file './ltmain.sh' not found
configure.ac:14: error: required file './missing' not found
configure.ac:14:   'automake --add-missing' can install 'missing'
Makefile.am: error: required file './INSTALL' not found
Makefile.am:   'automake --add-missing' can install 'INSTALL'
configure.ac:67: error: required file './ABOUT-NLS' not found
backend/Makefile.am:33: warning: '%'-style pattern rules are a GNU make extension
backend/Makefile.am:37: warning: '%'-style pattern rules are a GNU make extension
backend/Makefile.am: error: required file './depcomp' not found
backend/Makefile.am:   'automake --add-missing' can install 'depcomp'
parallel-tests: error: required file './test-driver' not found
parallel-tests:   'automake --add-missing' can install 'test-driver'
autoreconf: automake failed with exit status: 1


ubuntu at ubuntu:~/backends$ ./configure
configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."


  1.  https://help.ubuntu.com/community/CompileSaneFromSource

This reference directs to a wrong source code download page. If I use the previous source, I get the same error.

How can I compile the Sane source on 32 bit Ubuntu?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20200310/bcb02ebf/attachment.html>


More information about the sane-devel mailing list