-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 HOWTO: Build GnuPG on OS X by Gordon Worley Version 1.6 (16 Sept 2001) Introduction: This document describes how to build GnuPG on Mac OS X. The process is pretty much the same as normal, but requires some extra effort to get around OS X's 'features'. For the latest version of this document, check the Mac GPG Web site . How To: Begin by downloading and verifying the GnuPG archives from . Also, get egd while you're there. Then, you need to download the three patches found on for OS X and verify them. Now, install egd. Just follow the instructions that came with it. Or, if you're feeling really crazy, you can try to have EGD run from start up. To do this, you'll need root access to the machine. Follow the instructions in the EGD module of the Mac GPG CVS tree. Next, copy the two patches into the GnuPG folder the archive you downloaded created when expanded. To apply them, say: patch -p 1 < gnupg-1.0.6-darwin-asm.diff patch -p 1 < gnupg-1.0.6-darwin-configure.diff This will apply both patches at once. Look at the diff files for details on what they do. Thanks to Jeremy Cooper for the asm patch. When you run configure, you need to make sure you have the proper options set. If you have EGD running from startup, be sure to use the EGD socket at /var/run/entropy. Run configure as such for best results: ./configure --enable-static-rnd=egd --with-egd-socket=~/.gnupg/entropy - --with-included-gettext If you want, now is the time to apply the last patch that will make mlock work. Be warned, it may not work, especially if you do do something different durring configuration. At the worst, you'll have to manually change the files rather than just patch them. Here's what to say: patch -p 1 < gnupg-1.0.6-darwin-secmem.diff Thanks, Laurie , for the patch. Now, all you have to do is type 'make' and then 'sudo make install'. Also, it's probably a good idea to run make check before you install, to make sure that your system will be safe on which to run GnuPG. If you get a lot of failed tests, you may not have started EGD correctly. Make sure it is connected to the socket you specified to configure. Contact: Questions, bug reports, etc. about this document can be sent to Gordon Worley at . Thanks: A big thank you to Sebastian Hagedorn and Bryan Blackburn , who figured out what was wrong with configure and provided fixes. Thank you to Jeremy Cooper who did the asm patch. More thanks to Laurie Brown , who not only came up with the EGD at starup stuff but also the secmem patch. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (Darwin) Comment: keyserver http://pgpkeys.mit.edu:11371 iD8DBQE7p61/K8yA4fmonfERApZEAJ9Xk79kYHxk85LZSx6djUJr2jg4WgCeJnat SVsAcktNW74QNYvOn1bfOjk= =G6Ab -----END PGP SIGNATURE-----