blob: 41f25a7f25d6ea6ef0a38bb5d2b7b20f5c625e27 [file] [log] [blame]
Fred Drake56221a72000-08-15 18:52:33 +00001Python for BeOS R5
Guido van Rossumd8eb2111998-08-04 17:57:28 +00002
Guido van Rossum13aa7062001-04-10 21:51:29 +00003In Python-2.1, the standard version of the new setup.py program
4will not build the full complement of modules on BeOS. Instead,
5please replace it with the special BeOS version in Misc/BeOS-setup.py.
6
Fred Drake60ad79f2000-10-06 16:17:21 +00007To build,
Guido van Rossumd8eb2111998-08-04 17:57:28 +00008
Guido van Rossum13aa7062001-04-10 21:51:29 +00009 1) cp Misc/BeOS-setup.py setup.py
10 2) ./configure --prefix=/boot/home/config
Fred Drake60ad79f2000-10-06 16:17:21 +000011 3) make
Guido van Rossumd8eb2111998-08-04 17:57:28 +000012
Guido van Rossum13aa7062001-04-10 21:51:29 +000013The modules will all build, except termios which assumes some flags
14we don't have. Put a libreadline.a in /boot/home/config/lib to get
15a readline.so for your interactive editing convenience; NB, not
16libreadline.so, you want to link a static readline library into the
17dynamically loaded Python module.
18
Fred Drake60ad79f2000-10-06 16:17:21 +000019Test:
Guido van Rossumfc4966b1998-12-17 18:00:33 +000020
Guido van Rossum7a5f4201999-01-12 20:30:23 +000021 make test
Guido van Rossumd8eb2111998-08-04 17:57:28 +000022
Guido van Rossum13aa7062001-04-10 21:51:29 +000023 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
Fred Drake60ad79f2000-10-06 16:17:21 +000027
Guido van Rossum13aa7062001-04-10 21:51:29 +000028 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
Fred Drake60ad79f2000-10-06 16:17:21 +000032
Guido van Rossum13aa7062001-04-10 21:51:29 +000033 - 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.
Guido van Rossumd8eb2111998-08-04 17:57:28 +000036
Fred Drake60ad79f2000-10-06 16:17:21 +000037Install:
Guido van Rossumd8eb2111998-08-04 17:57:28 +000038
Guido van Rossum7a5f4201999-01-12 20:30:23 +000039 make install
Guido van Rossumd8eb2111998-08-04 17:57:28 +000040
Neil Schemenauer6e0e91a2001-02-16 04:35:20 +000041
Fred Drake60ad79f2000-10-06 16:17:21 +000042- Donn Cave (donn@oz.net)
43 October 4, 2000