Compiling error with pinentry
Ingo Klöcker
kloecker at kde.org
Thu May 8 21:07:05 CEST 2025
On Donnerstag, 8. Mai 2025 10:30:00 Mitteleuropäische Sommerzeit Daniel
Cerqueira wrote:
> Jacob Bachmeyer <jcb62281 at gmail.com> 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.
Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20250508/64ad5756/attachment.sig>
More information about the Gnupg-users
mailing list