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

NAME

6       perlbeos - Perl version 5.8+ on BeOS
7

DESCRIPTION

9       This file contains instructions how to build Perl under BeOS and lists
10       known problems.
11

BUILD AND INSTALL

13   Requirements
14       I have built and tested Perl 5.8.6 and 5.9.1 under BeOS R5 x86 net
15       server.  I can't say anything with regard to PPC. Since Perl 5.8.0 had
16       been released for BeOS BONE, I suspect, there is a good chance, that it
17       still compiles on a BONE system. The only change I've made, that
18       affects BONE systems is the recognition of whether it is a BONE system
19       or not in hints/beos.sh. Now network socket support should remain
20       enabled on BONE systems. This might as well break the build, though.
21
22       As more recent versions of autoconf require flock() support, I wrote a
23       flock() emulation (flock_server) and released it on BeBits:
24
25               http://www.bebits.com/app/4030
26
27       If you want to build a Perl with flock() support, you have to install
28       this package first.
29
30   Configure
31       With flock() support:
32
33               CFLAGS=-I/path/to/flock/server/headers ./configure.gnu \
34                       --prefix=/boot/home/config
35
36       Replace "/path/to/flock/server/headers" with the path to the directory
37       containing the "flock.h" header.
38
39       Without flock() support:
40
41               ./configure.gnu --prefix=/boot/home/config
42
43   Build
44       With flock() support:
45
46               make LDLOADLIBS="-lnet -lflock"
47
48       Without flock() support:
49
50               make LDLOADLIBS="-lnet"
51
52       "-lnet" is needed on net server systems only and if the compiler
53       doesn't add it automatically (Be's R5 gcc does, Oliver Tappe's gcc
54       2.95.3 does not).
55
56   Install
57       Install all perl files:
58
59               make install
60
61       Create a symlink for libperl:
62
63               cd ~/config/lib; ln -s perl5/5.8.6/BePC-beos/CORE/libperl.so .
64
65       Replace 5.8.6 with your respective version of Perl.
66

KNOWN PROBLEMS

68       ·   Network socket support is disabled for BeOS R5 net server. I didn't
69           dare yet to try enabling it and see what problems occur.
70
71       ·   The LFS (large file support) tests (t/op/lfs and xt/Fcntl/t/syslfs)
72           are disabled as seeking beyond 2 GB is broken according to
73           jhi@iki.fi who was the last one checking the BeOS port and updating
74           this file before me. Haven't checked this myself.
75
76       ·   The t/io/fflush test fails at #6. As far as I can tell, this is
77           caused by a bug in the BeOS pipes implementation that occurs when
78           starting other child processes. In the particular test case a
79           "system("perl -e 0")" flushes the stdout pipe of another child
80           process.
81
82       ·   The ext/POSIX/t/waitpid test fails at #1. After all child processes
83           are gone BeOS' waitpid(-1,...) returns 0 instead of -1 (as it
84           should). No idea how to fix this.
85

CONTACT

87       For BeOS specifics problems feel free to mail to: Ingo Weinhold
88       <bonefish@cs.tu-berlin.de>
89
90       Last update: 2004-12-16
91
92
93
94perl v5.16.3                      2013-03-04                       PERLBEOS(1)
Impressum