mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Merge branch 'patch-5' of https://github.com/mouseym/ProjectTox-Core
This commit is contained in:
commit
5b60c8f3d3
20
INSTALL.md
20
INSTALL.md
@ -150,6 +150,14 @@ Grab the following packages:
|
|||||||
* https://gnu.org/software/automake/
|
* https://gnu.org/software/automake/
|
||||||
* https://github.com/jedisct1/libsodium
|
* https://github.com/jedisct1/libsodium
|
||||||
* http://check.sourceforge.net/
|
* 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. (pkg-config may not configure properly, if you get an error about GLIB, run configure with the following parameter, --with-internal-glib).
|
||||||
|
|
||||||
Uncompress and install them all. Make sure to follow the README as the instructions change, but they all follow the same pattern below:
|
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
|
sudo make install
|
||||||
```
|
```
|
||||||
|
|
||||||
In your local TOX repository:
|
Compiling and installing Tox Core
|
||||||
|
|
||||||
Then generate makefile, build and install tox:
|
|
||||||
```bash
|
```bash
|
||||||
cd ProjectTox-Core
|
cd ProjectTox-Core
|
||||||
autoreconf -i
|
autoreconf -i
|
||||||
@ -170,12 +177,11 @@ make
|
|||||||
make install
|
make install
|
||||||
```
|
```
|
||||||
|
|
||||||
Do not install them from macports (or any dependencies for that matter) as they get shoved in the wrong directory
|
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;
|
||||||
(or the wrong version gets installed) and make your life more annoying.
|
|
||||||
|
|
||||||
Another thing: you may want to install is the latest gcc. This caused me a few problems as XCode from 4.3
|
./configure --with-libsodium-headers=/usr/local/include/ --with-libsodium-libs=/usr/local/lib
|
||||||
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
|
Ensure you set the locations correctly depending on where you installed libsodium on your computer.
|
||||||
|
|
||||||
<a name="windows" />
|
<a name="windows" />
|
||||||
###Windows:
|
###Windows:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user