diff options
Diffstat (limited to 'INSTALL.md')
-rw-r--r-- | INSTALL.md | 19 |
1 files changed, 15 insertions, 4 deletions
@@ -5,8 +5,9 @@ | |||
5 | Build dependencies: | 5 | Build dependencies: |
6 | 6 | ||
7 | ```bash | 7 | ```bash |
8 | apt-get install build-essential libtool autotools-dev automake libconfig-dev ncurses-dev | 8 | apt-get install build-essential libtool autotools-dev automake libconfig-dev ncurses-dev cmake checkinstall |
9 | ``` | 9 | ``` |
10 | Note that `libconfig-dev` should be >= 1.4. | ||
10 | 11 | ||
11 | You should get and install [libsodium](https://github.com/jedisct1/libsodium): | 12 | You should get and install [libsodium](https://github.com/jedisct1/libsodium): |
12 | ```bash | 13 | ```bash |
@@ -15,7 +16,7 @@ cd libsodium | |||
15 | git checkout tags/0.4.2 | 16 | git checkout tags/0.4.2 |
16 | ./autogen.sh | 17 | ./autogen.sh |
17 | ./configure && make check | 18 | ./configure && make check |
18 | sudo make install | 19 | sudo checkinstall --install --pkgname libsodium --pkgversion 0.4.2 --nodoc |
19 | sudo ldconfig | 20 | sudo ldconfig |
20 | ``` | 21 | ``` |
21 | 22 | ||
@@ -41,7 +42,17 @@ make | |||
41 | 42 | ||
42 | ###OSX: | 43 | ###OSX: |
43 | 44 | ||
44 | Much the same as above, remember to install the latest XCode and the developer tools (Preferences -> Downloads -> Command Line Tools). | 45 | ####Homebrew: |
46 | ``` | ||
47 | brew install libtool automake autoconf libconfig libsodium | ||
48 | cmake . | ||
49 | make | ||
50 | sudo make install | ||
51 | ``` | ||
52 | |||
53 | ####Non-homebrew: | ||
54 | |||
55 | Much the same as Linux, remember to install the latest XCode and the developer tools (Preferences -> Downloads -> Command Line Tools). | ||
45 | Users running Mountain Lion and the latest version of XCode (4.6.3) will also need to install libtool, automake and autoconf. | 56 | Users running Mountain Lion and the latest version of XCode (4.6.3) will also need to install libtool, automake and autoconf. |
46 | They 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: | 57 | They 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 | ||
69 | Then 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. | 80 | Then 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 | ||
71 | After 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. | 82 | After 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 | ||
73 | Navigate in `cmd` to this repo and run: | 84 | Navigate in `cmd` to this repo and run: |
74 | ```cmd | 85 | ```cmd |