This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
pod nits
[perl5.git] / README.vmesa
CommitLineData
7c5ffed3
JH
1README.vmesa
2
3This is a fully ported perl for VM/ESA 2.3.0. It may work on
4other versions, but that's the one we've tested it on.
5
6If you've downloaded the binary distribution, it needs to be
7installed below /usr/local. Source code distributions have an
8automated `make install` step that means you do not need to extract
9the source code below /usr/local (though that is where it will be
10installed by default). You may need to worry about the networking
11configuration files discussed in the last bullet below.
12
13To extract an ASCII tar archive on VM/ESA, try this:
14
15 pax -o to=IBM-1047,from=ISO8859-1 -r < latest.tar
16
17GNU make for VM/ESA, which may be required for the build of perl,
18is available from:
19
20 http://pucc.princeton.edu/~neale/vmoe.html
21
22Once you've unpacked the distribution, run Configure (see INSTALL for
23full discussion of the Configure options), and then run make, then
24"make test" then "make install" (this last step may require UID=0
25privileges)
26
27There is a "hints" file for vmesa that specifies the correct values
28for most things. Some things to watch out for are
29
30 - this port does support dynamic loading but it's not had much testing
31
32 - Don't turn on the compiler optimization flag "-O". There's
33 a bug in the compiler (APAR PQ18812) that generates some bad code
34 the optimizer is on.
35
36 - As VM/ESA doesn't fully support the fork() API programs relying on
37 this call will not work. I've replaced fork()/exec() with spawn()
38 and the standalone exec() with spawn(). This has a side effect when
39 opening unnamed pipes in a shell script: there is no child process
40 generated under.
41
42 - At the moment the hints file for VM/ESA basically bypasses all of the
43 automatic configuration process. This is because Configure relies on:
44 1. The header files living in the Byte File System (you could put the
45 there if you want;
46 2. The C preprocessor including the #include statements in the
47 preprocessor output (.i) file.
48
49When using perl on VM/ESA please keep in mind that the EBCDIC and ASCII
50character sets are different. Perl builtin functions that may behave
51differently under EBCDIC are mentioned in the perlport.pod document.
52
53OpenEdition (UNIX System Services) does not (yet) support the #! means
54of script invokation.
55See:
56
57 head `whence perldoc`
58
59for an example of how to use the "eval exec" trick to ask the shell to
60have perl run your scripts for you.
61
62If you are interested in the VM and OS/390 ports of perl then see the
63perl-mvs mailing list: The Perl Institute (http://www.perl.org/)
64maintains a mailing list of interest to all folks building and/or
65using perl on EBCDIC platforms. To subscibe, send a message of:
66
67 subscribe perl-mvs
68
69to majordomo@perl.org.
70
71Regression tests: as the 5.005 kit was was being assembled
72the following "failures" were known to appear on some machines
73during `make test` (mostly due to ASCII vs. EBCDIC conflicts),
74your results may differ:
75
76[the list of failures being compiled]