This is a fully ported perl for VM/ESA 2.3.0. It may work on other versions, but that's the one we've tested it on.
If you've downloaded the binary distribution, it needs to be installed below /usr/local. Source code distributions have an automated `make install` step that means you do not need to extract the source code below /usr/local (though that is where it will be installed by default). You may need to worry about the networking configuration files discussed in the last bullet below.
Setup and utilities
Once you've unpacked the distribution, run Configure (see INSTALL for full discussion of the Configure options), and then run make, then ``make test then ``make install (this last step may require UID=0 privileges).
There is a ``hints'' file for vmesa that specifies the correct values for 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's a bug in the compiler ( APAR PQ18812 ) that generates some bad code the optimizer is on.
As VM/ESA doesn't fully support the fork() API programs relying on this call will not work. I've replaced fork()/exec() with spawn() and the standalone exec() with spawn(). This has a side effect when opening unnamed pipes in a shell script: there is no child process generated under.
The `make test` step runs a Perl Verification Procedure, usually before installation. As the 5.6.1 kit was was being assembled the following ``failures'' were known to appear on some machines during `make test` (mostly due to ASCII vs. EBCDIC conflicts), your results may differ:
When using perl on VM/ESA please keep in mind that the EBCDIC and ASCII character sets are different. Perl builtin functions that may behave differently under EBCDIC are mentioned in the perlport.pod document.
INSTALL , perlport, perlebcdic.