summaryrefslogtreecommitdiff
path: root/INSTALL.md
diff options
context:
space:
mode:
authorAstonex <softukitu@gmail.com>2013-07-31 23:02:09 +0100
committerAstonex <softukitu@gmail.com>2013-07-31 23:02:09 +0100
commitf05aa308701f33f3bf9df022a4b376deeedef235 (patch)
treec10b8a3cca6822400853bfd3bc2c5fd1cca73f83 /INSTALL.md
parent8dfba27242ca23fca5de852541f2101568dbf7cb (diff)
parentc558cb63f6db35bd51f2f2331e21df03105ee82a (diff)
Merge remote-tracking branch 'ProjectTox/master'
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md19
1 files changed, 15 insertions, 4 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 8e67d848..9efa7ee9 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -5,8 +5,9 @@
5Build dependencies: 5Build dependencies:
6 6
7```bash 7```bash
8apt-get install build-essential libtool autotools-dev automake libconfig-dev ncurses-dev 8apt-get install build-essential libtool autotools-dev automake libconfig-dev ncurses-dev cmake checkinstall
9``` 9```
10Note that `libconfig-dev` should be >= 1.4.
10 11
11You should get and install [libsodium](https://github.com/jedisct1/libsodium): 12You should get and install [libsodium](https://github.com/jedisct1/libsodium):
12```bash 13```bash
@@ -15,7 +16,7 @@ cd libsodium
15git checkout tags/0.4.2 16git checkout tags/0.4.2
16./autogen.sh 17./autogen.sh
17./configure && make check 18./configure && make check
18sudo make install 19sudo checkinstall --install --pkgname libsodium --pkgversion 0.4.2 --nodoc
19sudo ldconfig 20sudo ldconfig
20``` 21```
21 22
@@ -41,7 +42,17 @@ make
41 42
42###OSX: 43###OSX:
43 44
44Much the same as above, remember to install the latest XCode and the developer tools (Preferences -> Downloads -> Command Line Tools). 45####Homebrew:
46```
47brew install libtool automake autoconf libconfig libsodium
48cmake .
49make
50sudo make install
51```
52
53####Non-homebrew:
54
55Much the same as Linux, remember to install the latest XCode and the developer tools (Preferences -> Downloads -> Command Line Tools).
45Users running Mountain Lion and the latest version of XCode (4.6.3) will also need to install libtool, automake and autoconf. 56Users running Mountain Lion and the latest version of XCode (4.6.3) will also need to install libtool, automake and autoconf.
46They are easy enough to install, grab them from http://www.gnu.org/software/libtool/, http://www.gnu.org/software/autoconf/ and http://www.gnu.org/software/automake/, then follow these steps for each: 57They are easy enough to install, grab them from http://www.gnu.org/software/libtool/, http://www.gnu.org/software/autoconf/ and http://www.gnu.org/software/automake/, then follow these steps for each:
47 58
@@ -68,7 +79,7 @@ You have to [modify your PATH environment variable](http://www.computerhope.com/
68 79
69Then you should either clone this repo by using git, or just download a [zip of current Master branch](https://github.com/irungentoo/ProjectTox-Core/archive/master.zip) and extract it somewhere. 80Then you should either clone this repo by using git, or just download a [zip of current Master branch](https://github.com/irungentoo/ProjectTox-Core/archive/master.zip) and extract it somewhere.
70 81
71After that you should get precompiled packages of libsodium from [here](https://download.libsodium.org/libsodium/releases/) and extract the archive into this repo's root. That is, `sodium` folder should be along with `core`, `testing` and other folders. 82After that you should get precompiled package of libsodium from [here](https://download.libsodium.org/libsodium/releases/libsodium-win32-0.4.2.tar.gz) and extract the archive into this repo's root. That is, `sodium` folder should be along with `core`, `testing` and other folders.
72 83
73Navigate in `cmd` to this repo and run: 84Navigate in `cmd` to this repo and run:
74```cmd 85```cmd