blob: 98def0689a77a286c2fd7943fdac6354346dbbc6 [file] [log] [blame]
Richard Levitte2acd8ec2016-03-08 00:04:27 +01001
2 NOTES FOR THE OPENVMS PLATFORM
3 ==============================
4
5 Requirement details
6 -------------------
7
Richard Levitteb54e35f2016-03-23 19:27:08 +01008 In addition to the requirements and instructions listed in INSTALL,
9 this are required as well:
Richard Levitte2acd8ec2016-03-08 00:04:27 +010010
11 * At least ODS-5 disk organization for source and build.
12 Installation can be done on any existing disk organization.
13
14
15 About ANSI C compiler
16 ---------------------
17
Richard Levitte7793e172016-03-25 08:27:35 +010018 An ANSI C compiled is needed among other things. This means that
19 VAX C is not and will not be supported.
Richard Levitte2acd8ec2016-03-08 00:04:27 +010020
Richard Levitte368058d2016-04-01 12:36:51 +020021 We have only tested with DEC C (a.k.a HP VMS C / VSI C) and require
22 version 7.1 or later. Compiling with a different ANSI C compiler may
23 require some work.
Richard Levitte7793e172016-03-25 08:27:35 +010024
25 Please avoid using C RTL feature logical names DECC$* when building
26 and testing OpenSSL. Most of all, they can be disruptive when
27 running the tests, as they affect the Perl interpreter.
Richard Levitte2acd8ec2016-03-08 00:04:27 +010028
29
Richard Levittee8fd2a42016-08-06 11:30:48 +020030 About ODS-5 directory names and Perl
31 ------------------------------------
32
33 It seems that the perl function canonpath() in the File::Spec module
34 doesn't treat file specifications where the last directory name
35 contains periods very well. Unfortunately, some versions of VMS tar
36 will keep the periods in the OpenSSL source directory instead of
37 converting them to underscore, thereby leaving your source in
38 something like [.openssl-1^.1^.0]. This will lead to issues when
39 configuring and building OpenSSL.
40
41 We have no replacement for Perl's canonpath(), so the best workaround
42 for now is to rename the OpenSSL source directory, as follows (please
43 adjust for the actual source directory name you have):
44
45 $ rename openssl-1^.1^.0.DIR openssl-1_1_0.DIR
46
47
Richard Levitteb54e35f2016-03-23 19:27:08 +010048 About MMS and DCL
49 -----------------
50
51 MMS has certain limitations when it comes to line length, and DCL has
52 certain limitations when it comes to total command length. We do
53 what we can to mitigate, but there is the possibility that it's not
54 enough. Should you run into issues, a very simple solution is to set
55 yourself up a few logical names for the directory trees you're going
56 to use.
57
58
Richard Levitte1ae4c072017-03-15 02:52:20 +010059 About debugging
60 ---------------
61
62 If you build for debugging, the default on VMS is that image
63 activation starts the debugger automatically, giving you a debug
64 prompt. Unfortunately, this disrupts all other uses, such as running
65 test programs in the test framework.
66
Richard Levittea2880ae2017-03-15 17:10:48 +010067 Generally speaking, if you build for debugging, only use the programs
68 directly for debugging. Do not try to use them from a script, such
69 as running the test suite.
70
71 *The following is not available on Alpha*
72
Richard Levitte1ae4c072017-03-15 02:52:20 +010073 As a compromise, we're turning off the flag that makes the debugger
74 start automatically. If there is a program that you need to debug,
75 you need to turn that flag back on first, for example:
76
77 $ set image /flag=call_debug [.test]evp_test.exe
78
Richard Levittea2880ae2017-03-15 17:10:48 +010079 Then just run it and you will find yourself in a debugging session.
FdaSilvaYY69687aa2017-03-28 23:57:28 +020080 When done, we recommend that you turn that flag back off:
Richard Levitte1ae4c072017-03-15 02:52:20 +010081
82 $ set image /flag=nocall_debug [.test]evp_test.exe
83
84
Richard Levitte2acd8ec2016-03-08 00:04:27 +010085 Checking the distribution
86 -------------------------
87
88 There have been reports of places where the distribution didn't quite
89 get through, for example if you've copied the tree from a NFS-mounted
90 Unix mount point.
91
92 The easiest way to check if everything got through as it should is to
93 check for one of the following files:
94
95 [.crypto]opensslconf^.h.in
96
97 The best way to get a correct distribution is to download the gzipped
98 tar file from ftp://ftp.openssl.org/source/, use GZIP -d to uncompress
99 it and VMSTAR to unpack the resulting tar file.
100
101 Gzip and VMSTAR are available here:
102
103 http://antinode.info/dec/index.html#Software
104
105 Should you need it, you can find UnZip for VMS here:
106
107 http://www.info-zip.org/UnZip.html