diff options
Diffstat (limited to 'INSTALL.md')
-rw-r--r-- | INSTALL.md | 24 |
1 files changed, 20 insertions, 4 deletions
@@ -57,21 +57,30 @@ make | |||
57 | <a name="osx" /> | 57 | <a name="osx" /> |
58 | ###OS X: | 58 | ###OS X: |
59 | 59 | ||
60 | You need the latest XCode with the Developer Tools (Preferences -> Downloads -> Command Line Tools). | ||
61 | The 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 | |||
63 | There 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 | ``` |
63 | brew install libtool automake autoconf libconfig libsodium cmake | 68 | brew install libtool automake autoconf libconfig libsodium cmake |
64 | cmake . | 69 | cmake . |
65 | make | 70 | make |
66 | sudo make install | ||
67 | ``` | 71 | ``` |
68 | 72 | ||
69 | <a name="non-homebrew" /> | 73 | <a name="non-homebrew" /> |
70 | ####Non-homebrew: | 74 | ####Non-homebrew: |
71 | 75 | ||
72 | Much the same as Linux, remember to install the latest XCode and the developer tools (Preferences -> Downloads -> Command Line Tools). | 76 | Grab the following packages: |
73 | Users 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/ |
74 | They 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 | |||
83 | Uncompress 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 | |||
79 | sudo make install | 88 | sudo make install |
80 | ``` | 89 | ``` |
81 | 90 | ||
91 | In your local TOX repository: | ||
92 | |||
93 | ```bash | ||
94 | cmake . | ||
95 | make | ||
96 | ``` | ||
97 | |||
82 | Do not install them from macports (or any dependencies for that matter) as they get shoved in the wrong directory | 98 | Do not install them from macports (or any dependencies for that matter) as they get shoved in the wrong directory |
83 | and make your life more annoying. | 99 | and make your life more annoying. |
84 | 100 | ||