-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 HOWTO: Build GnuPG on OS X by Gordon Worley updated by Alexander Nouak Version 4.16 (7 April 2006) Introduction: This document describes how to build GnuPG on Mac OS X 10.2+. The process is exactly the same as for any Unix system, but this howto is something of a tradition (and you never know when Darwin might get crazy again). Please keep in mind that you need to have XCode 2.21 or the latest Developer Tools with gcc 4.0.1 or later as well as the BSD Subsystem installed. Check this by typing 'gcc -v' into the Terminal. For the latest version of this document, check the Mac GPG Website . How To: Begin by downloading and verifying the GnuPG archives from . Here's what to type: curl -O ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.4.tar.gz curl -O ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.4.tar.gz.sig If this server does not work please take a look at the mirrors page of GnuPG at http://www.gnupg.org/(en)/download/mirrors.html, choose a mirror and replace the URL in an appropriate way. For instance choose curl -O ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/gnupg/ gnupg-1.4.4.tar.gz To verify: gpg --verify gnupg-1.4.4.tar.gz.sig or, if you don't have an older copy of GnuPG or another OpenPGP program (NEVER verify the version of GnuPG you download with itself), use the SHA-1 checksums found on the GnuPG Web site and compare with the checksum from: openssl sha1 gnupg-1.4.4.tar.gz Next, untar GnuPG: tar -xzf gnupg-1.4.4.tar.gz And move into the GnuPG directory: cd gnupg-1.4.4 Please bear in mind that the TIGER hash algorithm is no longer supported. If you need to use the TIGER module refer to an earlier version of GnuPG (1.2.6 or older). TIGER is not more part of the OpenPGP standard. If you want to use IDEA (and have the legal right), follow the instructions found on the Mac GPG Website in howto-install-IDEA. Afterwards, return here to finish building and installing GnuPG. If you need to include or exclude anything else please run the following command to get a list of all options available: ./configure -h Now you need to set up GnuPG to build on your system. You do this by running configure: ./configure Once you have everything configured, it's time to compile GnuPG and install everything in its proper place by running: sudo make install And, voila! GnuPG should be installed on your computer! After you have GnuPG installed, it wouldn't hurt to check the quality of the random numbers being produced by /dev/random. To test this, first type: gpg --gen-random 0 > rnd & and after a little while kill the process (once you've got 20 or 30 MB of random numbers). Then, using a program like ent, check the quality of the numbers. Of particular interest will be the entropy, compressibility, and chi^2 p-value (this should be as high as possible, as low as possible, and as close to .5 as possible, respectively; see ent documentation for more details). Contact: Questions, bug reports, etc. about this document can be sent to Alexander Nouak at . Thanks: While a patch is no longer necessary, thank you to the following people for providing help with patches when they were necessary: A big thank you to Sebastian Hagedorn and Bryan Blackburn , who figured out what was wrong with configure and provided fixes with 1.0.5/6. Thank you to Jeremy Cooper who did the asm patch. More thanks to Laurie Brown , who came up with the secmem patch. And, of course, many thanks to Gordon Worley who started the project on porting GnuPG for the Mac and to David Shaw and the rest of the GnuPG Team for helping make GnuPG and Darwin get along. For those of you who have been with us a while, you know how easy it is today compared to a few years ago. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (Darwin) iD8DBQFExAQ10HWns9BC0+sRAnAwAJ9bpxpNgcLHakV9sI37ByZPv7zXTwCeKrEB bC/BwIioZ99Y2vl1sOCGizU= =6Ex0 -----END PGP SIGNATURE-----