<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 17, 2021, 7:16 PM Rich Shepard <<a href="mailto:rshepard@appl-ecosys.com">rshepard@appl-ecosys.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, 17 Feb 2021, Jeremy Hansen wrote:<br>
<br>
> I don't know what to tell you. The SlackBuild defaults to disabling nmea<br>
> unless the AVAHI variable is set to anything other than "no". If it is<br>
> left unset, nmea is disabled.<br>
<br>
> The only other thing to check would be running the script with bash -x to<br>
> see everything bash sees when it's running the script. This way it would be<br>
> able to tell you what happens with the above code block.<br>
<br>
Jeremy,<br>
<br>
geoclue2 was installed long ago with no problems, and upgraded since then.<br>
Why it should now ask for a non-present file is puzzling.<br>
<br>
If I could find an avahi something to install that would make geoclue2 happy<br>
I'd do it. But I haven't found anything.<br>
<br>
Running the script from bash yields the same results.<br>
<br>
> avahi_opts='--disable-nmea-source'<br>
> [ "${AVAHI:-no}" != "no" ] && avahi_opts=''<br>
<br>
What should I do with these? Put them in the build script somewhere? A quick<br>
web search suggests that 'nmea' is a software gps emulator. There ought to<br>
be something that will tell the build script to ignore nmea, avahi, and all<br>
similar optional inputs.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Those are taken directly from the SlackBuild script. It's how the script determines whether or not to pass --disable-nmea-source to the configure script.</div><div dir="auto"><br></div><div dir="auto">Based on your log, it seems you don't have the proper script. There's nothing in the log setting the avahi_opts variable, which tells me the above line seems to not be in your SlackBuild.</div><div dir="auto"><br></div><div dir="auto">I got the following in between the extraction of the tarball and the configure command.</div><div dir="auto"><br></div><div dir="auto"><div dir="auto">geoclue-2.4.7/COPYING.LIB</div><div dir="auto">geoclue-2.4.7/<a href="http://intltool-merge.in">intltool-merge.in</a></div><div dir="auto">+ cd geoclue-2.4.7</div><div dir="auto">+ chown -R root:root .</div><div dir="auto">+ find -L . '(' -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 ')' -exec chmod 755 '{}' ';' -o '(' -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 ')' -exec chmod 644 '{}' ';'</div><div dir="auto"><font color="#f44336">+ avahi_opts=--disable-nmea-source</font></div><div dir="auto"><font color="#f44336">+ '[' no '!=' no ']'</font></div><div dir="auto">+ CFLAGS='-O2 -fPIC'</div><div dir="auto">+ CXXFLAGS='-O2 -fPIC'</div><div dir="auto">+ ./configure --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --docdir=/usr/doc/geoclue2-2.4.7 --disable-nmea-source --enable-static=no --build=x86_64-slackware-linux</div><div dir="auto"><br></div><div dir="auto">Your log is missing the red section, which means that the code to set it (which I included in a previous message) must be missing in your SlackBuild. Otherwise there'd be something in there about what the avahi variable is.</div><div dir="auto"><br></div><div dir="auto">Jeremy</div></div></div>