Compiling GnuPG 2.0.1 on MacOS X

Kazu Yamamoto ( 山本和彦 ) kazu at iij.ad.jp
Thu Jan 4 06:18:47 CET 2007


This is just for your information.

I have compiled GnuPG 2.0.1 on MacOS X (10.4.8) by hand.
Most libraries are fine. But the following steps were
required:

1) libgcrypt-1.2.3

	The --disable-asm option is required for configure.
	Without this, "gpg" cannot pass "make check".

2) gnupg-2.0.1

	The following patch must be applied.

--Kazu

*** tools/Makefile.in-dist	Thu Dec 28 23:21:47 2006
--- tools/Makefile.in	Thu Dec 28 23:29:12 2006
***************
*** 453,459 ****
  @BUILD_SYMCRYPTRUN_TRUE at symcryptrun = symcryptrun
  common_libs = ../jnlib/libjnlib.a ../common/libcommon.a ../gl/libgnu.a
  pwquery_libs = ../common/libsimple-pwquery.a
! gpgsplit_LDADD = $(common_libs) $(LIBGCRYPT_LIBS) $(GPG_ERROR_LIBS) $(ZLIBS)
  gpgconf_SOURCES = gpgconf.c gpgconf.h gpgconf-comp.c no-libgcrypt.c
  
  # jnlib/common sucks in gpg-error, will they, nil they (some compilers
--- 453,459 ----
  @BUILD_SYMCRYPTRUN_TRUE at symcryptrun = symcryptrun
  common_libs = ../jnlib/libjnlib.a ../common/libcommon.a ../gl/libgnu.a
  pwquery_libs = ../common/libsimple-pwquery.a
! gpgsplit_LDADD = $(common_libs) $(LIBGCRYPT_LIBS) $(GPG_ERROR_LIBS) $(ZLIBS) $(LIBICONV) $(LIBINTL)
  gpgconf_SOURCES = gpgconf.c gpgconf.h gpgconf-comp.c no-libgcrypt.c
  
  # jnlib/common sucks in gpg-error, will they, nil they (some compilers




More information about the Gnupg-devel mailing list