Commit | Line | Data |
---|---|---|
ffe25ee3 B |
1 | # vim: syntax=pod |
2 | ||
9a997319 JH |
3 | If you read this file _as_is_, just ignore the funny characters you |
4 | see. It is written in the POD format (see pod/perlpod.pod) which is | |
5 | specially designed to be readable as is. | |
6 | ||
7 | =head1 NAME | |
8 | ||
48951f7e | 9 | perlvos - Perl for Stratus OpenVOS |
9a997319 JH |
10 | |
11 | =head1 SYNOPSIS | |
24e8e380 | 12 | |
48951f7e | 13 | This file contains notes for building perl on the Stratus OpenVOS |
050dfae0 | 14 | operating system. Perl is a scripting or macro language that is |
48951f7e PG |
15 | popular on many systems. See L<perlbook> for a number of good books |
16 | on Perl. | |
4f3de37c | 17 | |
10fb90aa | 18 | These are instructions for building Perl from source. This version of |
48951f7e PG |
19 | Perl requires the dynamic linking support that is found in OpenVOS |
20 | Release 17.1 and thus is not supported on OpenVOS Release 17.0 or | |
21 | earlier releases. | |
495c5fdc | 22 | |
050dfae0 | 23 | If you are running VOS Release 14.4.1 or later, you can obtain a |
48951f7e PG |
24 | pre-compiled, supported copy of perl by purchasing the GNU Tools |
25 | product from Stratus Technologies. | |
050dfae0 | 26 | |
48951f7e | 27 | =head1 BUILDING PERL FOR OPENVOS |
050dfae0 | 28 | |
48951f7e PG |
29 | To build perl from its source code on the Stratus V Series platform |
30 | you must have OpenVOS Release 17.1.0 or later, GNU Tools Release | |
31 | 3.5 or later, and the C/POSIX Runtime Libraries. | |
24e8e380 | 32 | |
48951f7e PG |
33 | Follow the normal instructions for building perl; e.g, enter bash, run |
34 | the Configure script, then use "gmake" to build perl. | |
9a997319 | 35 | |
48951f7e | 36 | =head1 INSTALLING PERL IN OPENVOS |
9a997319 | 37 | |
050dfae0 | 38 | =over 4 |
24e8e380 | 39 | |
050dfae0 | 40 | =item 1 |
24e8e380 | 41 | |
48951f7e PG |
42 | After you have built perl using the Configure script, ensure that you |
43 | have modify and default write permission to C<< >system>ported >> and | |
44 | all subdirectories. Then type | |
9a997319 | 45 | |
050dfae0 | 46 | gmake install |
24e8e380 | 47 | |
050dfae0 | 48 | =item 2 |
24e8e380 | 49 | |
10fb90aa PG |
50 | While there are currently no architecture-specific extensions or |
51 | modules distributed with perl, the following directories can be | |
52 | used to hold such files (replace the string VERSION by the | |
53 | appropriate version number): | |
24e8e380 | 54 | |
10fb90aa | 55 | >system>ported>lib>perl5>VERSION>i786 |
24e8e380 | 56 | |
3fd80bd6 | 57 | =item 3 |
9a997319 JH |
58 | |
59 | Site-specific perl extensions and modules can be installed in one of | |
60 | two places. Put architecture-independent files into: | |
24e8e380 | 61 | |
10fb90aa | 62 | >system>ported>lib>perl5>site_perl>VERSION |
24e8e380 | 63 | |
050dfae0 PG |
64 | Put site-specific architecture-dependent files into one of the |
65 | following directories: | |
24e8e380 | 66 | |
10fb90aa | 67 | >system>ported>lib>perl5>site_perl>VERSION>i786 |
24e8e380 | 68 | |
3fd80bd6 | 69 | =item 4 |
9a997319 JH |
70 | |
71 | You can examine the @INC variable from within a perl program | |
72 | to see the order in which Perl searches these directories. | |
495c5fdc | 73 | |
9a997319 JH |
74 | =back |
75 | ||
48951f7e | 76 | =head1 USING PERL IN OPENVOS |
9a997319 | 77 | |
48951f7e | 78 | =head2 Restrictions of Perl on OpenVOS |
495c5fdc | 79 | |
48951f7e PG |
80 | This port of Perl version 5 prefers Unix-style, slash-separated |
81 | pathnames over OpenVOS-style greater-than-separated pathnames. | |
82 | OpenVOS-style pathnames should work in most contexts, but if you have | |
83 | trouble, replace all greater-than characters by slash characters. | |
84 | Because the slash character is used as a pathname delimiter, Perl | |
85 | cannot process OpenVOS pathnames containing a slash character in a | |
86 | directory or file name; these must be renamed. | |
495c5fdc | 87 | |
24e8e380 GS |
88 | This port of Perl also uses Unix-epoch date values internally. |
89 | As long as you are dealing with ASCII character string | |
90 | representations of dates, this should not be an issue. The | |
91 | supported epoch is January 1, 1980 to January 17, 2038. | |
495c5fdc | 92 | |
48951f7e | 93 | See the file pod/perlport.pod for more information about the OpenVOS |
24e8e380 | 94 | port of Perl. |
495c5fdc | 95 | |
11d33b1d PG |
96 | =head1 TEST STATUS |
97 | ||
48951f7e PG |
98 | A number of the perl self-tests fails for various reasons; generally |
99 | these are minor and due to subtle differences between common | |
100 | POSIX-based environments and the OpenVOS POSIX environment. Ensure | |
101 | that you conduct sufficient testing of your code to guarantee that it | |
102 | works properly in the OpenVOS environment. | |
11d33b1d | 103 | |
9a997319 | 104 | =head1 SUPPORT STATUS |
495c5fdc | 105 | |
495c5fdc | 106 | I'm offering this port "as is". You can ask me questions, but I |
5b8c1387 | 107 | can't guarantee I'll be able to answer them. There are some |
24e8e380 GS |
108 | excellent books available on the Perl language; consult a book |
109 | seller. | |
495c5fdc | 110 | |
48951f7e PG |
111 | If you want a supported version of perl for OpenVOS, purchase the |
112 | OpenVOS GNU Tools product from Stratus Technologies, along with a | |
113 | support contract (or from anyone else who will sell you support). | |
050dfae0 | 114 | |
9a997319 JH |
115 | =head1 AUTHOR |
116 | ||
4f3de37c | 117 | Paul Green (Paul.Green@stratus.com) |
9a997319 JH |
118 | |
119 | =head1 LAST UPDATE | |
120 | ||
48951f7e | 121 | February 28, 2013 |
9a997319 JH |
122 | |
123 | =cut |