mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Merge pull request #273 from rlt3/master
Changing INSTALL.md in response to Issue #239
This commit is contained in:
commit
948c82a0cb
24
INSTALL.md
24
INSTALL.md
|
@ -57,21 +57,30 @@ make
|
||||||
<a name="osx" />
|
<a name="osx" />
|
||||||
###OS X:
|
###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" />
|
<a name="homebrew" />
|
||||||
####Homebrew:
|
####Homebrew:
|
||||||
```
|
```
|
||||||
brew install libtool automake autoconf libconfig libsodium cmake
|
brew install libtool automake autoconf libconfig libsodium cmake
|
||||||
cmake .
|
cmake .
|
||||||
make
|
make
|
||||||
sudo make install
|
|
||||||
```
|
```
|
||||||
|
|
||||||
<a name="non-homebrew" />
|
<a name="non-homebrew" />
|
||||||
####Non-homebrew:
|
####Non-homebrew:
|
||||||
|
|
||||||
Much the same as Linux, remember to install the latest XCode and the developer tools (Preferences -> Downloads -> Command Line Tools).
|
Grab the following packages:
|
||||||
Users running Mountain Lion and the latest version of XCode (4.6.3) will also need to install libtool, automake and autoconf.
|
* http://www.gnu.org/software/libtool/
|
||||||
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:
|
* 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
|
```bash
|
||||||
./configure
|
./configure
|
||||||
|
@ -79,6 +88,13 @@ make
|
||||||
sudo make install
|
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
|
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.
|
and make your life more annoying.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user