Mercurial > trustbridge
comparison INSTALL @ 1342:dab626e44347
(issue172) Document polarssl 1.3.9 usage
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 28 Oct 2014 11:11:27 +0100 |
parents | 4a3a482dc337 |
children | f5225a632622 |
comparison
equal
deleted
inserted
replaced
1341:1004f0dc1b49 | 1342:dab626e44347 |
---|---|
56 make install | 56 make install |
57 | 57 |
58 | 58 |
59 Polarssl is required for TrustBridge: | 59 Polarssl is required for TrustBridge: |
60 | 60 |
61 curl -O https://polarssl.org/download/polarssl-1.3.8-gpl.tgz | 61 curl -O https://polarssl.org/download/polarssl-1.3.9-gpl.tgz |
62 sha256sum polarssl-1.3.8-gpl.tgz | 62 sha256sum polarssl-1.3.9-gpl.tgz |
63 318171db41335cacbb5b0047c94f1faf91442ab70a223b5223436703c9406ff1 polarssl-1.3.8-gpl.tgz | 63 d3605afc28ed4b7d1d9e3142d72e42855e4a23c07c951bbb0299556b02d36755 polarssl-1.3.9-gpl.tgz |
64 | 64 |
65 tar -xf polarssl-1.3.8-gpl.tgz | 65 tar -xf polarssl-1.3.9-gpl.tgz |
66 cd polarssl-1.3.8 | 66 cd polarssl-1.3.9 |
67 mkdir build | 67 mkdir build |
68 cd build | 68 cd build |
69 cmake .. -DCMAKE_C_FLAGS=-fpic -DCMAKE_INSTALL_PREFIX=$YOURPREFIX | 69 cmake .. -DCMAKE_C_FLAGS=-fpic -DCMAKE_INSTALL_PREFIX=$YOURPREFIX |
70 make && make test && make install | 70 make && make test && make install |
71 | 71 |
175 nice make -j`nproc` && \ | 175 nice make -j`nproc` && \ |
176 make install | 176 make install |
177 | 177 |
178 Switch back to the polarssl directory: | 178 Switch back to the polarssl directory: |
179 | 179 |
180 cd ../../../polarssl-1.3.8/ | 180 cd ../../../polarssl-1.3.9/ |
181 mkdir build-i386 | 181 mkdir build-i386 |
182 cd build-i386 | 182 cd build-i386 |
183 cmake .. -DCMAKE_C_FLAGS="-fpic -m32" -DCMAKE_INSTALL_PREFIX=$YOURPREFIX/i386 \ | 183 cmake .. -DCMAKE_C_FLAGS="-fpic -m32" -DCMAKE_INSTALL_PREFIX=$YOURPREFIX/i386 \ |
184 -DCMAKE_VERBOSE_MAKEFILE=True \ | 184 -DCMAKE_VERBOSE_MAKEFILE=True \ |
185 -DENABLE_TESTING=FALSE -DENABLE_PROGRAMS=FALSE && \ | 185 -DENABLE_TESTING=FALSE -DENABLE_PROGRAMS=FALSE && \ |