OLD | NEW |
1 | 1 |
2 INSTALLATION ON THE UNIX PLATFORM | 2 INSTALLATION ON THE UNIX PLATFORM |
3 --------------------------------- | 3 --------------------------------- |
4 | 4 |
5 [Installation on DOS (with djgpp), Windows, OpenVMS, MacOS (before MacOS X) | 5 [Installation on DOS (with djgpp), Windows, OpenVMS, MacOS (before MacOS X) |
6 and NetWare is described in INSTALL.DJGPP, INSTALL.W32, INSTALL.VMS, | 6 and NetWare is described in INSTALL.DJGPP, INSTALL.W32, INSTALL.VMS, |
7 INSTALL.MacOS and INSTALL.NW. | 7 INSTALL.MacOS and INSTALL.NW. |
8 | 8 |
9 This document describes installation on operating systems in the Unix | 9 This document describes installation on operating systems in the Unix |
10 family.] | 10 family.] |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 disengage SSE2 code pathes upon application start-up, | 91 disengage SSE2 code pathes upon application start-up, |
92 but if you aim for wider "audience" running such kernel, | 92 but if you aim for wider "audience" running such kernel, |
93 consider no-sse2. Both 386 and no-asm options above imply | 93 consider no-sse2. Both 386 and no-asm options above imply |
94 no-sse2. | 94 no-sse2. |
95 | 95 |
96 no-<cipher> Build without the specified cipher (bf, cast, des, dh, dsa, | 96 no-<cipher> Build without the specified cipher (bf, cast, des, dh, dsa, |
97 hmac, md2, md5, mdc2, rc2, rc4, rc5, rsa, sha). | 97 hmac, md2, md5, mdc2, rc2, rc4, rc5, rsa, sha). |
98 The crypto/<cipher> directory can be removed after running | 98 The crypto/<cipher> directory can be removed after running |
99 "make depend". | 99 "make depend". |
100 | 100 |
101 -Dxxx, -lxxx, -Lxxx, -fxxx, -mxxx, -Kxxx These system specific options will | 101 -Dxxx, -lxxx, -Lxxx, -fxxx, -mXXX, -Kxxx These system specific options will |
102 be passed through to the compiler to allow you to | 102 be passed through to the compiler to allow you to |
103 define preprocessor symbols, specify additional libraries, | 103 define preprocessor symbols, specify additional libraries, |
104 library directories or other compiler options. | 104 library directories or other compiler options. |
105 | 105 |
| 106 -DHAVE_CRYPTODEV Enable the BSD cryptodev engine even if we are not using |
| 107 BSD. Useful if you are running ocf-linux or something |
| 108 similar. Once enabled you can also enable the use of |
| 109 cryptodev digests, which is usually slower unless you have |
| 110 large amounts data. Use -DUSE_CRYPTODEV_DIGESTS to force |
| 111 it. |
106 | 112 |
107 Installation in Detail | 113 Installation in Detail |
108 ---------------------- | 114 ---------------------- |
109 | 115 |
110 1a. Configure OpenSSL for your operation system automatically: | 116 1a. Configure OpenSSL for your operation system automatically: |
111 | 117 |
112 $ ./config [options] | 118 $ ./config [options] |
113 | 119 |
114 This guesses at your operating system (and compiler, if necessary) and | 120 This guesses at your operating system (and compiler, if necessary) and |
115 configures OpenSSL based on this guess. Run ./config -t to see | 121 configures OpenSSL based on this guess. Run ./config -t to see |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 | 205 |
200 If you didn't choose a different installation prefix, the | 206 If you didn't choose a different installation prefix, the |
201 following additional subdirectories will be created: | 207 following additional subdirectories will be created: |
202 | 208 |
203 bin Contains the openssl binary and a few other | 209 bin Contains the openssl binary and a few other |
204 utility programs. | 210 utility programs. |
205 include/openssl Contains the header files needed if you want to | 211 include/openssl Contains the header files needed if you want to |
206 compile programs with libcrypto or libssl. | 212 compile programs with libcrypto or libssl. |
207 lib Contains the OpenSSL library files themselves. | 213 lib Contains the OpenSSL library files themselves. |
208 | 214 |
| 215 Use "make install_sw" to install the software without documentation, |
| 216 and "install_docs_html" to install HTML renditions of the manual |
| 217 pages. |
| 218 |
209 Package builders who want to configure the library for standard | 219 Package builders who want to configure the library for standard |
210 locations, but have the package installed somewhere else so that | 220 locations, but have the package installed somewhere else so that |
211 it can easily be packaged, can use | 221 it can easily be packaged, can use |
212 | 222 |
213 $ make INSTALL_PREFIX=/tmp/package-root install | 223 $ make INSTALL_PREFIX=/tmp/package-root install |
214 | 224 |
215 (or specify "--install_prefix=/tmp/package-root" as a configure | 225 (or specify "--install_prefix=/tmp/package-root" as a configure |
216 option). The specified prefix will be prepended to all | 226 option). The specified prefix will be prepended to all |
217 installation target filenames. | 227 installation target filenames. |
218 | 228 |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 mkdir -p `dirname $F` | 351 mkdir -p `dirname $F` |
342 rm -f $F; ln -s $OPENSSL_SOURCE/$F $F | 352 rm -f $F; ln -s $OPENSSL_SOURCE/$F $F |
343 echo $F '->' $OPENSSL_SOURCE/$F | 353 echo $F '->' $OPENSSL_SOURCE/$F |
344 done | 354 done |
345 make -f Makefile.org clean | 355 make -f Makefile.org clean |
346 | 356 |
347 OPENSSL_SOURCE is an environment variable that contains the absolute (this | 357 OPENSSL_SOURCE is an environment variable that contains the absolute (this |
348 is important!) path to the OpenSSL source tree. | 358 is important!) path to the OpenSSL source tree. |
349 | 359 |
350 Also, operations like 'make update' should still be made in the source tree. | 360 Also, operations like 'make update' should still be made in the source tree. |
OLD | NEW |