Possible errors building gnupg 2.07 under leopard mac os x 10.5
Werner Koch
wk at gnupg.org
Mon Nov 12 19:58:49 CET 2007
On Mon, 12 Nov 2007 17:03, enricosorichetti at mac.com said:
> Maybe pointing this out in the gnupg README might help others avoid
> this issue
Already done in the SVN of gnupg 1.4:
2007-10-27 David Shaw <dshaw at jabberwocky.com>
* README: Update notes about OSX Leopard.
Building Universal Binaries on Apple OS X
-----------------------------------------
You can build a universal ("fat") binary that will work on both
PPC and Intel Macs with something like:
./configure CFLAGS="-arch ppc -arch i386" --disable-endian-check \
--disable-dependency-tracking --disable-asm
If you are doing the build on a OS X 10.4 (Tiger) PPC machine you
may need to add "-isysroot /Developer/SDKs/MacOSX10.4u.sdk" to
those CFLAGS. This additional isysroot is not necessary on Intel
Tiger boxes, or any OS X 10.5 (Leopard) or later boxes.
Note that when building a universal binary, any third-party
libraries you may link with need to be universal as well. All
Apple-supplied libraries (even libraries not originally written by
Apple like curl, zip, and BZ2) are universal.
GnuPG is harder to build thus problems on OS X are to be expected.
Shalom-Salam,
Werner
--
Die Gedanken sind frei. Auschnahme regelt ein Bundeschgesetz.
More information about the Gnupg-devel
mailing list