[sane-devel] Problem installing sane-backends

David Niklas doark at mail.com
Wed Sep 2 17:13:15 BST 2020


Hello,

I'm trying to install a version of sane-backends that supports my scanner,
which would be 1.0.28 or newer. I'm getting an error when trying to
run autogen.sh on any version of sane-backends (which is the first step
in the INSTALL doc).

# ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: running: autopoint --force
Copying file ABOUT-NLS
Copying file config.rpath
Copying file m4/codeset.m4
Copying file m4/extern-inline.m4
Copying file m4/fcntl-o.m4
Copying file m4/gettext.m4
Copying file m4/glibc2.m4
Copying file m4/glibc21.m4
Copying file m4/iconv.m4
Copying file m4/intdiv0.m4
Copying file m4/intl.m4
Copying file m4/intldir.m4
Copying file m4/intlmacosx.m4
Copying file m4/intmax.m4
Copying file m4/inttypes-pri.m4
Copying file m4/inttypes_h.m4
Copying file m4/lcmessage.m4
Copying file m4/lib-ld.m4
Copying file m4/lib-link.m4
Copying file m4/lib-prefix.m4
Copying file m4/lock.m4
Copying file m4/longlong.m4
Copying file m4/nls.m4
Copying file m4/po.m4
Copying file m4/printf-posix.m4
Copying file m4/progtest.m4
Copying file m4/size_max.m4
Copying file m4/stdint_h.m4
Copying file m4/threadlib.m4
Copying file m4/uintmax_t.m4
Copying file m4/visibility.m4
Copying file m4/wchar_t.m4
Copying file m4/wint_t.m4
Copying file m4/xsize.m4
Copying file po/Makefile.in.in
Copying file po/Makevars.template
Copying file po/Rules-quot
Copying file po/boldquot.sed
Copying file po/en at boldquot.header
Copying file po/en at quot.header
Copying file po/insert-header.sin
Copying file po/quot.sed
Copying file po/remove-potcdate.sin
autoreconf: running: aclocal --force --warnings=all -I m4
fatal: Not a git repository (or any of the parent directories): .git
configure.ac:14: error: AC_INIT should be called with package and version
arguments /usr/share/aclocal-1.15/init.m4:29: AM_INIT_AUTOMAKE is
expanded from... configure.ac:14: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
patching file ./ltmain.sh
Hunk #1 FAILED at 9615.
Hunk #2 FAILED at 10073.
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
fatal: Not a git repository (or any of the parent directories): .git
configure.ac:14: error: AC_INIT should be called with package and version
arguments /usr/share/aclocal-1.15/init.m4:29: AM_INIT_AUTOMAKE is
expanded from... configure.ac:14: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1


# m4 --version
m4 (GNU M4) 1.4.18
# automake --version
automake (GNU automake) 1.15
# autoreconf --version
autoreconf (GNU Autoconf) 2.69
# aclocal --version
aclocal (GNU automake) 1.15
# patch --version
GNU patch 2.7.5

I'm on Devuan (Debian) Linux.

If you have any ideas how to fix or work around this, please send them.

Thanks,
David



More information about the sane-devel mailing list