Mailing List Archive

Building GnuPG – libassuan version
I just tried to build the current master branch of
https://dev.gnupg.org/source/gnupg.git

When trying to build it, I receive the error

*** You need libassuan to build this program.
*** This library is for example available at
*** https://gnupg.org/ftp/gcrypt/libassuan/
*** (at least version 3.0.0 (API 3) is required).


This is my configure command:

./configure --prefix=/opt/gnupg-2.4.3 --sysconfdir=/opt/gnupg-2.4.3/etc
--with-libgcrypt-prefix=/opt/libgcrypt
--with-libgpg-error-prefix=/opt/libgpg-error
--with-npth-prefix=/opt/npth --with-libassuan-prefix=/opt/libassuan3.0-base

I built libassuan 3.0-base from the tag
https://github.com/gpg/libassuan/tree/libassuan-3.0-base and installed
it at the dir shown above. Can anyone give me a hint what can be the
reason for still receiving this error message?

- Falko

--

*MTG AG*
Dr. Falko Strenzke
Executive System Architect

Phone: +49 6151 8000 24
E-Mail: falko.strenzke@mtg.de
Web: mtg.de <https://www.mtg.de>


*MTG Exhibitions – See you in 2023*

------------------------------------------------------------------------
<https://community.e-world-essen.com/institutions/allExhibitors?query=true&keywords=mtg>
<https://www.itsa365.de/de-de/companies/m/mtg-ag>

MTG AG - Dolivostr. 11 - 64293 Darmstadt, Germany
Commercial register: HRB 8901
Register Court: Amtsgericht Darmstadt
Management Board: Jürgen Ruf (CEO), Tamer Kemeröz
Chairman of the Supervisory Board: Dr. Thomas Milde

This email may contain confidential and/or privileged information. If
you are not the correct recipient or have received this email in error,
please inform the sender immediately and delete this email. Unauthorised
copying or distribution of this email is not permitted.

Data protection information: Privacy policy
<https://www.mtg.de/en/privacy-policy>
Re: Building GnuPG – libassuan version [ In reply to ]
I see now that even
https://github.com/gpg/libassuan/tree/libassuan-3.0-base is identifying
itself as version "2.5.6-beta1" via its config binary. So I wonder how I
can have working version of libassuan for current GnuPG master.

- Falko

Am 10.10.23 um 10:00 schrieb Falko Strenzke:
>
> I just tried to build the current master branch of
> https://dev.gnupg.org/source/gnupg.git
>
> When trying to build it, I receive the error
>
> *** You need libassuan to build this program.
> *** This library is for example available at
> *** https://gnupg.org/ftp/gcrypt/libassuan/
> *** (at least version 3.0.0 (API 3) is required).
>
>
> This is my configure command:
>
> ./configure --prefix=/opt/gnupg-2.4.3
> --sysconfdir=/opt/gnupg-2.4.3/etc
> --with-libgcrypt-prefix=/opt/libgcrypt
> --with-libgpg-error-prefix=/opt/libgpg-error
> --with-npth-prefix=/opt/npth
> --with-libassuan-prefix=/opt/libassuan3.0-base
>
> I built libassuan 3.0-base from the tag
> https://github.com/gpg/libassuan/tree/libassuan-3.0-base and installed
> it at the dir shown above. Can anyone give me a hint what can be the
> reason for still receiving this error message?
>
> - Falko
>
> --
>
> *MTG AG*
> Dr. Falko Strenzke
> Executive System Architect
>
> Phone: +49 6151 8000 24
> E-Mail: falko.strenzke@mtg.de
> Web: mtg.de <https://www.mtg.de>
>
>
> *MTG Exhibitions – See you in 2023*
>
> ------------------------------------------------------------------------
> <https://community.e-world-essen.com/institutions/allExhibitors?query=true&keywords=mtg>
> <https://www.itsa365.de/de-de/companies/m/mtg-ag>
>
> MTG AG - Dolivostr. 11 - 64293 Darmstadt, Germany
> Commercial register: HRB 8901
> Register Court: Amtsgericht Darmstadt
> Management Board: Jürgen Ruf (CEO), Tamer Kemeröz
> Chairman of the Supervisory Board: Dr. Thomas Milde
>
> This email may contain confidential and/or privileged information. If
> you are not the correct recipient or have received this email in error,
> please inform the sender immediately and delete this email.
> Unauthorised copying or distribution of this email is not permitted.
>
> Data protection information: Privacy policy
> <https://www.mtg.de/en/privacy-policy>
>
>
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users@gnupg.org
> https://lists.gnupg.org/mailman/listinfo/gnupg-users
--

*MTG AG*
Dr. Falko Strenzke
Executive System Architect

Phone: +49 6151 8000 24
E-Mail: falko.strenzke@mtg.de
Web: mtg.de <https://www.mtg.de>


*MTG Exhibitions – See you in 2023*

------------------------------------------------------------------------
<https://community.e-world-essen.com/institutions/allExhibitors?query=true&keywords=mtg>
<https://www.itsa365.de/de-de/companies/m/mtg-ag>

MTG AG - Dolivostr. 11 - 64293 Darmstadt, Germany
Commercial register: HRB 8901
Register Court: Amtsgericht Darmstadt
Management Board: Jürgen Ruf (CEO), Tamer Kemeröz
Chairman of the Supervisory Board: Dr. Thomas Milde

This email may contain confidential and/or privileged information. If
you are not the correct recipient or have received this email in error,
please inform the sender immediately and delete this email. Unauthorised
copying or distribution of this email is not permitted.

Data protection information: Privacy policy
<https://www.mtg.de/en/privacy-policy>
Re: Building GnuPG – libassuan version [ In reply to ]
On Mittwoch, 11. Oktober 2023 09:08:23 CEST Falko Strenzke wrote:
> I see now that even
> https://github.com/gpg/libassuan/tree/libassuan-3.0-base is identifying
> itself as version "2.5.6-beta1" via its config binary. So I wonder how I
> can have working version of libassuan for current GnuPG master.

Use libassuan master.

libassuan-3.0-base marks the branch point where the development of libassuan
3.0 split off of the further development of libassuan 2. Obviously, at this
point the version was still 2.x.

Regards,
Ingo
Re: Building GnuPG – libassuan version [ In reply to ]
Hi Falko,

On Wed, 11 Oct 2023 09:08, Falko Strenzke said:
> I see now that even https://github.com/gpg/libassuan/tree/libassuan-3.0-base
> is identifying itself as version "2.5.6-beta1" via its config binary. So I
> wonder how I can have working version of libassuan for current GnuPG master.

I am travelling, so only a short reply.

Please do not use the github mirror - I am not sure whether it is always
up to date. Better use the https://dev.gnupg.org mirror or just the
plain git:// mirror.

You should simply checkout "master" and not a specific tag. Current
development goes into master and at least for me it works.
Current HEAD is at 16b6b7753229a41fb3b4bf77d34873db8f3cb682.

You need to get the latest libassuan master, build and install it and
also the latest libgpg-error.


Shalom-Salam,

Werner

--
The pioneers of a warless world are the youth that
refuse military service. - A. Einstein
Re: Building GnuPG – libassuan version [ In reply to ]
Thanks Werner and Ingo. With the current master of libassuan I can
indeed build gnupg.

- Falko

Am 11.10.23 um 14:20 schrieb Werner Koch:
> Hi Falko,
>
> On Wed, 11 Oct 2023 09:08, Falko Strenzke said:
>> I see now that evenhttps://github.com/gpg/libassuan/tree/libassuan-3.0-base
>> is identifying itself as version "2.5.6-beta1" via its config binary. So I
>> wonder how I can have working version of libassuan for current GnuPG master.
> I am travelling, so only a short reply.
>
> Please do not use the github mirror - I am not sure whether it is always
> up to date. Better use thehttps://dev.gnupg.org mirror or just the
> plain git:// mirror.
>
> You should simply checkout "master" and not a specific tag. Current
> development goes into master and at least for me it works.
> Current HEAD is at 16b6b7753229a41fb3b4bf77d34873db8f3cb682.
>
> You need to get the latest libassuan master, build and install it and
> also the latest libgpg-error.
>
>
> Shalom-Salam,
>
> Werner
>
--

*MTG AG*
Dr. Falko Strenzke
Executive System Architect

Phone: +49 6151 8000 24
E-Mail: falko.strenzke@mtg.de
Web: mtg.de <https://www.mtg.de>


------------------------------------------------------------------------

MTG AG - Dolivostr. 11 - 64293 Darmstadt, Germany
Commercial register: HRB 8901
Register Court: Amtsgericht Darmstadt
Management Board: Jürgen Ruf (CEO), Tamer Kemeröz
Chairman of the Supervisory Board: Dr. Thomas Milde

This email may contain confidential and/or privileged information. If
you are not the correct recipient or have received this email in error,
please inform the sender immediately and delete this email. Unauthorised
copying or distribution of this email is not permitted.

Data protection information: Privacy policy
<https://www.mtg.de/en/privacy-policy>