1 If you read this file _as_is_, just ignore the funny characters you see.
2 It is written in the POD format (see pod/perlpod.pod) which is specially
3 designed to be readable as is.
7 README.beos - Perl version 5 on BeOS
11 Notes for building Perl under BeOS.
13 =head2 General Issues with Perl on BeOS
15 To compile perl under BeOS R4 x86:
19 and hit ^C when it asks you if you want to make changes to config.sh;
20 edit config.sh and do the following:
21 change d_socket='define' to ='undef';
22 remove SDBM, Errno, and Socket from dynamic_ext= and nonxs_ext=;
23 add '#define bool short' to x2p/a2p.h;
25 ../Configure -S; make; make install
27 cd ~/config/lib; ln -s 5.00502/BeOS-BePC/CORE/libperl.so .
29 (substitute 5.00502 with the appropriate filename)
31 =head2 BeOS Release-specific Notes
37 Dynamic loading finally works! Yay! This means you can compile your
38 own modules into perl. However, Sockets and Errno still don't work.
39 (Hopefully, sockets will at least work by R5, if not sooner.)
43 I have not tested this. I rather severely doubt that dynamic loading
44 will work. (My BeBox is in pieces right now, following a nasty disk
45 crash.) You may have to disable dynamic loading to get the thing to
46 compile at all. (use `./Configure` without -d, and say 'no' to 'Build
47 a shared libperl.so'.)
51 =head2 Contact Information
53 If you have comments, problem reports, or even patches or bugfixes (gasp!)
60 =head2 Update 2002-05-30
62 The following tests fail on 5.8.0 Perl in BeOS Personal 5.03:
64 t/op/magic..........................FAILED at test 24
65 ext/File/Glob/t/basic...............FAILED at test 3
66 ext/POSIX/t/sigaction...............FAILED at test 13
67 ext/POSIX/t/waitpid.................FAILED at test 1
69 The reasons for the failures are as follows:
75 The op/magic failures look like something funny going on with $0 and
76 $^X that I can't now figure out: none of the generated pathnames are
77 wrong as such, they just seem to accumulate "./" prefixes and infixes
78 in ways that define logic.
82 The Glob/t/basic indicates a bug in the getpw*() functions of Perl:
83 they do not always return the correct user db entries.
87 The sigaction #13 means that signal mask doesn't get properly restored
88 if sigaction returns early.
92 The waitpid failure means that after there are no more child
93 processes, waitpid is supposed to start returning -1 (and set
94 errno to ECHILD). In BeOS, it doesn't seem to.
98 Disclaimer: I just installed BeOS Personal Edition 5.0 and the
99 Developer Tools, that is the whole extent of my BeOS expertise,
100 so please don't ask me for further help in BeOS Perl problems.