GnuPG 2.1.16 build error on Mac OS X

Werner Koch wk at gnupg.org
Mon Nov 21 16:59:44 CET 2016


On Mon, 21 Nov 2016 14:28, patrick at enigmail.net said:
> Building tools/gpg-wks-client fails on Mac OS X because $(LIBINTL) is
> not specified.

Yep, see https://bugs.gnupg.org/gnupg/issue2846 .  Interesting fact is
that our build links against iconv:

 gcc -I/Users/jenkins/prefix/native/include
   -I/Users/jenkins/prefix/native/include -O3 -Wall -Wcast-align -Wshadow
   -Wstrict-prototypes -Wformat -Wno-format-y2k -Wformat-security -W
   -Wno-sign-compare -Wno-missing-field-initializers
   -Wdeclaration-after-statement -Wno-pointer-sign -Wpointer-arith
   -D_DARWIN_C_SOURCE=900000L -fPIC -o gpg-wks-client
   gpg_wks_client-gpg-wks-client.o gpg_wks_client-wks-util.o
   gpg_wks_client-wks-receive.o gpg_wks_client-rfc822parse.o
   gpg_wks_client-mime-parser.o gpg_wks_client-mime-maker.o
   gpg_wks_client-send-mail.o gpg_wks_client-call-dirmngr.o
   ../common/libcommon.a -lassuan -L/Users/jenkins/prefix/native/lib
   -lgpg-error -L/Users/jenkins/prefix/native/lib -lgcrypt -lgpg-error
   -L/Users/jenkins/prefix/native/lib -lgpg-error -L/Users/jenkins/pkg/lib
   -liconv

which is due to this change (part of 2.1.16):

  commit 6054e8aaecbd355bb7559697eecaadf2225189b8
  Author:     Justus Winter <justus at g10code.com>
  AuthorDate: Fri Sep 30 12:34:31 2016 +0200
  Commit:     Justus Winter <justus at g10code.com>
  CommitDate: Fri Sep 30 17:45:59 2016 +0200
  
      build: Fix build against libiconv.
      
      * agent/Makefile.am: Add INCICONV and LIBICONV.
      * common/Makefile.am: Likewise.
      * tools/Makefile.am: Likewise.
  
So, what is different on your build?




Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: </pipermail/attachments/20161121/b8733913/attachment.sig>


More information about the Gnupg-devel mailing list