1PERLVOS(1) Perl Programmers Reference Guide PERLVOS(1)
2
3
4
6 README.vos - Perl for Stratus VOS
7
9 This file contains notes for building perl on the Stratus VOS operating
10 system. Perl is a scripting or macro language that is popular on many
11 systems. See perlbook for a number of good books on Perl.
12
13 These are instructions for building Perl from source. Most people can
14 simply download a pre-compiled distribution from the VOS anonymous FTP
15 site. This version of Perl is not supported on VOS Release 14.2.0 or
16 earlier releases. If you are running VOS Release 14.3.0 or later,
17 download Perl from ftp://ftp.stratus.com/pub/vos/posix/ga/ga.html.
18 Instructions for unbundling the Perl distribution file are at
19 ftp://ftp.stratus.com/pub/vos/utility/utility.html.
20
21 If you are running VOS Release 14.4.1 or later, you can obtain a pre-
22 compiled, supported copy of perl by purchasing Release 2.0.1 (or later)
23 of the VOS GNU C/C++ and GNU Tools product from Stratus Technologies.
24
26 To build perl from its source code on the Stratus Continuum platform,
27 you must be have VOS Release 14.5.0 or later, the STCP product, and the
28 GNU C/C++ and GNU Tools, Release 2.0.1 or later. On the V Series
29 platform you must have VOS Release 15.0.0 or later, and any version of
30 the GNU C/C++ and GNU Tools product.
31
32 To build full perl using the supplied Configure script and makefiles,
33 change to the "vos" subdirectory and type the command
34 "compile_full_perl" or "start_process compile_full_perl". This will
35 configure, build, and test perl.
36
38 1. If you have built perl using the Configure script, ensure that you
39 have modify and default write permission to ">system>ported" and
40 all subdirectories. Then type
41
42 gmake install
43
44 2. While there are currently no architecture-specific extensions or
45 modules distributed with perl, the following directories can be
46 used to hold such files:
47
48 >system>ported>lib>perl5>5.9.0>7100
49 >system>ported>lib>perl5>5.9.0>8000
50 >system>ported>lib>perl5>5.9.0>i786
51
52 3. Site-specific perl extensions and modules can be installed in one
53 of two places. Put architecture-independent files into:
54
55 >system>ported>lib>perl5>site_perl>5.9.0
56
57 Put site-specific architecture-dependent files into one of the
58 following directories:
59
60 >system>ported>lib>perl5>site_perl>5.9.0>7100
61 >system>ported>lib>perl5>site_perl>5.9.0>8000
62 >system>ported>lib>perl5>site_perl>5.9.0>i786
63
64 4. You can examine the @INC variable from within a perl program to see
65 the order in which Perl searches these directories.
66
68 Restrictions of Perl on VOS
69 This port of Perl version 5 to VOS prefers Unix-style, slash-separated
70 pathnames over VOS-style greater-than-separated pathnames. VOS-style
71 pathnames should work in most contexts, but if you have trouble,
72 replace all greater-than characters by slash characters. Because the
73 slash character is used as a pathname delimiter, Perl cannot process
74 VOS pathnames containing a slash character in a directory or file name;
75 these must be renamed.
76
77 This port of Perl also uses Unix-epoch date values internally. As long
78 as you are dealing with ASCII character string representations of
79 dates, this should not be an issue. The supported epoch is January 1,
80 1980 to January 17, 2038.
81
82 See the file pod/perlport.pod for more information about the VOS port
83 of Perl.
84
85 Handling of underflow and overflow
86 Prior to VOS Release 14.7.0, VOS does not support automatically mapping
87 overflowed floating-point values to +infinity, nor automatically
88 mapping underflowed floating-point values to zero, unlike many other
89 platforms. The Perl pack function has been modified to perform such
90 mapping in software on VOS. Performing other floating-point
91 computations that underflow or overflow will probably result in SIGFPE.
92 Don't push your luck.
93
94 As of VOS Release 14.7.0, the VOS POSIX runtime sets up the PA-RISC and
95 IA-32 hardware floating-point status register so that the overflow and
96 underflow exceptions do not trap, but instead automatically convert the
97 result to infinity or zero, as appropriate. As of this writing, there
98 are still floating-point operations that can trap, for example,
99 subtracting two infinite values. This is recorded as suggestion
100 posix-1022, which has been fixed in VOS Release 15.2 and higher.
101
103 When Perl 5.9.0 is built using the native build process on VOS Release
104 14.7.0 and GNU C++/GNU Tools 2.0.2a, all but nine attempted tests
105 either pass or result in TODO (ignored) failures. The tests that fail
106 are:
107
108 t/io/dup, test 2 t/io/tell, test 28 t/op/pack, test 0 ext/B/t/bytecode,
109 test 1 ext/Devel/Peek/t/Peek, test 1 ext/Encode/t/enc_module, test 1
110 ext/IO/t/io_dup, test 2 lib/ExtUtils/t/MM_Unix, test 94
111 lib/Net/ing/t/450_service, test 8
112
114 I'm offering this port "as is". You can ask me questions, but I can't
115 guarantee I'll be able to answer them. There are some excellent books
116 available on the Perl language; consult a book seller.
117
118 If you want a supported version of perl for VOS, purchase the VOS GNU
119 C/C++ and GNU Tools Release 2.0.1 (or later) product from Stratus
120 Technologies, along with a support contract (or from anyone else who
121 will sell you support).
122
124 Paul Green (Paul.Green@stratus.com)
125
127 February 7, 2008
128
129
130
131perl v5.10.1 2009-02-12 PERLVOS(1)