diff options
author | mannol <eniz_vukovic@hotmail.com> | 2014-07-21 04:10:05 +0200 |
---|---|---|
committer | mannol <eniz_vukovic@hotmail.com> | 2014-07-21 04:10:05 +0200 |
commit | 79115259a81dc958041f18573f34299c083cebea (patch) | |
tree | 594fbf60dc01e2aa78c775c4e2d9977c5b18752f /INSTALL.md | |
parent | 2ca2baf120c5dd4dcdd9c450ef35560b0726136f (diff) | |
parent | b63e4ad88fb93820fb740372f36d74c65b8b7b81 (diff) |
Fixed conflicts
Diffstat (limited to 'INSTALL.md')
-rw-r--r-- | INSTALL.md | 26 |
1 files changed, 19 insertions, 7 deletions
@@ -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 | |||
158 | You must install yasm before installing libvpx, otherwise libvpx will fail to make correctly. | ||
159 | |||
160 | 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. (pkg-config may not configure properly, if you get an error about GLIB, run configure with the following parameter, --with-internal-glib). | ||
153 | 161 | ||
154 | Uncompress and install them all. Make sure to follow the README as the instructions change, but they all follow the same pattern below: | 162 | Uncompress 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 | |||
159 | sudo make install | 167 | sudo make install |
160 | ``` | 168 | ``` |
161 | 169 | ||
162 | In your local TOX repository: | 170 | Compiling and installing Tox Core |
163 | 171 | ||
164 | Then generate makefile, build and install tox: | ||
165 | ```bash | 172 | ```bash |
166 | cd ProjectTox-Core | 173 | cd ProjectTox-Core |
167 | autoreconf -i | 174 | autoreconf -i |
@@ -170,12 +177,17 @@ make | |||
170 | make install | 177 | make install |
171 | ``` | 178 | ``` |
172 | 179 | ||
173 | Do not install them from macports (or any dependencies for that matter) as they get shoved in the wrong directory | 180 | 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; |
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 | |||
184 | Ensure you set the locations correctly depending on where you installed libsodium on your computer. | ||
175 | 185 | ||
176 | Another thing: you may want to install is the latest gcc. This caused me a few problems as XCode from 4.3 | 186 | If 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: |
177 | no longer includes gcc and instead uses LLVM-GCC, a nice install guide can be found at | 187 | |
178 | http://caiustheory.com/install-gcc-421-apple-build-56663-with-xcode-42 | 188 | ``` |
189 | export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig | ||
190 | ``` | ||
179 | 191 | ||
180 | <a name="windows" /> | 192 | <a name="windows" /> |
181 | ###Windows: | 193 | ###Windows: |