README.beos - Perl version 5 on BeOS
Notes for building Perl under BeOS.
To compile perl under BeOS R4 x86:
and hit ^C when it asks you if you want to make changes to config.sh; edit config.sh and do the following: change d_socket='define' to ='undef'; remove SDBM, Errno, and Socket from dynamic_ext= and nonxs_ext=; add '#define bool short' to x2p/a2p.h;
../Configure -S; make; make install cd ~/config/lib; ln -s 5.00502/BeOS-BePC/CORE/libperl.so .
(substitute 5.00502 with the appropriate filename)
Dynamic loading finally works! Yay! This means you can compile your own modules into perl. However, Sockets and Errno still don't work. (Hopefully, sockets will at least work by R5, if not sooner.)
I have not tested this. I rather severely doubt that dynamic loading will work. (My BeBox is in pieces right now, following a nasty disk crash.) You may have to disable dynamic loading to get the thing to compile at all. (use `./Configure` without -d, and say 'no' to 'Build a shared libperl.so'.)
If you have comments, problem reports, or even patches or bugfixes (gasp!) please email me.
28 Jan 1999 Tom Spindler firstname.lastname@example.org
The following tests fail on pre-5.8.0 Perl in BeOS Personal 5.0:
op/magic 24-26 ext/POSIX/t/sigaction 13 ext/POSIX/t/waitpid 1 lib/ExtUtils/t/Installed 9-10 25-27 29-30 33-36
None of the failures look too serious:
Disclaimer: I just installed BeOS Personal Edition 5.0 and the Developer Tools, that is the whole extent of my BeOS expertise, so please don't ask me for further help in BeOS Perl problems.