source: trunk/essentials/dev-lang/perl/README.vms

Last change on this file was 3181, checked in by bird, 19 years ago

perl 5.8.8

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