Commit | Line | Data |
---|---|---|
920dae64 AT |
1 | .\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32 |
2 | .\" | |
3 | .\" Standard preamble: | |
4 | .\" ======================================================================== | |
5 | .de Sh \" Subsection heading | |
6 | .br | |
7 | .if t .Sp | |
8 | .ne 5 | |
9 | .PP | |
10 | \fB\\$1\fR | |
11 | .PP | |
12 | .. | |
13 | .de Sp \" Vertical space (when we can't use .PP) | |
14 | .if t .sp .5v | |
15 | .if n .sp | |
16 | .. | |
17 | .de Vb \" Begin verbatim text | |
18 | .ft CW | |
19 | .nf | |
20 | .ne \\$1 | |
21 | .. | |
22 | .de Ve \" End verbatim text | |
23 | .ft R | |
24 | .fi | |
25 | .. | |
26 | .\" Set up some character translations and predefined strings. \*(-- will | |
27 | .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left | |
28 | .\" double quote, and \*(R" will give a right double quote. | will give a | |
29 | .\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to | |
30 | .\" do unbreakable dashes and therefore won't be available. \*(C` and \*(C' | |
31 | .\" expand to `' in nroff, nothing in troff, for use with C<>. | |
32 | .tr \(*W-|\(bv\*(Tr | |
33 | .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' | |
34 | .ie n \{\ | |
35 | . ds -- \(*W- | |
36 | . ds PI pi | |
37 | . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch | |
38 | . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch | |
39 | . ds L" "" | |
40 | . ds R" "" | |
41 | . ds C` "" | |
42 | . ds C' "" | |
43 | 'br\} | |
44 | .el\{\ | |
45 | . ds -- \|\(em\| | |
46 | . ds PI \(*p | |
47 | . ds L" `` | |
48 | . ds R" '' | |
49 | 'br\} | |
50 | .\" | |
51 | .\" If the F register is turned on, we'll generate index entries on stderr for | |
52 | .\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index | |
53 | .\" entries marked with X<> in POD. Of course, you'll have to process the | |
54 | .\" output yourself in some meaningful fashion. | |
55 | .if \nF \{\ | |
56 | . de IX | |
57 | . tm Index:\\$1\t\\n%\t"\\$2" | |
58 | .. | |
59 | . nr % 0 | |
60 | . rr F | |
61 | .\} | |
62 | .\" | |
63 | .\" For nroff, turn off justification. Always turn off hyphenation; it makes | |
64 | .\" way too many mistakes in technical documents. | |
65 | .hy 0 | |
66 | .if n .na | |
67 | .\" | |
68 | .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). | |
69 | .\" Fear. Run. Save yourself. No user-serviceable parts. | |
70 | . \" fudge factors for nroff and troff | |
71 | .if n \{\ | |
72 | . ds #H 0 | |
73 | . ds #V .8m | |
74 | . ds #F .3m | |
75 | . ds #[ \f1 | |
76 | . ds #] \fP | |
77 | .\} | |
78 | .if t \{\ | |
79 | . ds #H ((1u-(\\\\n(.fu%2u))*.13m) | |
80 | . ds #V .6m | |
81 | . ds #F 0 | |
82 | . ds #[ \& | |
83 | . ds #] \& | |
84 | .\} | |
85 | . \" simple accents for nroff and troff | |
86 | .if n \{\ | |
87 | . ds ' \& | |
88 | . ds ` \& | |
89 | . ds ^ \& | |
90 | . ds , \& | |
91 | . ds ~ ~ | |
92 | . ds / | |
93 | .\} | |
94 | .if t \{\ | |
95 | . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" | |
96 | . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' | |
97 | . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' | |
98 | . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' | |
99 | . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' | |
100 | . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' | |
101 | .\} | |
102 | . \" troff and (daisy-wheel) nroff accents | |
103 | .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' | |
104 | .ds 8 \h'\*(#H'\(*b\h'-\*(#H' | |
105 | .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] | |
106 | .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' | |
107 | .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' | |
108 | .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] | |
109 | .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] | |
110 | .ds ae a\h'-(\w'a'u*4/10)'e | |
111 | .ds Ae A\h'-(\w'A'u*4/10)'E | |
112 | . \" corrections for vroff | |
113 | .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' | |
114 | .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' | |
115 | . \" for low resolution devices (crt and lpr) | |
116 | .if \n(.H>23 .if \n(.V>19 \ | |
117 | \{\ | |
118 | . ds : e | |
119 | . ds 8 ss | |
120 | . ds o a | |
121 | . ds d- d\h'-1'\(ga | |
122 | . ds D- D\h'-1'\(hy | |
123 | . ds th \o'bp' | |
124 | . ds Th \o'LP' | |
125 | . ds ae ae | |
126 | . ds Ae AE | |
127 | .\} | |
128 | .rm #[ #] #H #V #F C | |
129 | .\" ======================================================================== | |
130 | .\" | |
131 | .IX Title "PERLQNX 1" | |
132 | .TH PERLQNX 1 "2006-01-07" "perl v5.8.8" "Perl Programmers Reference Guide" | |
133 | .SH "NAME" | |
134 | README.qnx \- Perl version 5 on QNX | |
135 | .SH "DESCRIPTION" | |
136 | .IX Header "DESCRIPTION" | |
137 | As of perl5.7.2 all tests pass under: | |
138 | .PP | |
139 | .Vb 3 | |
140 | \& QNX 4.24G | |
141 | \& Watcom 10.6 with Beta/970211.wcc.update.tar.F | |
142 | \& socket3r.lib Nov21 1996. | |
143 | .Ve | |
144 | .PP | |
145 | As of perl5.8.1 there is at least one test still failing. | |
146 | .PP | |
147 | Some tests may complain under known circumstances. | |
148 | .PP | |
149 | See below and hints/qnx.sh for more information. | |
150 | .PP | |
151 | Under \s-1QNX\s0 6.2.0 there are still a few tests which fail. | |
152 | See below and hints/qnx.sh for more information. | |
153 | .Sh "Required Software for Compiling Perl on \s-1QNX4\s0" | |
154 | .IX Subsection "Required Software for Compiling Perl on QNX4" | |
155 | As with many unix ports, this one depends on a few \*(L"standard\*(R" | |
156 | unix utilities which are not necessarily standard for \s-1QNX4\s0. | |
157 | .IP "/bin/sh" 4 | |
158 | .IX Item "/bin/sh" | |
159 | This is used heavily by Configure and then by | |
160 | perl itself. \s-1QNX4\s0's version is fine, but Configure | |
161 | will choke on the 16\-bit version, so if you are | |
162 | running \s-1QNX\s0 4.22, link /bin/sh to /bin32/ksh | |
163 | .IP "ar" 4 | |
164 | .IX Item "ar" | |
165 | This is the standard unix library builder. | |
166 | We use wlib. With Watcom 10.6, when wlib is | |
167 | linked as \*(L"ar\*(R", it behaves like ar and all is | |
168 | fine. Under 9.5, a cover is required. One is | |
169 | included in ../qnx | |
170 | .IP "nm" 4 | |
171 | .IX Item "nm" | |
172 | This is used (optionally) by configure to list | |
173 | the contents of libraries. I will generate | |
174 | a cover function on the fly in the \s-1UU\s0 directory. | |
175 | .IP "cpp" 4 | |
176 | .IX Item "cpp" | |
177 | Configure and perl need a way to invoke a C | |
178 | preprocessor. I have created a simple cover | |
179 | for cc which does the right thing. Without this, | |
180 | Configure will create its own wrapper which works, | |
181 | but it doesn't handle some of the command line arguments | |
182 | that perl will throw at it. | |
183 | .IP "make" 4 | |
184 | .IX Item "make" | |
185 | You really need \s-1GNU\s0 make to compile this. \s-1GNU\s0 make | |
186 | ships by default with \s-1QNX\s0 4.23, but you can get it | |
187 | from quics for earlier versions. | |
188 | .Sh "Outstanding Issues with Perl on \s-1QNX4\s0" | |
189 | .IX Subsection "Outstanding Issues with Perl on QNX4" | |
190 | There is no support for dynamically linked libraries in \s-1QNX4\s0. | |
191 | .PP | |
192 | If you wish to compile with the Socket extension, you need | |
193 | to have the \s-1TCP/IP\s0 toolkit, and you need to make sure that | |
194 | \&\-lsocket locates the correct copy of socket3r.lib. Beware | |
195 | that the Watcom compiler ships with a stub version of | |
196 | socket3r.lib which has very little functionality. Also | |
197 | beware the order in which wlink searches directories for | |
198 | libraries. You may have /usr/lib/socket3r.lib pointing to | |
199 | the correct library, but wlink may pick up | |
200 | /usr/watcom/10.6/usr/lib/socket3r.lib instead. Make sure | |
201 | they both point to the correct library, that is, | |
202 | /usr/tcptk/current/usr/lib/socket3r.lib. | |
203 | .PP | |
204 | The following tests may report errors under \s-1QNX4:\s0 | |
205 | .PP | |
206 | ext/Cwd/Cwd.t will complain if `pwd` and cwd don't give | |
207 | the same results. cwd calls `fullpath \-t`, so if you | |
208 | cd `fullpath \-t` before running the test, it will | |
209 | pass. | |
210 | .PP | |
211 | lib/File/Find/taint.t will complain if '.' is in your | |
212 | \&\s-1PATH\s0. The \s-1PATH\s0 test is triggered because cwd calls | |
213 | `fullpath \-t`. | |
214 | .PP | |
215 | ext/IO/lib/IO/t/io_sock.t: Subtests 14 and 22 are skipped due to | |
216 | the fact that the functionality to read back the non-blocking | |
217 | status of a socket is not implemented in \s-1QNX\s0's \s-1TCP/IP\s0. This has | |
218 | been reported to \s-1QNX\s0 and it may work with later versions of | |
219 | \&\s-1TCP/IP\s0. | |
220 | .PP | |
221 | t/io/tell.t: Subtest 27 is failing. We are still investigating. | |
222 | .Sh "\s-1QNX\s0 auxiliary files" | |
223 | .IX Subsection "QNX auxiliary files" | |
224 | The files in the \*(L"qnx\*(R" directory are: | |
225 | .IP "qnx/ar" 4 | |
226 | .IX Item "qnx/ar" | |
227 | A script that emulates the standard unix archive (aka library) | |
228 | utility. Under Watcom 10.6, ar is linked to wlib and provides the | |
229 | expected interface. With Watcom 9.5, a cover function is | |
230 | required. This one is fairly crude but has proved adequate for | |
231 | compiling perl. | |
232 | .IP "qnx/cpp" 4 | |
233 | .IX Item "qnx/cpp" | |
234 | A script that provides C preprocessing functionality. Configure can | |
235 | generate a similar cover, but it doesn't handle all the command-line | |
236 | options that perl throws at it. This might be reasonably placed in | |
237 | /usr/local/bin. | |
238 | .Sh "Outstanding issues with perl under \s-1QNX6\s0" | |
239 | .IX Subsection "Outstanding issues with perl under QNX6" | |
240 | The following tests are still failing for Perl 5.8.1 under \s-1QNX\s0 6.2.0: | |
241 | .PP | |
242 | .Vb 2 | |
243 | \& op/sprintf.........................FAILED at test 91 | |
244 | \& lib/Benchmark......................FAILED at test 26 | |
245 | .Ve | |
246 | .PP | |
247 | This is due to a bug in the C library's printf routine. | |
248 | printf(\*(L"'%e'\*(R", 0. ) produces '0.000000e+0', but \s-1ANSI\s0 requires | |
249 | \&'0.000000e+00'. \s-1QNX\s0 has acknowledged the bug. | |
250 | .SH "AUTHOR" | |
251 | .IX Header "AUTHOR" | |
252 | Norton T. Allen (allen@huarp.harvard.edu) |