[sane-devel] Unable to Build Sane Backends

Wes Rishel wrishel at gmail.com
Tue Sep 1 05:02:52 BST 2020


 Once again, thanks for your nearly instantaneous reply. When I run
./autogen.sh I get what is shown below an apparent infinite loop leading to
a segmentation fault. I suspect that this is related to the highlighted
line below, but I am not clear on what to try ti address it.

Some specific information.

   - this is from a download that I made today from
   https://gitlab.com/sane-project/backends/-/tree/master/backend
   - I downloaded as a zip and expanded the zip into a newly-created
   directory. I ran the command in that directory.
   - prior to running the command I verified the presence of libtool-bin,
   libusb-dev, autoconf, libjpeg-dev, and gettext,
   - All were at or more advanced than the versions specified in the README
   - I did not check for libgphoto2 or a C++11 compliant C++ compiler as I
   only intended to rebuild the fujitso backend.
   - I have rebooted and redownloaded the backends repository to an empty
   directory with no change
   - In order to capture the early error output I reran the command as
   ~/HETP/sane/backends-master$ ./autogen.sh > output.txt 2>&1
   - my goal is to get a fujitsu backend rebuilt according to the
   instructions to enable sanner-side compression as described in
   https://alioth-lists.debian.net/pipermail/sane-devel/2009-April/024516.html
   - If there is an easier way to accomplish this I am open to suggestions.

















*autoreconf: Entering directory `.'autoreconf: running: autopoint
--forceCopying file po/Rules-quotautoreconf: running: aclocal --force
--warnings=all -I m4fatal: not a git repository (or any of the parent
directories): .gitconfigure.ac:14 <http://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 <http://configure.ac:14>: the top levelautom4te:
/usr/bin/m4 failed with exit status: 1aclocal: error: echo failed with exit
status: 1autoreconf: aclocal failed with exit status: 1patching file
./ltmain.shHunk #1 FAILED at 9708.Hunk #2 FAILED at 10166.2 out of 2 hunks
FAILED -- saving rejects to file ./ltmain.sh.rejpatch: **** Can't reopen
file ./ltmain.sh : No such file or directory*

*    (the above line repeated approximately 11,000 times)*









*patch: **** Can't create file ./ltmain.sh.orig./autogen.sh: line 6:  5152
Segmentation fault      (core dumped) patch "$srcdir/ltmain.sh"
"$srcdir/ltmain.sh.patch"patching file ./po/Rules-quotfatal: not a git
repository (or any of the parent directories): .gitconfigure.ac:14
<http://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 <http://configure.ac:14>: the top
levelautom4te: /usr/bin/m4 failed with exit status: 1aclocal: error: echo
failed with exit status: 1autoreconf: aclocal failed with exit status: 1*



On Mon, Aug 31, 2020 at 5:13 PM Ralph Little <skelband at gmail.com> wrote:

> Hi,
>
> On 2020-08-31 5:06 p.m., Wes Rishel wrote:
>
>
> ./configure --prefix=/usr --libdir=/usr/lib/i386-linux-gnu
> --sysconfdir=/etc --localstatedir=/var  --enable-avahi
> make
> sudo make install
>
> However, there is no file named configure in the download, and whereis
> configure shows no Ubuntu command with that name.
>
> There is a file configure.ac but it does have execute permission and it
> has lines that being with dnl that bash does not recognize as commands.
>
>
> Please follow the build instructions in the README file at the top level
> of the repo.
> If you are building from a git clone then you have a few steps:
>
> The quick version is here:
>
> ./autogen.sh
> ./configure
> make
> make install
>
> However, you should read the full version for details.
> In particular, you might have to be root to run make install, or you might
> want to run configure with options to deliver the build products to
> somewhere other than your system.
>
> Cheers,
> Ralph
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20200831/4a13cf02/attachment.html>


More information about the sane-devel mailing list