summaryrefslogtreecommitdiff
path: root/INSTALL.md
diff options
context:
space:
mode:
authordubslow <bunslow@gmail.com>2014-09-16 17:20:47 -0500
committerdubslow <bunslow@gmail.com>2014-09-16 17:20:47 -0500
commit64830cedcaf03c4e10e48bfdd0db650ff30fcaf5 (patch)
tree037c73ac3283329b2afef6c6951e59a511ad6264 /INSTALL.md
parent5a2a756671202a6d462913ce8ca2b3882679bbde (diff)
Use libsodium 0.7.0+ (more thorough though)
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 608d768b..80d73bde 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.5.0 62git checkout tags/0.7.0
63./autogen.sh 63./autogen.sh
64./configure && make check 64./configure && make check
65sudo checkinstall --install --pkgname libsodium --pkgversion 0.5.0 --nodoc 65sudo checkinstall --install --pkgname libsodium --pkgversion 0.7.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.5.0 77git checkout tags/0.7.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.4.5/include/ --with-libsodium-libs=/usr/local/Cellar/libsodium/0.4.5/lib/ 140./configure --with-libsodium-headers=/usr/local/Cellar/libsodium/0.7.0/include/ --with-libsodium-libs=/usr/local/Cellar/libsodium/0.7.0/lib/
141make 141make
142make install 142make install
143``` 143```
@@ -320,7 +320,7 @@ Now we will build sodium crypto library:
320```bash 320```bash
321git clone https://github.com/jedisct1/libsodium/ 321git clone https://github.com/jedisct1/libsodium/
322cd libsodium 322cd libsodium
323git checkout tags/0.6.1 323git checkout tags/0.7.0
324./autogen.sh 324./autogen.sh
325./configure --host="$WINDOWS_TOOLCHAIN" --prefix="$PREFIX_DIR" --disable-shared --enable-static 325./configure --host="$WINDOWS_TOOLCHAIN" --prefix="$PREFIX_DIR" --disable-shared --enable-static
326make 326make
@@ -374,10 +374,10 @@ When installing MinGW, make sure to select the MSYS option in the installer.
374MinGW 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. 374MinGW 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.
375 375
376First download the source tarball from https://download.libsodium.org/libsodium/releases/ and build it. 376First download the source tarball from https://download.libsodium.org/libsodium/releases/ and build it.
377Assuming that you got the libsodium-0.5.0.tar.gz release: 377Assuming that you got the libsodium-0.7.0.tar.gz release:
378```cmd 378```cmd
379tar -zxvf libsodium-0.5.0.tar.gz 379tar -zxvf libsodium-0.7.0.tar.gz
380cd libsodium-0.5.0 380cd libsodium-0.7.0
381./configure 381./configure
382make 382make
383make install 383make install