Daniel Cerqueira <[email protected]> writes: > Hello. > > I am not subscribe to this mailing list, so please CC me if you are > replying to the mailing list. Thanks! > > 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). > > My operating system is Parabola. > > Can someone tell me if they can reproduce this compiling error issue > below, and ways for me to solve this? > > 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 > configure.ac:341: warning: AC_LIB_RPATH 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 > configure:9869: error: possibly undefined macro: AC_LIB_PREPARE_PREFIX > If this token and others are legitimate, please use m4_pattern_allow. > See the Autoconf documentation. > configure:9870: error: possibly undefined macro: AC_LIB_RPATH > configure:9875: error: possibly undefined macro: AC_LIB_LINKFLAGS_BODY > configure:9883: error: possibly undefined macro: AC_LIB_APPENDTOVAR > autogen.sh: You may now run: > ./configure --enable-maintainer-mode && make > > $ ./configure --enable-maintainer-mode > checking for a BSD-compatible install... /usr/bin/install -c > checking whether sleep supports fractional seconds... yes > checking filesystem timestamp resolution... 0.01 > checking whether build environment is sane... yes > checking for a race-free mkdir -p... /usr/bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking whether make supports nested variables... yes > checking xargs -n works... yes > checking whether make supports the include directive... yes (GNU style) > checking for gcc... gcc > checking whether the C compiler works... yes > checking for C compiler default output file name... a.out > checking for suffix of executables... > checking whether we are cross compiling... no > checking for suffix of object files... o > checking whether the compiler supports GNU C... yes > checking whether gcc accepts -g... yes > checking for gcc option to enable C11 features... none needed > checking whether gcc understands -c and -o together... yes > checking dependency style of gcc... gcc3 > checking for stdio.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for strings.h... yes > checking for sys/stat.h... yes > checking for sys/types.h... yes > checking for unistd.h... yes > checking for wchar.h... yes > checking for minix/config.h... no > checking whether it is safe to define __EXTENSIONS__... yes > checking whether _XOPEN_SOURCE should be defined... no > checking whether to enable maintainer-specific portions of Makefiles... yes > checking build system type... x86_64-pc-linux-gnu > checking host system type... x86_64-pc-linux-gnu > checking whether make sets $(MAKE)... (cached) yes > checking whether build environment is sane... yes > checking for gcc... (cached) gcc > checking whether the compiler supports GNU C... (cached) yes > checking whether gcc accepts -g... (cached) yes > checking for gcc option to enable C11 features... (cached) none needed > checking whether gcc understands -c and -o together... (cached) yes > checking dependency style of gcc... (cached) gcc3 > checking how to run the C preprocessor... gcc -E > checking for ranlib... ranlib > checking for g++... g++ > checking whether the compiler supports GNU C++... yes > checking whether g++ accepts -g... yes > checking for g++ option to enable C++11 features... none needed > checking dependency style of g++... gcc3 > checking whether ln -s works... yes > checking for pkg-config... /usr/bin/pkg-config > checking pkg-config is at least version 0.9.0... yes > checking for windres... no > checking for gitlog-to-changelog... no > checking if gcc ignores unknown -Wno-* options... yes > checking if gcc supports -Wdeclaration-after-statement... yes > checking if gcc supports -Wpointer-arith... yes > checking for string.h... (cached) yes > checking for unistd.h... (cached) yes > checking for langinfo.h... yes > checking for termio.h... yes > checking for locale.h... yes > checking for utime.h... yes > checking for wchar.h... (cached) yes > checking for seteuid... yes > checking for stpcpy... yes > checking for mmap... yes > checking for stat... yes > checking for mlock... yes > checking for sysconf... yes > checking for getpagesize... yes > checking whether mlock is broken... no > checking for uint32_t... yes > checking for gpg-error-config... no > checking for gpgrt-config... /usr/local/bin/gpgrt-config > configure: Use gpgrt-config with /usr/local/lib as gpg-error-config > checking for GPG Error - version >= 1.16... yes (1.51) > configure: Use gpgrt-config as libassuan-config > checking for LIBASSUAN - version >= 2.1.0... yes (3.0.0) > checking LIBASSUAN API version... okay > checking for byte... no > checking for ulong... yes > checking for u64... no > checking for ncursesw... yes > checking for ncurses include dir... none > ./configure: line 9875: syntax error near unexpected token `iconv' > ./configure: line 9875: ` AC_LIB_LINKFLAGS_BODY(iconv)' > ``` >
I still haven't been able to compile pinentry. Here is the lines (in
./configure) that are causing the error:
```
$ nl configure | grep -B 10 -A 10 "AC_LIB_LINKFLAGS_BODY(iconv)"
8922 if test "$pinentry_curses" = "yes" \
8923 -o "$fallback_curses" = "yes" ; then
8924 AC_LIB_PREPARE_PREFIX
8925 AC_LIB_RPATH
* 8926 AC_LIB_LINKFLAGS_BODY(iconv)
8927 am_save_CPPFLAGS="$CPPFLAGS"
8928 AC_LIB_APPENDTOVAR(CPPFLAGS, $INCICONV)
8929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
$ nl configure | grep -B 10 -A 10 9875
9869 have_x11=yes
9870 fi
9871 if test "$have_x11" = "yes"; then
9872 printf "%s\n" "#define HAVE_X11 1" >>confdefs.h
9873 fi
9874 fi
* 9875 have_kf5waylandclient=no
9876 if test "$have_w32_system" != "yes"; then
9877 pkg_failed=no
9878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for
KF5WaylandClient >= 5.60" >&5
9879 printf %s "checking for KF5WaylandClient >= 5.60... " >&6; }
9880 if test -n "$PKG_CONFIG"; then
9881 if test -n "$KF5WAYLANDCLIENT_CFLAGS"; then
9882 pkg_cv_KF5WAYLANDCLIENT_CFLAGS="$KF5WAYLANDCLIENT_CFLAGS"
9883 else
```
--
The pioneers of a warless world are the youth that
refuse military service. ~ Albert Einstein
signature.asc
Description: PGP signature
_______________________________________________ Gnupg-users mailing list [email protected] https://lists.gnupg.org/mailman/listinfo/gnupg-users
