<div dir="ltr">Thank you!<div><br></div><div>kcs</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 3, 2023 at 9:05 PM Todd Zullinger via Gnupg-users <<a href="mailto:gnupg-users@gnupg.org">gnupg-users@gnupg.org</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">K S via Gnupg-users wrote:<br>
> It would be helpful to know why I can't get compression in my build. I've<br>
> tried to build from source three times now.<br>
> <br>
> There are so many packages in Ubuntu with zip, zlib, and bzip2 in the name<br>
> I can't begin to try them all. I've looked at config.log and it doesn't<br>
> give much help.<br>
<br>
The config.log should show some information about the<br>
compression algorithms, likely found searching for "zip" in<br>
the output.<br>
<br>
Building from source does require a bit of familiarity with<br>
the system on which you are building. While you shouldn't<br>
need to randomly try all the packages, knowing where to look<br>
for ideas will help.<br>
<br>
I don't use Ubuntu or Debian, but if I were trying to build<br>
gnupg from source I'd start by looking at what build<br>
dependencies are required by the system packages.<br>
<br>
In the case of gnupg, you can see that in the debian/control<br>
file:<br>
<br>
<a href="https://salsa.debian.org/debian/gnupg2/-/blob/7f5e9b1b/debian/control#L9-43" rel="noreferrer" target="_blank">https://salsa.debian.org/debian/gnupg2/-/blob/7f5e9b1b/debian/control#L9-43</a><br>
<a href="https://git.launchpad.net/ubuntu/+source/gnupg2/tree/debian/control#n10" rel="noreferrer" target="_blank">https://git.launchpad.net/ubuntu/+source/gnupg2/tree/debian/control#n10</a><br>
<br>
You can install those build dependencies via something like:<br>
<br>
apt-get build-dep gnupg2<br>
<br>
The debian/rules file is usually also interesting; seeing<br>
what configure and make options are used can be helpful.<br>
<br>
Some of the dependencies for the current gnupg may be newer<br>
than what is required by the gnupg2 package in Ubuntu and/or<br>
provided by the OS. You may first need to build those newer<br>
dependencies.<br>
<br>
If so, you need to be careful not to interfere with the OS<br>
libraries which are used by other packages on the system.<br>
It can get "interesting" trying to update something which is<br>
quite a core dependency of the operating system.<br>
<br>
-- <br>
Todd<br>
_______________________________________________<br>
Gnupg-users mailing list<br>
<a href="mailto:Gnupg-users@gnupg.org" target="_blank">Gnupg-users@gnupg.org</a><br>
<a href="https://lists.gnupg.org/mailman/listinfo/gnupg-users" rel="noreferrer" target="_blank">https://lists.gnupg.org/mailman/listinfo/gnupg-users</a><br>
</blockquote></div>