Cannot build 2.1 beta 6 on Mac OSX 10.9.4

Colin Davis e1ven at e1ven.com
Tue Sep 2 20:38:56 CEST 2014


I had had to patch this to bypass the error on my machine.
I suspect everyone trying to compile on OSX will have to do the same.

I wrote up my instructions at  http://e1ven.com/2014/05/26/compiling-gpg-2-1-on-osx/ <http://e1ven.com/2014/05/26/compiling-gpg-2-1-on-osx/>

Specifically, I made a small patch, which let GPG compile for me.
https://gist.githubusercontent.com/e1ven/167af3ac8a196773fc46/raw/62f4deb4936a6a32634ac3ee12c9a06cb4c8eac7/makefile.patch <https://gist.githubusercontent.com/e1ven/167af3ac8a196773fc46/raw/62f4deb4936a6a32634ac3ee12c9a06cb4c8eac7/makefile.patch>

Perhaps this will help you as well?
-CPD

> On Aug 30, 2014, at 7:21 PM, Charles Diza <chdiza at gmail.com> wrote:
> 
> I tried to build the sixth beta of 2.1 on Mac OSX 10.9.4.  All the prereq's build fine, but when building gnupg2 it always fails here:
> 
> gcc -I/usr/local/Cellar/libgcrypt/1.6.2/include -I/usr/local/Cellar/libgpg-error/1.13/include -I/usr/local/Cellar/libassuan/2.1.2/include -I/usr/local/Cellar/libgpg-error/1.13/include -I/usr/local/Cellar/libksba/1.3.0/include -I/usr/local/Cellar/libgpg-error/1.13/include -g -O2 -Wall -Wno-pointer-sign -Wpointer-arith   -o t-openpgp-oid t-openpgp-oid.o libcommon.a ../gl/libgnu.a -L/usr/local/Cellar/libgcrypt/1.6.2/lib -lgcrypt -L/usr/local/Cellar/libgpg-error/1.13/lib -lgpg-error -L/usr/local/Cellar/libassuan/2.1.2/lib -lassuan -L/usr/local/Cellar/libgpg-error/1.13/lib -lgpg-error -L/usr/local/Cellar/libgpg-error/1.13/lib -lgpg-error  -liconv
> Undefined symbols for architecture x86_64:
>   "_default_errsource", referenced from:
>       _parse_ber_header in libcommon.a(libcommon_a-tlv.o)
>       _parse_sexp in libcommon.a(libcommon_a-tlv.o)
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make[3]: *** [t-sexputil] Error 1
> make[3]: *** Waiting for unfinished jobs....
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> 
> Let me know if you want more information.
> 
> Cheers,
> Charles
> _______________________________________________
> Gnupg-devel mailing list
> Gnupg-devel at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20140902/3b3e16dd/attachment-0001.html>


More information about the Gnupg-devel mailing list