<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small">Konrad,</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small">note that if you are using OTB, the slackbuild is currently not maintained as Benjamin unfortunately has stopped maintaining his builds. So if you feel like taking it up, I suspect it is free.</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small">Greg<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 5 Apr 2022 at 17:23, Konrad J Hambrick <<a href="mailto:kjhambrick@gmail.com" target="_blank">kjhambrick@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 dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Thanks Greg.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">Worked Great !</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">OTB ( montevideo ) is running as expected without a rebuild with gdal 3.4.2</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">-- kjh</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 5, 2022 at 10:53 AM Konrad J Hambrick <<a href="mailto:kjhambrick@gmail.com" target="_blank">kjhambrick@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 dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Thanks Greg !</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">Building gdal 3.4.2 now :)</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">-- kjh</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 4, 2022 at 6:47 PM Greg' Ar Tourter <<a href="mailto:artourter@gmail.com" target="_blank">artourter@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 dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small">Hi Luis,</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small">I submitted a fix a few days ago for this. in the meantime use the source url off the slackbuild website:</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small"><a href="https://github.com/OSGeo/gdal/releases/download/v3.4.2/gdal-3.4.2.tar.gz" target="_blank">https://github.com/OSGeo/gdal/releases/download/v3.4.2/gdal-3.4.2.tar.gz</a></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small">or look at the change in git:</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small"><a href="https://git.slackbuilds.org/slackbuilds/commit/?h=willysr&id=bf9481b91e81851503e8ae54d41022eb8bbbd666" target="_blank">https://git.slackbuilds.org/slackbuilds/commit/?h=willysr&id=bf9481b91e81851503e8ae54d41022eb8bbbd666</a></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small">Then you do not need to change anything to the slackbuild script.</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small">Hope this helps</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small">Cheers</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small">Greg<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 5 Apr 2022 at 00:20, Luiz Carlos Ramos <<a href="mailto:lramos.prof@yahoo.com.br" target="_blank">lramos.prof@yahoo.com.br</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">Hello,<br>
<br>
these days I tried to build some packages which changed the SlackBuild<br>
script, among them, gdal.<br>
<br>
In the first run, it failed.<br>
<br>
Searching a little bit, it seemed that the tarball has a slightly<br>
different layout. In fact, everything that was supposed to be in the<br>
root level is actually in the "./gdal" subdirectory.<br>
<br>
Also, the "configure" script was not there. It was rebuilt running<br>
"autoreconf -fi" in the right time.<br>
<br>
I managed to tweak the slackbuild script and could ultimately build the<br>
package. A patch is provided below.<br>
<br>
Anyway, it's wise to check whether these findings happen in other<br>
environments before taking any measure. One other possible cause would<br>
be the tarball URL be incorrect.<br>
<br>
Many thanks,<br>
<br>
Luiz Ramos<br>
lramos dot prof at yahoo dot com dot br<br>
São Paulo - Brazil<br>
<br>
<br>
===<br>
>From 031fd83c1fb76a855bc423c4b113829f5595fd4b Mon Sep 17 00:00:00 2001<br>
From: Luiz Ramos <<a href="mailto:lramos.prof@yahoo.com.br" target="_blank">lramos.prof@yahoo.com.br</a>><br>
Date: Sun, 3 Apr 2022 19:46:55 -0300<br>
Subject: [PATCH] gis/gdal: fixed build<br>
<br>
Appearently the tarball downloaded changed its layout and so the build directory<br>
has to be changed. Also, there is no "configure" file: it has to be build using<br>
"autoreconf -fi".<br>
---<br>
gis/gdal/gdal.SlackBuild | 9 ++++++++-<br>
1 file changed, 8 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/gis/gdal/gdal.SlackBuild b/gis/gdal/gdal.SlackBuild<br>
index 4f83453333..056874624f 100644<br>
--- a/gis/gdal/gdal.SlackBuild<br>
+++ b/gis/gdal/gdal.SlackBuild<br>
@@ -119,6 +119,9 @@ else<br>
WITHLIST+=" --with-jpeg=yes"<br>
fi<br>
<br>
+cd gdal<br>
+autoreconf -fi<br>
+<br>
# The CPPFLAGS are for the newer mariadb (thanks pprkut!)<br>
CPPFLAGS="-I/usr/include/mysql/server" \<br>
CFLAGS="$SLKCFLAGS" \<br>
@@ -154,13 +157,17 @@ CXXFLAGS="$SLKCFLAGS" \<br>
make<br>
make install DESTDIR=$PKG<br>
<br>
+cd ..<br>
+<br>
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \<br>
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true<br>
<br>
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION<br>
+cd gdal && \<br>
cp -a \<br>
COMMITTERS HOWTO-RELEASE LICENSE.TXT MIGRATION_GUIDE.TXT NEWS.md PROVENANCE.TXT VERSION \<br>
- $PKG/usr/doc/$PRGNAM-$VERSION<br>
+ $PKG/usr/doc/$PRGNAM-$VERSION && \<br>
+cd ..<br>
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild<br>
<br>
rm -f $PKG/usr/lib*/*.la<br>
-- <br>
2.35.1<br>
<br>
</blockquote></div>
_______________________________________________<br>
SlackBuilds-users mailing list<br>
<a href="mailto:SlackBuilds-users@slackbuilds.org" target="_blank">SlackBuilds-users@slackbuilds.org</a><br>
<a href="https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br>
Archives - <a href="https://lists.slackbuilds.org/pipermail/slackbuilds-users/" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/pipermail/slackbuilds-users/</a><br>
FAQ - <a href="https://slackbuilds.org/faq/" rel="noreferrer" target="_blank">https://slackbuilds.org/faq/</a><br>
<br>
</blockquote></div>
</blockquote></div>
_______________________________________________<br>
SlackBuilds-users mailing list<br>
<a href="mailto:SlackBuilds-users@slackbuilds.org" target="_blank">SlackBuilds-users@slackbuilds.org</a><br>
<a href="https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br>
Archives - <a href="https://lists.slackbuilds.org/pipermail/slackbuilds-users/" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/pipermail/slackbuilds-users/</a><br>
FAQ - <a href="https://slackbuilds.org/faq/" rel="noreferrer" target="_blank">https://slackbuilds.org/faq/</a><br>
<br>
</blockquote></div>