Error building GnuPG modern 2.1.0 on Yosemite

Mel Brands bighype at gmail.com
Thu Nov 6 19:37:11 CET 2014


Hi guys,

I tried to compile 2.1.0 today and ran into an issue. I have the
latest autoconf/m4/gnu toolchain and all of the latest libraries that
GnuPG needs.

./confgure output looks OK to me and it has no complaints. You can see
the full output here: http://pastebin.com/YvTtXMed

But after I run make, it fails like this:
-----------------------

gnupg-2.1.0 $ make
make  all-recursive
Making all in m4
make[2]: Nothing to be done for `all'.
Making all in gl
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
	  cat ./alloca_.h; \
	} > alloca.h-t
mv -f alloca.h-t alloca.h
rm -f stdint.h-t stdint.h
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
	  sed -e 's/@''HAVE_WCHAR_H''@/1/g' \
	      -e 's/@''HAVE_STDINT_H''@/1/g' \
	      -e 's|@''ABSOLUTE_STDINT_H''@|"///usr/include/stdint.h"|g' \
	      -e 's/@''HAVE_SYS_TYPES_H''@/1/g' \
	      -e 's/@''HAVE_INTTYPES_H''@/1/g' \
	      -e 's/@''HAVE_SYS_INTTYPES_H''@/0/g' \
	      -e 's/@''HAVE_SYS_BITYPES_H''@/0/g' \
	      -e 's/@''HAVE_LONG_LONG_INT''@/1/g' \
	      -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/1/g' \
	      -e 's/@''BITSIZEOF_PTRDIFF_T''@/64/g' \
	      -e 's/@''PTRDIFF_T_SUFFIX''@/l/g' \
	      -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/32/g' \
	      -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/1/g' \
	      -e 's/@''SIG_ATOMIC_T_SUFFIX''@//g' \
	      -e 's/@''BITSIZEOF_SIZE_T''@/64/g' \
	      -e 's/@''SIZE_T_SUFFIX''@/ul/g' \
	      -e 's/@''BITSIZEOF_WCHAR_T''@/32/g' \
	      -e 's/@''HAVE_SIGNED_WCHAR_T''@/1/g' \
	      -e 's/@''WCHAR_T_SUFFIX''@//g' \
	      -e 's/@''BITSIZEOF_WINT_T''@/32/g' \
	      -e 's/@''HAVE_SIGNED_WINT_T''@/1/g' \
	      -e 's/@''WINT_T_SUFFIX''@//g' \
	      < ./stdint_.h; \
	} > stdint.h-t
mv stdint.h-t stdint.h
make  all-am
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -Wno-pointer-sign
-Wpointer-arith -MT allocsa.o -MD -MP -MF .deps/allocsa.Tpo -c -o
allocsa.o allocsa.c
mv -f .deps/allocsa.Tpo .deps/allocsa.Po
rm -f libgnu.a
ar cru libgnu.a allocsa.o
ranlib libgnu.a
Making all in common
make  all-am
gcc -DHAVE_CONFIG_H -I. -I..  -I../gl -I../intl
-DLOCALEDIR=\"/usr/local/share/locale\"
-DGNUPG_BINDIR="\"/usr/local/bin\""
-DGNUPG_LIBEXECDIR="\"/usr/local/libexec\""
-DGNUPG_LIBDIR="\"/usr/local/lib/gnupg\""
-DGNUPG_DATADIR="\"/usr/local/share/gnupg\""
-DGNUPG_SYSCONFDIR="\"/usr/local/etc/gnupg\""
-DGNUPG_LOCALSTATEDIR="\"/usr/local/var\""        -I/usr/local/include
-I/usr/local/include -I/usr/local/include -I/usr/local/include
-DWITHOUT_NPTH=1 -g -O2 -Wall -Wno-pointer-sign -Wpointer-arith -MT
libcommon_a-mapstrings.o -MD -MP -MF .deps/libcommon_a-mapstrings.Tpo
-c -o libcommon_a-mapstrings.o `test -f 'mapstrings.c' || echo
'./'`mapstrings.c
In file included from /usr/include/inttypes.h:247,
                 from ../common/types.h:35,
                 from ../common/argparse.h:35,
                 from util.h:44,
                 from mapstrings.c:34:
../gl/stdint.h:62:31: error: _types/_intmax_t.h: No such file or directory
../gl/stdint.h:63:32: error: _types/_uintmax_t.h: No such file or directory
make[3]: *** [libcommon_a-mapstrings.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

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

What am I doing wrong? Any hints/insight much appreciated! Thank you!

Mel



More information about the Gnupg-users mailing list