summaryrefslogtreecommitdiff
path: root/INSTALL.md
diff options
context:
space:
mode:
authormouseym <somuchmice@gmail.com>2014-07-03 23:02:48 +0100
committermouseym <somuchmice@gmail.com>2014-07-03 23:02:48 +0100
commitab6643cef7041edc01517cbb86da3e82dfda1ca1 (patch)
tree71448343a9496eb6476cafbefded87243e3f5b1a /INSTALL.md
parent2a70d294403e7e8cd07e73a42e319d345a86f1e2 (diff)
Update OSX install instructions in INSTALL.md
Removed unnecessary steps, added support for A/V libs in core and missing dependencies.
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md20
1 files changed, 13 insertions, 7 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 1aed5375..71a66123 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -150,6 +150,14 @@ Grab the following packages:
150 * https://gnu.org/software/automake/ 150 * https://gnu.org/software/automake/
151 * https://github.com/jedisct1/libsodium 151 * https://github.com/jedisct1/libsodium
152 * http://check.sourceforge.net/ 152 * http://check.sourceforge.net/
153 * http://yasm.tortall.net/Download.html
154 * https://code.google.com/p/webm/downloads/list
155 * http://www.opus-codec.org/downloads/
156 * http://www.freedesktop.org/wiki/Software/pkg-config/
157
158You must install yasm before installing libvpx, otherwise libvpx will fail to make correctly.
159
160pkg-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.
153 161
154Uncompress and install them all. Make sure to follow the README as the instructions change, but they all follow the same pattern below: 162Uncompress and install them all. Make sure to follow the README as the instructions change, but they all follow the same pattern below:
155 163
@@ -159,9 +167,8 @@ make
159sudo make install 167sudo make install
160``` 168```
161 169
162In your local TOX repository: 170Change to your local Tox repository and:
163 171
164Then generate makefile, build and install tox:
165```bash 172```bash
166cd ProjectTox-Core 173cd ProjectTox-Core
167autoreconf -i 174autoreconf -i
@@ -170,12 +177,11 @@ make
170make install 177make install
171``` 178```
172 179
173Do not install them from macports (or any dependencies for that matter) as they get shoved in the wrong directory 180If 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;
174(or the wrong version gets installed) and make your life more annoying. 181
182./configure --with-libsodium-headers=/usr/local/include/ --with-libsodium-libs=/usr/local/lib
175 183
176Another thing: you may want to install is the latest gcc. This caused me a few problems as XCode from 4.3 184Ensure you set the locations correctly depending on where you installed libsodium on your computer.
177no longer includes gcc and instead uses LLVM-GCC, a nice install guide can be found at
178http://caiustheory.com/install-gcc-421-apple-build-56663-with-xcode-42
179 185
180<a name="windows" /> 186<a name="windows" />
181###Windows: 187###Windows: