- You will very much want to be on a system with a proper
/dev/random
. - A proper C toolchain (e.g. GCC) is required.
libgmp
is required.- xmltoman is optional, but without it, no man pages will be produced.
- Ensure you have a proper C compiler (e.g. GCC).
- Ensure you have
libgmp
installed. - Ensure you have xmltoman installed, to generate man pages. If you do not have this, the build will produce a warning but you can ignore that and proceed.
- Run
make
- Run
sudo make install
These instructions have been tested on OS X from 10.7 (Lion), through 10.10 (Yosemite).
- Ensure you have installed the latest XCode, including the Command Line Tools.
- Install MacPorts, or HomeBrew.
-
Run
sudo port install gmp
to installlibgmp
. -
TODO: Installation instructions for
xmltoman
, since it's not available via Macports... -
By default, the build process may not see libgmp, so you will need to compile with this commandline:
LIBRARY_PATH=$LIBRARY_PATH:/opt/local/lib C_INCLUDE_PATH=$C_INCLUDE_PATH:/opt/local/include make
- Run
brew install gmp xmltoman
to installlibgmp
andxmltoman
- Run
make
- Run
sudo make install