summaryrefslogtreecommitdiff
path: root/INSTALL.md
diff options
context:
space:
mode:
authorUrras <urras@tox.im>2014-10-22 12:52:56 -0400
committerUrras <urras@tox.im>2014-10-22 12:52:56 -0400
commit4b2248ee80f9887a7281c923e84aab29ad724f64 (patch)
treee0cda7e3788b5a1e23e94a33ff50a3782b13b312 /INSTALL.md
parent3c874bcf62ab4e453d745547512bd8a0835d3bcb (diff)
Update to Libsodium 1.0.0 since backward-compatibility is guaranteed through all the 1.x.y releases.
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 14d2ef67..0f88b084 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -59,10 +59,10 @@ You should get and install [libsodium](https://github.com/jedisct1/libsodium):
59```bash 59```bash
60git clone git://github.com/jedisct1/libsodium.git 60git clone git://github.com/jedisct1/libsodium.git
61cd libsodium 61cd libsodium
62git checkout tags/0.7.0 62git checkout tags/1.0.0
63./autogen.sh 63./autogen.sh
64./configure && make check 64./configure && make check
65sudo checkinstall --install --pkgname libsodium --pkgversion 0.7.0 --nodoc 65sudo checkinstall --install --pkgname libsodium --pkgversion 1.0.0 --nodoc
66sudo ldconfig 66sudo ldconfig
67cd .. 67cd ..
68``` 68```
@@ -74,7 +74,7 @@ this will install the libs to /usr/local/lib and the headers to /usr/local/inclu
74```bash 74```bash
75git clone git://github.com/jedisct1/libsodium.git 75git clone git://github.com/jedisct1/libsodium.git
76cd libsodium 76cd libsodium
77git checkout tags/0.7.0 77git checkout tags/1.0.0
78./autogen.sh 78./autogen.sh
79./configure 79./configure
80make check 80make check
@@ -137,7 +137,7 @@ brew list libsodium
137 137
138Configure include and lib folder and build again: 138Configure include and lib folder and build again:
139```bash 139```bash
140./configure --with-libsodium-headers=/usr/local/Cellar/libsodium/0.7.0/include/ --with-libsodium-libs=/usr/local/Cellar/libsodium/0.7.0/lib/ 140./configure --with-libsodium-headers=/usr/local/Cellar/libsodium/1.0.0/include/ --with-libsodium-libs=/usr/local/Cellar/libsodium/1.0.0/lib/
141make 141make
142make install 142make install
143``` 143```
@@ -354,7 +354,7 @@ Now we will build sodium crypto library:
354```bash 354```bash
355git clone https://github.com/jedisct1/libsodium/ 355git clone https://github.com/jedisct1/libsodium/
356cd libsodium 356cd libsodium
357git checkout tags/0.7.0 357git checkout tags/1.0.0
358./autogen.sh 358./autogen.sh
359./configure --host="$WINDOWS_TOOLCHAIN" --prefix="$PREFIX_DIR" --disable-shared --enable-static 359./configure --host="$WINDOWS_TOOLCHAIN" --prefix="$PREFIX_DIR" --disable-shared --enable-static
360make 360make
@@ -409,10 +409,10 @@ When installing MinGW, make sure to select the MSYS option in the installer.
409MinGW will install an "MinGW shell" (you should get a shortcut for it), make sure to perform all operations (i.e., generating/running configure script, compiling, etc.) from the MinGW shell. 409MinGW will install an "MinGW shell" (you should get a shortcut for it), make sure to perform all operations (i.e., generating/running configure script, compiling, etc.) from the MinGW shell.
410 410
411First download the source tarball from https://download.libsodium.org/libsodium/releases/ and build it. 411First download the source tarball from https://download.libsodium.org/libsodium/releases/ and build it.
412Assuming that you got the libsodium-0.7.0.tar.gz release: 412Assuming that you got the libsodium-1.0.0.tar.gz release:
413```cmd 413```cmd
414tar -zxvf libsodium-0.7.0.tar.gz 414tar -zxvf libsodium-1.0.0.tar.gz
415cd libsodium-0.7.0 415cd libsodium-1.0.0
416./configure 416./configure
417make 417make
418make install 418make install
@@ -536,7 +536,7 @@ OS X homebrew:
536brew install libconfig 536brew install libconfig
537``` 537```
538OS X non-homebrew: 538OS X non-homebrew:
539Grab the following [package] (http://www.hyperrealm.com/libconfig/), uncompress and install 539Grab the following [package](http://www.hyperrealm.com/libconfig/), uncompress and install
540 540
541See this [readme](other/bootstrap_daemon/README.md) on how to set up the bootstrap daemon. 541See this [readme](other/bootstrap_daemon/README.md) on how to set up the bootstrap daemon.
542 542