Update OSX install instructions in INSTALL.md

Removed unnecessary steps, added support for A/V libs in core and missing dependencies.
This commit is contained in:
mouseym 2014-07-03 23:02:48 +01:00
parent 2a70d29440
commit ab6643cef7

View File

@ -150,6 +150,14 @@ Grab the following packages:
* https://gnu.org/software/automake/
* https://github.com/jedisct1/libsodium
* http://check.sourceforge.net/
* http://yasm.tortall.net/Download.html
* https://code.google.com/p/webm/downloads/list
* http://www.opus-codec.org/downloads/
* http://www.freedesktop.org/wiki/Software/pkg-config/
You must install yasm before installing libvpx, otherwise libvpx will fail to make correctly.
pkg-config is important for enabling a/v support in tox core, failure to install pkg-config will prevent tox core form finding the required libopus/libvpx libraries.
Uncompress and install them all. Make sure to follow the README as the instructions change, but they all follow the same pattern below:
@ -159,9 +167,8 @@ make
sudo make install
```
In your local TOX repository:
Change to your local Tox repository and:
Then generate makefile, build and install tox:
```bash
cd ProjectTox-Core
autoreconf -i
@ -170,12 +177,11 @@ make
make install
```
Do not install them from macports (or any dependencies for that matter) as they get shoved in the wrong directory
(or the wrong version gets installed) and make your life more annoying.
If after running ./configure you get an error about core being unable to find libsodium (and you have installed it) run the following in place of ./configure;
Another thing: you may want to install is the latest gcc. This caused me a few problems as XCode from 4.3
no longer includes gcc and instead uses LLVM-GCC, a nice install guide can be found at
http://caiustheory.com/install-gcc-421-apple-build-56663-with-xcode-42
./configure --with-libsodium-headers=/usr/local/include/ --with-libsodium-libs=/usr/local/lib
Ensure you set the locations correctly depending on where you installed libsodium on your computer.
<a name="windows" />
###Windows: