1 This is a fully ported perl for OS/390 Release 3. It may work on
2 other versions, but that's the one we've tested it on.
4 If you've downloaded the binary distribution, it needs to be
5 installed below /usr/local. Source code distributions have an
6 automated `make install` step that means you do not need to extract
7 the source code below /usr/local (though that is where it will be
8 installed by default). You may need to worry about the networking
9 configuration files discussed in the last bullet below.
11 Gunzip/gzip for OS/390 is discussed at:
13 http://www.s390.ibm.com/products/oe/bpxqp1.html
15 to extract an ASCII tar archive on OS/390, try this:
17 pax -o to=IBM-1047,from=ISO8859-1 -r < latest.tar
19 GNU make for OS/390, which may be required for the build of perl,
22 http://www.mks.com/s390/gnu/index.htm
24 Once you've unpacked the distribution, run Configure (see INSTALL for
25 full discussion of the Configure options), and then run make, then
26 "make test" then "make install" (this last step may require UID=0
29 There is a "hints" file for os390 that specifies the correct values
30 for most things. Some things to watch out for are
32 - this port doesn't support dynamic loading. Although
33 OS/390 has support for DLLs, there are some differences
34 that cause problems for perl.
36 - You may see a "WHOA THERE!!!" message for $d_shmatprototype
37 it is OK to keep the recommended "define".
39 - Don't turn on the compiler optimization flag "-O". There's
40 a bug in either the optimizer or perl that causes perl to
41 not work correctly when the optimizer is on.
43 - Some of the configuration files in /etc used by the
44 networking APIs are either missing or have the wrong
45 names. In particular, make sure that there's either
46 an /etc/resolv.conf or and /etc/hosts, so that
47 gethostbyname() works, and make sure that the file
48 /etc/proto has been renamed to /etc/protocol (NOT
49 /etc/protocols, as used by other Unix systems).
51 - Some of the parser default files in /sample are needed in /etc.
52 In particular be sure that you at least copy /sample/yy* to /etc
53 before running perl's Configure.
55 When using perl on OS/390 please keep in mind that the EBCDIC and ASCII
56 character sets are different. Perl builtin functions that may behave
57 differently under EBCDIC are mentioned in the perlport.pod document.
59 OpenEdition (UNIX System Services) does not (yet) support the #! means
65 for an example of how to use the "eval exec" trick to ask the shell to
66 have perl run your scripts for you.
68 perl-mvs mailing list: The Perl Institute (http://www.perl.org/)
69 maintains a mailing list of interest to all folks building and/or
70 using perl on EBCDIC platforms. To subscibe, send a message of:
74 to majordomo@perl.org.
76 Regression tests: as the 5.005 kit was was being assembled
77 the following "failures" were known to appear on some machines
78 during `make test` (mostly due to ASCII vs. EBCDIC conflicts),
79 your results may differ:
81 comp/cpp..........FAILED at test 0
82 op/pack...........FAILED at test 58
83 op/stat...........Out of memory!
84 op/taint..........FAILED at test 73
85 lib/errno.........FAILED at test 1
86 lib/posix.........FAILED at test 19