summaryrefslogtreecommitdiff
path: root/INSTALL.md
diff options
context:
space:
mode:
authormannol <eniz_vukovic@hotmail.com>2014-07-21 04:10:05 +0200
committermannol <eniz_vukovic@hotmail.com>2014-07-21 04:10:05 +0200
commit79115259a81dc958041f18573f34299c083cebea (patch)
tree594fbf60dc01e2aa78c775c4e2d9977c5b18752f /INSTALL.md
parent2ca2baf120c5dd4dcdd9c450ef35560b0726136f (diff)
parentb63e4ad88fb93820fb740372f36d74c65b8b7b81 (diff)
Fixed conflicts
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md26
1 files changed, 19 insertions, 7 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 1aed5375..41aa5afd 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. (pkg-config may not configure properly, if you get an error about GLIB, run configure with the following parameter, --with-internal-glib).
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: 170Compiling and installing Tox Core
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,17 @@ 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
183
184Ensure you set the locations correctly depending on where you installed libsodium on your computer.
175 185
176Another thing: you may want to install is the latest gcc. This caused me a few problems as XCode from 4.3 186If there is a problem with opus (for A/V) and you don't get a libtoxav, then try to set the pkg-config environment variable beforehand:
177no longer includes gcc and instead uses LLVM-GCC, a nice install guide can be found at 187
178http://caiustheory.com/install-gcc-421-apple-build-56663-with-xcode-42 188```
189export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
190```
179 191
180<a name="windows" /> 192<a name="windows" />
181###Windows: 193###Windows: