Deleted Added
full compact
INSTALL (59191) INSTALL (68651)
1
2 INSTALLATION ON THE UNIX PLATFORM
3 ---------------------------------
4
5 [Installation on Windows, OpenVMS and MacOS (before MacOS X) is described
6 in INSTALL.W32, INSTALL.VMS and INSTALL.MacOS.]
7
8 To install OpenSSL, you will need:

--- 39 unchanged lines hidden (view full) ---

48
49 no-threads Don't try to build with support for multi-threaded
50 applications.
51
52 threads Build with support for multi-threaded applications.
53 This will usually require additional system-dependent options!
54 See "Note on multi-threading" below.
55
1
2 INSTALLATION ON THE UNIX PLATFORM
3 ---------------------------------
4
5 [Installation on Windows, OpenVMS and MacOS (before MacOS X) is described
6 in INSTALL.W32, INSTALL.VMS and INSTALL.MacOS.]
7
8 To install OpenSSL, you will need:

--- 39 unchanged lines hidden (view full) ---

48
49 no-threads Don't try to build with support for multi-threaded
50 applications.
51
52 threads Build with support for multi-threaded applications.
53 This will usually require additional system-dependent options!
54 See "Note on multi-threading" below.
55
56 no-shared Don't try to create shared libraries.
57
58 shared In addition to the usual static libraries, create shared
59 libraries on platforms where it's supported. See "Note on
60 shared libraries" below.
61
56 no-asm Do not use assembler code.
57
58 386 Use the 80386 instruction set only (the default x86 code is
59 more efficient, but requires at least a 486).
60
61 no-<cipher> Build without the specified cipher (bf, cast, des, dh, dsa,
62 hmac, md2, md5, mdc2, rc2, rc4, rc5, rsa, sha).
63 The crypto/<cipher> directory can be removed after running

--- 49 unchanged lines hidden (view full) ---

113 2. Build OpenSSL by running:
114
115 $ make
116
117 This will build the OpenSSL libraries (libcrypto.a and libssl.a) and the
118 OpenSSL binary ("openssl"). The libraries will be built in the top-level
119 directory, and the binary will be in the "apps" directory.
120
62 no-asm Do not use assembler code.
63
64 386 Use the 80386 instruction set only (the default x86 code is
65 more efficient, but requires at least a 486).
66
67 no-<cipher> Build without the specified cipher (bf, cast, des, dh, dsa,
68 hmac, md2, md5, mdc2, rc2, rc4, rc5, rsa, sha).
69 The crypto/<cipher> directory can be removed after running

--- 49 unchanged lines hidden (view full) ---

119 2. Build OpenSSL by running:
120
121 $ make
122
123 This will build the OpenSSL libraries (libcrypto.a and libssl.a) and the
124 OpenSSL binary ("openssl"). The libraries will be built in the top-level
125 directory, and the binary will be in the "apps" directory.
126
121 If "make" fails, please report the problem to <openssl-bugs@openssl.org>
122 (note that your message will be forwarded to a public mailing list).
123 Include the output of "make report" in your message.
127 If "make" fails, look at the output. There may be reasons for
128 the failure that isn't a problem in OpenSSL itself (like missing
129 standard headers). If it is a problem with OpenSSL itself, please
130 report the problem to <openssl-bugs@openssl.org> (note that your
131 message will be forwarded to a public mailing list). Include the
132 output of "make report" in your message.
124
125 [If you encounter assembler error messages, try the "no-asm"
126 configuration option as an immediate fix.]
127
128 Compiling parts of OpenSSL with gcc and others with the system
129 compiler will result in unresolved symbols on some systems.
130
131 3. After a successful build, the libraries should be tested. Run:
132
133 $ make test
134
133
134 [If you encounter assembler error messages, try the "no-asm"
135 configuration option as an immediate fix.]
136
137 Compiling parts of OpenSSL with gcc and others with the system
138 compiler will result in unresolved symbols on some systems.
139
140 3. After a successful build, the libraries should be tested. Run:
141
142 $ make test
143
135 If a test fails, try removing any compiler optimization flags from
136 the CFLAGS line in Makefile.ssl and run "make clean; make". Please
137 send a bug report to <openssl-bugs@openssl.org>, including the
138 output of "make report".
144 If a test fails, look at the output. There may be reasons for
145 the failure that isn't a problem in OpenSSL itself (like a missing
146 or malfunctioning bc). If it is a problem with OpenSSL itself,
147 try removing any compiler optimization flags from the CFLAGS line
148 in Makefile.ssl and run "make clean; make". Please send a bug
149 report to <openssl-bugs@openssl.org>, including the output of
150 "make report".
139
140 4. If everything tests ok, install OpenSSL with
141
142 $ make install
143
144 This will create the installation directory (if it does not exist) and
145 then the following subdirectories:
146

--- 101 unchanged lines hidden (view full) ---

248
249 On other systems, to enable support for multi-threading, you will have
250 to specify at least two options: "threads", and a system-dependent option.
251 (The latter is "-D_REENTRANT" on various systems.) The default in this
252 case, obviously, is not to include support for multi-threading (but
253 you can still use "no-threads" to suppress an annoying warning message
254 from the Configure script.)
255
151
152 4. If everything tests ok, install OpenSSL with
153
154 $ make install
155
156 This will create the installation directory (if it does not exist) and
157 then the following subdirectories:
158

--- 101 unchanged lines hidden (view full) ---

260
261 On other systems, to enable support for multi-threading, you will have
262 to specify at least two options: "threads", and a system-dependent option.
263 (The latter is "-D_REENTRANT" on various systems.) The default in this
264 case, obviously, is not to include support for multi-threading (but
265 you can still use "no-threads" to suppress an annoying warning message
266 from the Configure script.)
267
268
269 Note on shared libraries
270 ------------------------
271
272 For some systems, the OpenSSL Configure script knows what is needed to
273 build shared libraries for libcrypto and libssl. On these systems,
274 the shared libraries are currently not created by default, but giving
275 the option "shared" will get them created. This method supports Makefile
276 targets for shared library creation, like linux-shared. Those targets
277 can currently be used on their own just as well, but this is expected
278 to change in future versions of OpenSSL.