<div dir="ltr">Thanks.<div><br></div><div>re: apt-get build-dep libsane</div><div><br></div><div>Ralph, I must be doing something wrong:</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><font face="monospace"><br></font></div><div><font face="monospace">$ sudo apt-get build-dep libsane</font></div><div><font face="monospace">Reading package lists... Done</font></div><div><font face="monospace">E: You must put some 'source' URIs in your sources.list</font></div><div><font face="monospace">$</font></div><div><font face="monospace"><br></font></div></blockquote>I have also tried libsane1. Reading various pages on the error message it looks like apt-get is not finding a repository for libsane. Is that correct? I see where I might uncomment an entry in /etc/apt/sources.list but I'm unsure what entry to change. There is nothing specific to sane in that file.<font face="monospace"><br></font><div><br></div><div>I'm still stuck on the ./autoconfigure loop and core dump that has had me roadblocked. </div><div><br></div><div>Here's a wild thought/desperate measure thought. Would it work? </div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>I have access to a libsane-fujitsu.so.1.0.xx on an Ubuntu 14 machine that includes the patch I need. I don't know what version of sane it is, but it was probably compiled somewhere in the year 2016 or 2015. </div><div><br></div><div>If I just copy that .so file over to my Ubuntu 18.04 machine, os there a snowball's chance in heck that it would run? I would have to make a trip to get to that system so I'm not wanting to try it if the idea is just plain stupid.</div></blockquote><div><br></div><div>(what follows is a repeat of the problem that I'm having.</div><div><br></div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div name="messageBodySection"><div><font face="monospace"><b>autoreconf: Entering directory `.'<br>autoreconf: running: autopoint --force<br>Copying file po/Rules-quot<br>autoreconf: running: aclocal --force --warnings=all -I m4<br>fatal: not a git repository (or any of the parent directories): .git<br><span style="background-color:rgb(255,242,204)"><a href="http://configure.ac:14/" target="_blank">configure.ac:14</a>: error: AC_INIT should be called with package and version arguments</span><br>/usr/share/aclocal-1.15/init.m4:29: AM_INIT_AUTOMAKE is expanded from...<br><a href="http://configure.ac:14/" target="_blank">configure.ac:14</a>: the top level<br>autom4te: /usr/bin/m4 failed with exit status: 1<br>aclocal: error: echo failed with exit status: 1<br>autoreconf: aclocal failed with exit status: 1<br>patching file ./ltmain.sh<br>Hunk #1 FAILED at 9708.<br>Hunk #2 FAILED at 10166.<br>2 out of 2 hunks FAILED -- saving rejects to file ./ltmain.sh.rej<br>patch: **** Can't reopen file ./ltmain.sh : No such file or directory</b></font></div><div><b><span style="font-family:monospace"> <font color="#ff0000">(the above line repeated approximately 11,000 times)</font></span><font face="monospace"><br></font></b></div></div></div></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div name="messageBodySection"><div><font face="monospace"><b>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"<br>patching file ./po/Rules-quot<br>fatal: not a git repository (or any of the parent directories): .git<br><a href="http://configure.ac:14/" target="_blank">configure.ac:14</a>: error: AC_INIT should be called with package and version arguments<br>/usr/share/aclocal-1.15/init.m4:29: AM_INIT_AUTOMAKE is expanded from...<br><a href="http://configure.ac:14/" target="_blank">configure.ac:14</a>: the top level<br>autom4te: /usr/bin/m4 failed with exit status: 1<br>aclocal: error: echo failed with exit status: 1<br>autoreconf: aclocal failed with exit status: 1</b><br></font></div></div></blockquote><div class="gmail-yj6qo gmail-ajU" style="outline:none;padding:10px 0px;width:22px;margin:2px 0px 0px"><br class="gmail-Apple-interchange-newline"></div></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 31, 2020 at 9:22 PM Ralph Little <<a href="mailto:skelband@gmail.com">skelband@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
Hi,<br>
<br>
<div>On 2020-08-31 9:02 p.m., Wes Rishel
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>
<div name="messageBodySection">
<div dir="auto">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.</div>
<div dir="auto"><br>
</div>
<div>Some specific information.</div>
<div>
<ul>
<li>this is from a download that I made today from <a href="https://gitlab.com/sane-project/backends/-/tree/master/backend" target="_blank">https://gitlab.com/sane-project/backends/-/tree/master/backend</a></li>
<li>I downloaded as a zip and expanded the zip into a
newly-created directory. I ran the command in that
directory.</li>
<li>prior to running the command I verified the presence
of libtool-bin, libusb-dev, autoconf, libjpeg-dev, and
gettext, </li>
<li>All were at or more advanced than the versions
specified in the README</li>
<li>I did not check for libgphoto2 or a C++11 compliant
C++ compiler as I only intended to rebuild the fujitso
backend.</li>
<li>I have rebooted and redownloaded the backends
repository to an empty directory with no change</li>
<li>In order to capture the early error output I reran
the command as ~/HETP/sane/backends-master$
./autogen.sh > output.txt 2>&1<br>
</li>
<li>my goal is to get a fujitsu backend rebuilt
according to the instructions to enable sanner-side
compression as described in <a href="https://alioth-lists.debian.net/pipermail/sane-devel/2009-April/024516.html" target="_blank">https://alioth-lists.debian.net/pipermail/sane-devel/2009-April/024516.html</a></li>
<li>If there is an easier way to accomplish this I am
open to suggestions. <br>
</li>
</ul>
</div>
</div>
</div>
</div>
</blockquote>
<br>
For the record, I don't know which distro you are building on, but
to get most of the required dependencies on a Debian based repo, you
can do:<br>
<br>
sudo apt-get build-dep libsane<br>
<br>
In addition, most people also require libxml2-dev which is a newer
dependency.<br>
<br>
Good luck!<br>
<br>
Cheers,<br>
Ralph<br>
</div>
</blockquote></div>