Fixed issue-number mistake in NEWS update.
[python.git] / Misc / BeOS-NOTES
blobafff837bc8aba3f4fe350ea31d850ae11a684382
1 Python for BeOS R5
3 In Python-2.1, the standard version of the new setup.py program
4 will not build the full complement of modules on BeOS.  Instead,
5 please replace it with the special BeOS version in Misc/BeOS-setup.py.
7 To build,
9    1)  cp Misc/BeOS-setup.py setup.py
10    2)  ./configure --prefix=/boot/home/config
11    3)  make
13 The modules will all build, except termios which assumes some flags
14 we don't have.  Put a libreadline.a in /boot/home/config/lib to get
15 a readline.so for your interactive editing convenience;  NB, not
16 libreadline.so, you want to link a static readline library into the
17 dynamically loaded Python module.
19 Test:
21    make test
23    The BeOS is Not UNIX category:
24  - test_select crashed -- select.error : (-2147459072, 'Bad file descriptor')
25  - test_socket crashed -- exceptions.AttributeError : SOCK_RAW
26  - test_fcntl crashed -- exceptions.IOError: [Errno -2147483643] Invalid argument
28    This one is funny!  BeOS does support large files, and that's why
29        we get this error:  the file is too big for my filesystem!
30  - test_largefile crashed -- exceptions.IOError: [Errno -2147459065]
31        No space left on device
33  - test_pickle crashed.  This is apparently a serious problem, "complex"
34        number objects reconstructed from a pickle don't compare equal to
35        their ancestors.  But it happens on BeOS PPC only, not Intel.
37 Install:
39    make install
42 Maintainer: None (please volunteer if you would like to see this port continue
43 to exist!)