Failing to build GNUnet 0.22.0 on Arch Linux with incorrect detection of libgcrypt version
Hi, Congrats for releasing 0.22.0. I tried to build the code on my Arch Linux server and ran into the following error during configuration. GNUnet is unhappy that my libgcrypt is too old and wants at least version 1.6.0. checking for struct tm.tm_gmtoff... yes checking for getaddrinfo_a in -lanl... yes checking for libgcrypt-config... no checking for LIBGCRYPT - version >= 1.6.0... no checking for gcc options needed to detect all undeclared functions... none needed checking whether gcry_mpi_set_opaque_copy is declared... yes configure: error: You need libgcrypt to build this program. At least version 1.6.0 (API 1) is required. However, pacman says I have version 1.11.0-2. pacman -Qi libgcrypt | head -n 2 Name: libgcrypt Version : 1.11.0-2 Is there anything I can do to solve this problem? Hope my system info helps resolving this issue. OS: Arch Linux ARM Compile: GCC 14.1 GNUnet: 0.22.0 libgcrypt: 1.11.0 autotools: 2.72 BR, Martin
Re: Failing to build GNUnet 0.22.0 on Arch Linux with incorrect detection of libgcrypt version
Please provide (a gzipped/compressed) attachment with your config.log, that has key diagnostics for us. Thanks! -Christian On 9/2/24 4:31 PM, marty1885 wrote: Hi, Congrats for releasing 0.22.0. I tried to build the code on my Arch Linux server and ran into the following error during configuration. GNUnet is unhappy that my libgcrypt is too old and wants at least version 1.6.0. checking for struct tm.tm_gmtoff... yes checking for getaddrinfo_a in -lanl... yes checking for libgcrypt-config... no checking for LIBGCRYPT - version >= 1.6.0... no checking for gcc options needed to detect all undeclared functions... none needed checking whether gcry_mpi_set_opaque_copy is declared... yes configure: error: You need libgcrypt to build this program. At least version 1.6.0 (API 1) is required. However, pacman says I have version 1.11.0-2. pacman -Qi libgcrypt | head -n 2 Name: libgcrypt Version : 1.11.0-2 Is there anything I can do to solve this problem? Hope my system info helps resolving this issue. OS: Arch Linux ARM Compile: GCC 14.1 GNUnet: 0.22.0 libgcrypt: 1.11.0 autotools: 2.72 BR, Martin
Re: Failing to build GNUnet 0.22.0 on Arch Linux with incorrect detection of libgcrypt version
Hi, Sorry nevermind. I checked out the wrong tag. My apologies for the inconvenience. BR, Martin Sent with Proton Mail secure email. On Monday, September 2nd, 2024 at 10:34 PM, Christian Grothoff wrote: > Please provide (a gzipped/compressed) attachment with your config.log, > that has key diagnostics for us. Thanks! -Christian > > On 9/2/24 4:31 PM, marty1885 wrote: > > > Hi, > > > > Congrats for releasing 0.22.0. I tried to build the code on my Arch Linux > > server and ran into the following error during configuration. GNUnet is > > unhappy that my libgcrypt is too old and wants at least version 1.6.0. > > > > checking for struct tm.tm_gmtoff... yes > > checking for getaddrinfo_a in -lanl... yes > > checking for libgcrypt-config... no > > checking for LIBGCRYPT - version >= 1.6.0... no > > checking for gcc options needed to detect all undeclared functions... none > > needed > > checking whether gcry_mpi_set_opaque_copy is declared... yes > > configure: error: You need libgcrypt to build this program. > > At least version 1.6.0 (API 1) is required. > > > > However, pacman says I have version 1.11.0-2. > > > > pacman -Qi libgcrypt | head -n 2 > > Name : libgcrypt > > Version : 1.11.0-2 > > > > Is there anything I can do to solve this problem? Hope my system info helps > > resolving this issue. > > > > OS: Arch Linux ARM > > Compile: GCC 14.1 > > GNUnet: 0.22.0 > > libgcrypt: 1.11.0 > > autotools: 2.72 > > > > BR, > > Martin