1PERLBEOS(1) Perl Programmers Reference Guide PERLBEOS(1)
2
3
4
6 README.beos - Perl version 5.8+ on BeOS
7
9 This file contains instructions how to build Perl under BeOS and lists
10 known problems.
11
13 Requirements
14
15 I have built and tested Perl 5.8.6 and 5.9.1 under BeOS R5 x86 net
16 server. I can't say anything with regard to PPC. Since Perl 5.8.0 had
17 been released for BeOS BONE, I suspect, there is a good chance, that it
18 still compiles on a BONE system. The only change I've made, that
19 affects BONE systems is the recognition of whether it is a BONE system
20 or not in "hints/beos.sh". Now network socket support should remain
21 enabled on BONE systems. This might as well break the build, though.
22
23 As more recent versions of autoconf require flock() support, I wrote a
24 flock() emulation (flock_server) and released it on BeBits:
25
26 http://www.bebits.com/app/4030
27
28 If you want to build a Perl with flock() support, you have to install
29 this package first.
30
31 Configure
32
33 With flock() support:
34
35 CFLAGS=-I/path/to/flock/server/headers ./configure.gnu \
36 --prefix=/boot/home/config
37
38 Replace "/path/to/flock/server/headers" with the path to the directory
39 containing the "flock.h" header.
40
41 Without flock() support:
42
43 ./configure.gnu --prefix=/boot/home/config
44
45 Build
46
47 With flock() support:
48
49 make LDLOADLIBS="-lnet -lflock"
50
51 Without flock() support:
52
53 make LDLOADLIBS="-lnet"
54
55 "-lnet" is needed on net server systems only and if the compiler
56 doesn't add it automatically (Be's R5 gcc does, Oliver Tappe's gcc
57 2.95.3 does not).
58
59 Install
60
61 Install all perl files:
62
63 make install
64
65 Create a symlink for libperl:
66
67 cd ~/config/lib; ln -s perl5/5.8.6/BePC-beos/CORE/libperl.so .
68
69 Replace 5.8.6 with your respective version of Perl.
70
72 · Network socket support is disabled for BeOS R5 net server. I didn't
73 dare yet to try enabling it and see what problems occur.
74
75 · The LFS (large file support) tests ("t/op/lfs" and
76 "xt/Fcntl/t/syslfs") are disabled as seeking beyond 2 GB is broken
77 according to jhi@iki.fi who was the last one checking the BeOS port
78 and updating this file before me. Haven't checked this myself.
79
80 · The "t/io/fflush" test fails at #6. As far as I can tell, this is
81 caused by a bug in the BeOS pipes implementation that occurs when
82 starting other child processes. In the particular test case a "sys‐
83 tem("perl -e 0")" flushes the stdout pipe of another child process.
84
85 · The "ext/POSIX/t/waitpid" test fails at #1. After all child pro‐
86 cesses are gone BeOS' waitpid(-1,...) returns 0 instead of -1 (as
87 it should). No idea how to fix this.
88
90 For BeOS specifics problems feel free to mail to: Ingo Weinhold <bone‐
91 fish@cs.tu-berlin.de>
92
93 Last update: 2004-12-16
94
95
96
97perl v5.8.8 2006-01-07 PERLBEOS(1)