1 $Id: README.beos,v 1.2 1998/05/02 01:55:04 dogcow Exp dogcow $
3 Notes on building perl under BeOS:
7 perl will almost compile straight out of the box with ./Configure -d, but
8 there are a few gotchas:
10 Currently, you have to edit config.sh and remove SDBM_File from the
11 dynamic_ext= and extensions= lines. SDBM_File does not build properly
12 at this time. You need to run ./Configure -S after editing config.sh.
14 In addition, with mwcc, after doing `make depend`, you need to edit
15 makefile and x2p/makefile and remove the lines that mention 'Bletch:'.
16 This is not necessary if you're using gnu cpp.
20 remove SDBM_File from config.sh
23 remove Bletch: from makefile and x2p/makefile
26 Other than that, perl should build without problems. There are some
27 technical comments in hints/beos.sh.
29 OS RELEASE-SPECIFIC NOTES
30 -------------------------
33 See R3/X86. Same bug, different form.
36 Signals are somewhat unreliable, but they can work. Use caution.
37 The POSIX module is still somewhat buggy.
40 Under R3 x86, there are some serious problems with the math routines
41 such that numbers are incorrectly printed. This causes problems with
42 modules that encode their version numbers - in particular, IO.pm will
43 probably not work properly. This should be fixed under R3.1.
45 The problem has manifested itself if you see something similar to the
46 following during the compile:
48 cc -c -I/usr/local/include -O -DVERSION=\"1.1504\" -DXS_VERSION=\"1.1499999999\" -fpic -I../.. IO.c
49 (lots of 9's are the indication of the problem.)
51 In the meantime, you can use the following workaround:
55 cc -c -I/usr/local/include -O -DVERSION=\"1.1504\" -DXS_VERSION=\"1.15\" -fpic -I../.. IO.c
59 (Substitute the correct numbers if IO has been updated.)
62 There's math problems, but of a different kind. In particular,
63 perl -e 'print (240000 - (3e4<<3))' gives a non-zero answer.
64 I'm looking into this. There is no workaround as yet. Hopefully,
65 this will be fixed in R3.1.
69 If you have comments, problem reports, or even patches or bugfixes (gasp!)