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