Merge pull request #273 from rlt3/master

Changing INSTALL.md in response to Issue #239
This commit is contained in:
irungentoo 2013-08-02 11:30:43 -07:00
commit 948c82a0cb

View File

@ -57,21 +57,30 @@ make
<a name="osx" />
###OS X:
You need the latest XCode with the Developer Tools (Preferences -> Downloads -> Command Line Tools).
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.
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.
<a name="homebrew" />
####Homebrew:
```
brew install libtool automake autoconf libconfig libsodium cmake
cmake .
make
sudo make install
```
<a name="non-homebrew" />
####Non-homebrew:
Much the same as Linux, remember to install the latest XCode and the developer tools (Preferences -> Downloads -> Command Line Tools).
Users running Mountain Lion and the latest version of XCode (4.6.3) will also need to install libtool, automake and autoconf.
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:
Grab the following packages:
* http://www.gnu.org/software/libtool/
* http://www.gnu.org/software/autoconf/
* http://www.gnu.org/software/automake/
* http://www.cmake.org/
* https://github.com/jedisct1/libsodium
Uncompress and install them all. Make sure to follow the README as the instructions change, but they all follow the same pattern below:
```bash
./configure
@ -79,6 +88,13 @@ make
sudo make install
```
In your local TOX repository:
```bash
cmake .
make
```
Do not install them from macports (or any dependencies for that matter) as they get shoved in the wrong directory
and make your life more annoying.