On Donnerstag, 8. Mai 2025 22:06:05 Mitteleuropäische Sommerzeit Daniel Cerqueira wrote: > Ingo Klöcker <[email protected]> writes: > > On Donnerstag, 8. Mai 2025 10:30:00 Mitteleuropäische Sommerzeit Daniel > > > > Cerqueira wrote: > >> Jacob Bachmeyer <[email protected]> writes: > >> > On 5/7/25 09:54, Daniel Cerqueira wrote: > >> >> I am having trouble compiling pinentry. I always compile all the > >> >> GnuPG > >> >> suite, so I don't install any GnuPG program by my package manager > >> >> (which > >> >> is pacman). > > > > [...] > > > >> >> Here is the compile error that I get: > >> >> > >> >> ``` > >> >> $ ./autogen.sh > >> >> autogen.sh: Running aclocal -I m4 ... > >> >> autogen.sh: Running autoheader... > >> >> autogen.sh: Running automake --gnu ... > >> >> autogen.sh: Running autoconf ... > >> >> configure.ac:341: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but > >> >> not > >> >> m4_defun'd m4/iconv.m4:10: AM_ICONV_LINKFLAGS_BODY is expanded from... > >> >> m4/iconv.m4:21: AM_ICONV_LINK is expanded from... > >> >> m4/iconv.m4:246: AM_ICONV is expanded from... > >> >> configure.ac:341: the top level > >> > > >> > Check your Autoconf installation. A quick Web search suggests that > >> > you may need to install the "gettext" package. > >> > >> I already had gettext installed. I have also have now updated gettext, > >> to the latest version (0.25), and I still get the same error message as > >> above. > > > > On my system, AC_LIB_PREPARE_PREFIX is defined in > > /usr/share/aclocal/lib-prefix.m4 which is part of the gettext-tools > > package. > > > > By the way, you wouldn't run into this problem if you build pinentry (and > > the rest of GnuPG) from the official release tarballs. > > My AC_LIB_PREPARE_PREFIX is at /usr/share/gettext/m4/lib-prefix.m4 , > which comes with the gettext package. Which was already installed. > > I still get the same error, when compiling pinentry from the official > tarball:
No idea. Looks like your distribution is broken. Maybe it installs the m4 files in the wrong location. Or it does not properly tell the autotools where to look for m4 files. > ``` > $ wget https://www.gnupg.org/ftp/gcrypt/pinentry/pinentry-1.3.1.tar.bz2 > (...) > > $ tar xf pinentry-1.3.1.tar.bz2 > > $ cd pinentry-1.3.1/ > > $ ./autogen.sh Here's the problem. Don't run ./autogen.sh unless you compile straight from a checkout of the git repository. The release tarballs come with a pre-built ready-to-use configure script. > $ ./configure --enable-maintainer-mode Just run ./configure. The --enable-maintainer-mode option is not useful for people building the tarballs. > ``` > > Ingo, can you try to see if you also get this error, and tell me your > result? I don't get this error. And I build pinentry frequently. Regards, Ingo
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Gnupg-users mailing list [email protected] https://lists.gnupg.org/mailman/listinfo/gnupg-users
