Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

136 lines
4.0 KiB

  1. This document is written in pod format hence there are punctuation
  2. characters in odd places. Do not worry, you've apparently got
  3. the ASCII->EBCDIC translation worked out correctly. You can read
  4. more about pod in pod/perlpod.pod or the short summary in the
  5. INSTALL file.
  6. =head1 NAME
  7. README.vmesa - building and installing Perl for VM/ESA.
  8. =head1 SYNOPSIS
  9. This document will help you Configure, build, test and install Perl
  10. on VM/ESA.
  11. =head1 DESCRIPTION
  12. This is a fully ported perl for VM/ESA 2.3.0. It may work on
  13. other versions, but that's the one we've tested it on.
  14. If you've downloaded the binary distribution, it needs to be
  15. installed below /usr/local. Source code distributions have an
  16. automated `make install` step that means you do not need to extract
  17. the source code below /usr/local (though that is where it will be
  18. installed by default). You may need to worry about the networking
  19. configuration files discussed in the last bullet below.
  20. =head2 Unpacking
  21. To extract an ASCII tar archive on VM/ESA, try this:
  22. pax -o to=IBM-1047,from=ISO8859-1 -r < latest.tar
  23. =head2 Setup and utilities
  24. GNU make for VM/ESA, which may be required for the build of perl,
  25. is available from:
  26. http://pucc.princeton.edu/~neale/vmoe.html
  27. =head2 Configure
  28. Once you've unpacked the distribution, run Configure (see INSTALL for
  29. full discussion of the Configure options), and then run make, then
  30. "make test" then "make install" (this last step may require UID=0
  31. privileges).
  32. There is a "hints" file for vmesa that specifies the correct values
  33. for most things. Some things to watch out for are:
  34. =over 4
  35. =item *
  36. this port does support dynamic loading but it's not had much testing
  37. =item *
  38. Don't turn on the compiler optimization flag "-O". There's
  39. a bug in the compiler (APAR PQ18812) that generates some bad code
  40. the optimizer is on.
  41. =item *
  42. As VM/ESA doesn't fully support the fork() API programs relying on
  43. this call will not work. I've replaced fork()/exec() with spawn()
  44. and the standalone exec() with spawn(). This has a side effect when
  45. opening unnamed pipes in a shell script: there is no child process
  46. generated under.
  47. =item *
  48. At the moment the hints file for VM/ESA basically bypasses all of the
  49. automatic configuration process. This is because Configure relies on:
  50. 1. The header files living in the Byte File System (you could put the
  51. there if you want); 2. The C preprocessor including the #include
  52. statements in the preprocessor output (.i) file.
  53. =back
  54. =head2 testing anomalies
  55. The `make test` step runs a Perl Verification Procedure, usually before
  56. installation. As the 5.6.1 kit was was being assembled
  57. the following "failures" were known to appear on some machines
  58. during `make test` (mostly due to ASCII vs. EBCDIC conflicts),
  59. your results may differ:
  60. [the list of failures being compiled]
  61. =head2 Usage Hints
  62. When using perl on VM/ESA please keep in mind that the EBCDIC and ASCII
  63. character sets are different. Perl builtin functions that may behave
  64. differently under EBCDIC are mentioned in the perlport.pod document.
  65. OpenEdition (UNIX System Services) does not (yet) support the #! means
  66. of script invocation.
  67. See:
  68. head `whence perldoc`
  69. for an example of how to use the "eval exec" trick to ask the shell to
  70. have perl run your scripts for you.
  71. =head1 AUTHORS
  72. Neale Ferguson.
  73. =head1 SEE ALSO
  74. L<INSTALL>, L<perlport>, L<perlebcdic>.
  75. =head2 Mailing list
  76. If you are interested in the VM and OS/390 ports of perl then see the
  77. perl-mvs mailing list: The Perl Institute (http://www.perl.org/)
  78. maintains a mailing list of interest to all folks building and/or
  79. using perl on EBCDIC platforms. To subscribe, send a message of:
  80. subscribe perl-mvs
  81. to [email protected].
  82. See also:
  83. http://lists.perl.org/showlist.cgi?name=perl-mvs
  84. There are web archives of the mailing list at:
  85. http://www.xray.mpe.mpg.de/mailing-lists/perl-mvs/
  86. http://archive.develooper.com/[email protected]/
  87. =cut