forked from marcgreen/perl-pod-checker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.vmesa
140 lines (88 loc) · 3.89 KB
/
README.vmesa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
This document is written in pod format hence there are punctuation
characters in odd places. Do not worry, you've apparently got
the ASCII->EBCDIC translation worked out correctly. You can read
more about pod in pod/perlpod.pod or the short summary in the
INSTALL file.
=head1 NAME
perlvmesa - building and installing Perl for VM/ESA.
=head1 SYNOPSIS
This document will help you Configure, build, test and install Perl
on VM/ESA.
=head1 DESCRIPTION
This is a fully ported perl for VM/ESA 2.3.0. It may work on
other versions, but that's the one we've tested it on.
If you've downloaded the binary distribution, it needs to be
installed below /usr/local. Source code distributions have an
automated "make install" step that means you do not need to extract
the source code below /usr/local (though that is where it will be
installed by default). You may need to worry about the networking
configuration files discussed in the last bullet below.
=head2 Unpacking Perl Distribution on VM/ESA
To extract an ASCII tar archive on VM/ESA, try this:
pax -o to=IBM-1047,from=ISO8859-1 -r < latest.tar
=head2 Setup Perl and utilities on VM/ESA
GNU make for VM/ESA, which may be required for the build of perl,
is available from:
L<http://vm.marist.edu/~neale/vmoe.html>
=head2 Configure Perl on VM/ESA
Once you've unpacked the distribution, run Configure (see INSTALL for
full discussion of the Configure options), and then run make, then
"make test" then "make install" (this last step may require UID=0
privileges).
There is a "hints" file for vmesa that specifies the correct values
for most things. Some things to watch out for are:
=over 4
=item *
this port does support dynamic loading but it's not had much testing
=item *
Don't turn on the compiler optimization flag "-O". There's
a bug in the compiler (APAR PQ18812) that generates some bad code
the optimizer is on.
=item *
As VM/ESA doesn't fully support the fork() API programs relying on
this call will not work. I've replaced fork()/exec() with spawn()
and the standalone exec() with spawn(). This has a side effect when
opening unnamed pipes in a shell script: there is no child process
generated under.
=item *
At the moment the hints file for VM/ESA basically bypasses all of the
automatic configuration process. This is because Configure relies on:
1. The header files living in the Byte File System (you could put the
there if you want); 2. The C preprocessor including the #include
statements in the preprocessor output (.i) file.
=back
=head2 Testing Anomalies of Perl on VM/ESA
The "make test" step runs a Perl Verification Procedure, usually before
installation. As the 5.6.1 kit was being assembled
the following "failures" were known to appear on some machines
during "make test" (mostly due to ASCII vs. EBCDIC conflicts),
your results may differ:
[the list of failures being compiled]
=head2 Usage Hints for Perl on VM/ESA
When using perl on VM/ESA please keep in mind that the EBCDIC and ASCII
character sets are different. Perl builtin functions that may behave
differently under EBCDIC are mentioned in the perlport.pod document.
OpenEdition (UNIX System Services) does not (yet) support the #! means
of script invocation.
See:
head `whence perldoc`
for an example of how to use the "eval exec" trick to ask the shell to
have perl run your scripts for you.
=head1 AUTHORS
Neale Ferguson.
=head1 SEE ALSO
L<INSTALL>, L<perlport>, L<perlebcdic>.
=head2 Mailing list for Perl on VM/ESA
If you are interested in the VM/ESA, z/OS (formerly known as OS/390)
and POSIX-BC (BS2000) ports of Perl then see the perl-mvs mailing list.
To subscribe, send an empty message to [email protected].
See also:
L<http://lists.perl.org/showlist.cgi?name=perl-mvs>
There are web archives of the mailing list at:
=over 4
=item *
L<http://www.xray.mpe.mpg.de/mailing-lists/perl-mvs/>
=item *
L<http://archive.develooper.com/[email protected]/>
=back
=cut