1PERLQNX(1)             Perl Programmers Reference Guide             PERLQNX(1)
2
3
4

NAME

6       README.qnx - Perl version 5 on QNX
7

DESCRIPTION

9       As of perl5.7.2 all tests pass under:
10
11         QNX 4.24G
12         Watcom 10.6 with Beta/970211.wcc.update.tar.F
13         socket3r.lib Nov21 1996.
14
15       As of perl5.8.1 there is at least one test still failing.
16
17       Some tests may complain under known circumstances.
18
19       See below and hints/qnx.sh for more information.
20
21       Under QNX 6.2.0 there are still a few tests which fail.  See below and
22       hints/qnx.sh for more information.
23
24       Required Software for Compiling Perl on QNX4
25
26       As with many unix ports, this one depends on a few "standard" unix
27       utilities which are not necessarily standard for QNX4.
28
29       /bin/sh
30           This is used heavily by Configure and then by perl itself. QNX4's
31           version is fine, but Configure will choke on the 16-bit version, so
32           if you are running QNX 4.22, link /bin/sh to /bin32/ksh
33
34       ar  This is the standard unix library builder.  We use wlib. With Wat‐
35           com 10.6, when wlib is linked as "ar", it behaves like ar and all
36           is fine. Under 9.5, a cover is required. One is included in ../qnx
37
38       nm  This is used (optionally) by configure to list the contents of
39           libraries. I will generate a cover function on the fly in the UU
40           directory.
41
42       cpp Configure and perl need a way to invoke a C preprocessor. I have
43           created a simple cover for cc which does the right thing. Without
44           this, Configure will create its own wrapper which works, but it
45           doesn't handle some of the command line arguments that perl will
46           throw at it.
47
48       make
49           You really need GNU make to compile this. GNU make ships by default
50           with QNX 4.23, but you can get it from quics for earlier versions.
51
52       Outstanding Issues with Perl on QNX4
53
54       There is no support for dynamically linked libraries in QNX4.
55
56       If you wish to compile with the Socket extension, you need to have the
57       TCP/IP toolkit, and you need to make sure that -lsocket locates the
58       correct copy of socket3r.lib. Beware that the Watcom compiler ships
59       with a stub version of socket3r.lib which has very little functional‐
60       ity. Also beware the order in which wlink searches directories for
61       libraries. You may have /usr/lib/socket3r.lib pointing to the correct
62       library, but wlink may pick up /usr/watcom/10.6/usr/lib/socket3r.lib
63       instead. Make sure they both point to the correct library, that is,
64       /usr/tcptk/current/usr/lib/socket3r.lib.
65
66       The following tests may report errors under QNX4:
67
68       ext/Cwd/Cwd.t will complain if `pwd` and cwd don't give the same
69       results. cwd calls `fullpath -t`, so if you cd `fullpath -t` before
70       running the test, it will pass.
71
72       lib/File/Find/taint.t will complain if '.' is in your PATH. The PATH
73       test is triggered because cwd calls `fullpath -t`.
74
75       ext/IO/lib/IO/t/io_sock.t: Subtests 14 and 22 are skipped due to the
76       fact that the functionality to read back the non-blocking status of a
77       socket is not implemented in QNX's TCP/IP. This has been reported to
78       QNX and it may work with later versions of TCP/IP.
79
80       t/io/tell.t: Subtest 27 is failing. We are still investigating.
81
82       QNX auxiliary files
83
84       The files in the "qnx" directory are:
85
86       qnx/ar
87           A script that emulates the standard unix archive (aka library)
88           utility.  Under Watcom 10.6, ar is linked to wlib and provides the
89           expected interface. With Watcom 9.5, a cover function is required.
90           This one is fairly crude but has proved adequate for compiling
91           perl.
92
93       qnx/cpp
94           A script that provides C preprocessing functionality.  Configure
95           can generate a similar cover, but it doesn't handle all the com‐
96           mand-line options that perl throws at it. This might be reasonably
97           placed in /usr/local/bin.
98
99       Outstanding issues with perl under QNX6
100
101       The following tests are still failing for Perl 5.8.1 under QNX 6.2.0:
102
103         op/sprintf.........................FAILED at test 91
104         lib/Benchmark......................FAILED at test 26
105
106       This is due to a bug in the C library's printf routine.  printf("'%e'",
107       0. ) produces '0.000000e+0', but ANSI requires '0.000000e+00'. QNX has
108       acknowledged the bug.
109

AUTHOR

111       Norton T. Allen (allen@huarp.harvard.edu)
112
113
114
115perl v5.8.8                       2006-01-07                        PERLQNX(1)
Impressum