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