Platform SpecificBuilding and installing Perl for VM/ESA.Daftar Isi NAMEperlvmesa - building and installing Perl for VM/ESA. SYNOPSISThis document will help you Configure, build, test and install Perlon VM/ESA. DESCRIPTIONThis is a fully ported perl for VM/ESA 2.3.0. It may work onother versions, but that's the one we've tested it on. If you've downloaded the binary distribution, it needs to beinstalled below /usr/local. Source code distributions have anautomated "make install" step that means you do not need to extractthe source code below /usr/local (though that is where it will beinstalled by default). You may need to worry about the networkingconfiguration files discussed in the last bullet below. Unpacking Perl Distribution on VM/ESATo extract an ASCII tar archive on VM/ESA, try this: - pax -o to=IBM-1047,from=ISO8859-1 -r < latest.tar
Setup Perl and utilities on VM/ESAGNU make for VM/ESA, which may be required for the build of perl,is available from: http://vm.marist.edu/~neale/vmoe.html Configure Perl on VM/ESAOnce you've unpacked the distribution, run Configure (see INSTALL forfull discussion of the Configure options), and then run make, then"make test" then "make install" (this last step may require UID=0privileges). There is a "hints" file for vmesa that specifies the correct valuesfor most things. Some things to watch out for are: this port does support dynamic loading but it's not had much testing Don't turn on the compiler optimization flag "-O". There'sa bug in the compiler (APAR PQ18812) that generates some bad codethe optimizer is on. As VM/ESA doesn't fully support the fork() API programs relying onthis call will not work. I've replaced fork()/exec() with spawn()and the standalone exec() with spawn(). This has a side effect whenopening unnamed pipes in a shell script: there is no child processgenerated under. At the moment the hints file for VM/ESA basically bypasses all of theautomatic configuration process. This is because Configure relies on:1. The header files living in the Byte File System (you could put thethere if you want); 2. The C preprocessor including the #include statements in the preprocessor output (.i) file.
Testing Anomalies of Perl on VM/ESAThe "make test" step runs a Perl Verification Procedure, usually beforeinstallation. As the 5.6.1 kit was being assembledthe following "failures" were known to appear on some machinesduring "make test" (mostly due to ASCII vs. EBCDIC conflicts),your results may differ: [the list of failures being compiled] Usage Hints for Perl on VM/ESAWhen using perl on VM/ESA please keep in mind that the EBCDIC and ASCIIcharacter sets are different. Perl builtin functions that may behavedifferently under EBCDIC are mentioned in the perlport.pod document. OpenEdition (UNIX System Services) does not (yet) support the #! meansof script invocation.See: - head `whence perldoc`
for an example of how to use the "eval exec" trick to ask the shell tohave perl run your scripts for you. AUTHORSNeale Ferguson. SEE ALSOINSTALL, perlport, perlebcdic. Mailing list for Perl on VM/ESAIf 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: http://lists.perl.org/list/perl-mvs.html There are web archives of the mailing list at: |