| 1 | If you read this file _as_is_, just ignore the equal signs on the left.
|
|---|
| 2 | This file is written in the POD format (see [.POD]PERLPOD.POD;1) which is
|
|---|
| 3 | specially designed to be readable as is.
|
|---|
| 4 |
|
|---|
| 5 | =head1 NAME
|
|---|
| 6 |
|
|---|
| 7 | README.vms - Configuring, building, testing, and installing perl on VMS
|
|---|
| 8 |
|
|---|
| 9 | =head1 SYNOPSIS
|
|---|
| 10 |
|
|---|
| 11 | To configure, build, test, and install perl on VMS:
|
|---|
| 12 |
|
|---|
| 13 | @ Configure
|
|---|
| 14 | mms
|
|---|
| 15 | mms test
|
|---|
| 16 | mms install
|
|---|
| 17 |
|
|---|
| 18 | mmk may be used in place of mms in the last three steps.
|
|---|
| 19 |
|
|---|
| 20 | =head1 DESCRIPTION
|
|---|
| 21 |
|
|---|
| 22 | =head2 Important safety tip
|
|---|
| 23 |
|
|---|
| 24 | The build and install procedures have changed significantly from the 5.004
|
|---|
| 25 | releases! Make sure you read the "Configuring the Perl Build", "Building
|
|---|
| 26 | Perl", and "Installing Perl" sections of this document before you build or
|
|---|
| 27 | install. Also please note other changes in the current release by having
|
|---|
| 28 | a look at L<perldelta/VMS>.
|
|---|
| 29 |
|
|---|
| 30 | Also note that, as of Perl version 5.005 and later, an ANSI C compliant
|
|---|
| 31 | compiler is required to build Perl. VAX C is *not* ANSI compliant, as it
|
|---|
| 32 | died a natural death some time before the standard was set. Therefore
|
|---|
| 33 | VAX C will not compile Perl 5.005 or later. We are sorry about that.
|
|---|
| 34 |
|
|---|
| 35 | If you are stuck without Compaq (formerly DEC) C consider trying Gnu C
|
|---|
| 36 | instead, though there have been no recent reports of builds using Gnu C.
|
|---|
| 37 | There is minimal support for Compaq C++ but this support is not complete;
|
|---|
| 38 | if you get it working please write to the vmsperl list (for info see
|
|---|
| 39 | L</"Mailing Lists">).
|
|---|
| 40 |
|
|---|
| 41 |
|
|---|
| 42 | =head2 Introduction to Perl on VMS
|
|---|
| 43 |
|
|---|
| 44 | The VMS port of Perl is as functionally complete as any other Perl port
|
|---|
| 45 | (and as complete as the ports on some Unix systems). The Perl binaries
|
|---|
| 46 | provide all the Perl system calls that are either available under VMS or
|
|---|
| 47 | reasonably emulated. There are some incompatibilities in process handling
|
|---|
| 48 | (e.g. the fork/exec model for creating subprocesses doesn't do what you
|
|---|
| 49 | might expect under Unix), mainly because VMS and Unix handle processes and
|
|---|
| 50 | sub-processes very differently.
|
|---|
| 51 |
|
|---|
| 52 | There are still some unimplemented system functions, and of course we
|
|---|
| 53 | could use modules implementing useful VMS system services, so if you'd like
|
|---|
| 54 | to lend a hand we'd love to have you. Join the Perl Porting Team Now!
|
|---|
| 55 |
|
|---|
| 56 | The current sources and build procedures have been tested on a VAX using
|
|---|
| 57 | DEC C, and on an AXP using DEC C. If you run into problems with
|
|---|
| 58 | other compilers, please let us know. (Note: DEC C was renamed to Compaq C
|
|---|
| 59 | around version 6.2).
|
|---|
| 60 |
|
|---|
| 61 | There are issues with various versions of DEC C, so if you're not running a
|
|---|
| 62 | relatively modern version, check the "DEC C issues" section later on in this
|
|---|
| 63 | document.
|
|---|
| 64 |
|
|---|
| 65 | =head2 Other required software for Compiling Perl on VMS
|
|---|
| 66 |
|
|---|
| 67 | In addition to VMS and DCL you will need two things:
|
|---|
| 68 |
|
|---|
| 69 | =over 4
|
|---|
| 70 |
|
|---|
| 71 | =item 1 A C compiler.
|
|---|
| 72 |
|
|---|
| 73 | DEC (now Compaq) C or gcc for VMS (AXP or VAX).
|
|---|
| 74 |
|
|---|
| 75 | =item 2 A make tool.
|
|---|
| 76 |
|
|---|
| 77 | DEC's MMS (v2.6 or later), or MadGoat's free MMS
|
|---|
| 78 | analog MMK (available from ftp.madgoat.com/madgoat) both work
|
|---|
| 79 | just fine. Gnu Make might work, but it's been so long since
|
|---|
| 80 | anyone's tested it that we're not sure. MMK is free though, so
|
|---|
| 81 | go ahead and use that.
|
|---|
| 82 |
|
|---|
| 83 | =back
|
|---|
| 84 |
|
|---|
| 85 | =head2 Additional software that is optional for Perl on VMS
|
|---|
| 86 |
|
|---|
| 87 | You may also want to have on hand:
|
|---|
| 88 |
|
|---|
| 89 | =over 4
|
|---|
| 90 |
|
|---|
| 91 | =item 1 GUNZIP/GZIP.EXE for VMS
|
|---|
| 92 |
|
|---|
| 93 | A de-compressor for *.gz and *.tgz files available from a number
|
|---|
| 94 | of web/ftp sites and is distributed on the OpenVMS Freeware CD-ROM
|
|---|
| 95 | from Compaq.
|
|---|
| 96 |
|
|---|
| 97 | http://www.fsf.org/order/ftp.html
|
|---|
| 98 | http://www.openvms.compaq.com/freeware/
|
|---|
| 99 | http://www.crinoid.com/utils/
|
|---|
| 100 |
|
|---|
| 101 | =item 2 VMS TAR
|
|---|
| 102 |
|
|---|
| 103 | For reading and writing unix tape archives (*.tar files). Vmstar is also
|
|---|
| 104 | available from a number of web/ftp sites and is distributed on the OpenVMS
|
|---|
| 105 | Freeware CD-ROM from Compaq.
|
|---|
| 106 |
|
|---|
| 107 | ftp://ftp.lp.se/vms/
|
|---|
| 108 | http://www.openvms.compaq.com/freeware/
|
|---|
| 109 |
|
|---|
| 110 | Recent versions of VMS tar on ODS-5 volumes may extract tape archive
|
|---|
| 111 | files with ^. escaped periods in them. See below for further workarounds.
|
|---|
| 112 |
|
|---|
| 113 | =item 3 UNZIP.EXE for VMS
|
|---|
| 114 |
|
|---|
| 115 | A combination decompressor and archive reader/writer for *.zip files.
|
|---|
| 116 | Unzip is available from a number of web/ftp sites.
|
|---|
| 117 |
|
|---|
| 118 | http://www.info-zip.org/UnZip.html
|
|---|
| 119 | http://www.openvms.compaq.com/freeware/
|
|---|
| 120 | ftp://ftp.openvms.compaq.com/
|
|---|
| 121 | ftp://ftp.madgoat.com/madgoat/
|
|---|
| 122 | ftp://ftp.process.com/vms-freeware/
|
|---|
| 123 |
|
|---|
| 124 | =item 4 MOST
|
|---|
| 125 |
|
|---|
| 126 | Most is an optional pager that is convenient to use with perldoc (unlike
|
|---|
| 127 | TYPE/PAGE, MOST can go forward and backwards in a document and supports
|
|---|
|
|---|