summaryrefslogtreecommitdiff
path: root/INSTALL.md
diff options
context:
space:
mode:
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md24
1 files changed, 20 insertions, 4 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 87451948..d6a5b3f9 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -57,21 +57,30 @@ make
57<a name="osx" /> 57<a name="osx" />
58###OS X: 58###OS X:
59 59
60You need the latest XCode with the Developer Tools (Preferences -> Downloads -> Command Line Tools).
61The following libraries are required along with libsodium and cmake for Mountain Lion and XCode 4.6.3 install libtool, automake and autoconf. You can download them with Homebrew, or install them manually.
62
63There are no binaries/executables going to /bin/ or /usr/bin/ now. Everything is compiled and ran from the inside your local branch. See [Usage](#usage) below.
64
60<a name="homebrew" /> 65<a name="homebrew" />
61####Homebrew: 66####Homebrew:
62``` 67```
63brew install libtool automake autoconf libconfig libsodium cmake 68brew install libtool automake autoconf libconfig libsodium cmake
64cmake . 69cmake .
65make 70make
66sudo make install
67``` 71```
68 72
69<a name="non-homebrew" /> 73<a name="non-homebrew" />
70####Non-homebrew: 74####Non-homebrew:
71 75
72Much the same as Linux, remember to install the latest XCode and the developer tools (Preferences -> Downloads -> Command Line Tools). 76Grab the following packages:
73Users running Mountain Lion and the latest version of XCode (4.6.3) will also need to install libtool, automake and autoconf. 77 * http://www.gnu.org/software/libtool/
74They are easy enough to install, grab them from http://www.gnu.org/software/libtool/, http://www.gnu.org/software/autoconf/ and http://www.gnu.org/software/automake/, then follow these steps for each: 78 * http://www.gnu.org/software/autoconf/
79 * http://www.gnu.org/software/automake/
80 * http://www.cmake.org/
81 * https://github.com/jedisct1/libsodium
82
83Uncompress and install them all. Make sure to follow the README as the instructions change, but they all follow the same pattern below:
75 84
76```bash 85```bash
77./configure 86./configure
@@ -79,6 +88,13 @@ make
79sudo make install 88sudo make install
80``` 89```
81 90
91In your local TOX repository:
92
93```bash
94cmake .
95make
96```
97
82Do not install them from macports (or any dependencies for that matter) as they get shoved in the wrong directory 98Do not install them from macports (or any dependencies for that matter) as they get shoved in the wrong directory
83and make your life more annoying. 99and make your life more annoying.
84 100