Fred Drake | 56221a7 | 2000-08-15 18:52:33 +0000 | [diff] [blame] | 1 | Python for BeOS R5 |
Guido van Rossum | d8eb211 | 1998-08-04 17:57:28 +0000 | [diff] [blame] | 2 | |
Guido van Rossum | 13aa706 | 2001-04-10 21:51:29 +0000 | [diff] [blame] | 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. |
| 6 | |
Fred Drake | 60ad79f | 2000-10-06 16:17:21 +0000 | [diff] [blame] | 7 | To build, |
Guido van Rossum | d8eb211 | 1998-08-04 17:57:28 +0000 | [diff] [blame] | 8 | |
Guido van Rossum | 13aa706 | 2001-04-10 21:51:29 +0000 | [diff] [blame] | 9 | 1) cp Misc/BeOS-setup.py setup.py |
| 10 | 2) ./configure --prefix=/boot/home/config |
Fred Drake | 60ad79f | 2000-10-06 16:17:21 +0000 | [diff] [blame] | 11 | 3) make |
Guido van Rossum | d8eb211 | 1998-08-04 17:57:28 +0000 | [diff] [blame] | 12 | |
Guido van Rossum | 13aa706 | 2001-04-10 21:51:29 +0000 | [diff] [blame] | 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. |
| 18 | |
Fred Drake | 60ad79f | 2000-10-06 16:17:21 +0000 | [diff] [blame] | 19 | Test: |
Guido van Rossum | fc4966b | 1998-12-17 18:00:33 +0000 | [diff] [blame] | 20 | |
Guido van Rossum | 7a5f420 | 1999-01-12 20:30:23 +0000 | [diff] [blame] | 21 | make test |
Guido van Rossum | d8eb211 | 1998-08-04 17:57:28 +0000 | [diff] [blame] | 22 | |
Guido van Rossum | 13aa706 | 2001-04-10 21:51:29 +0000 | [diff] [blame] | 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 |
Fred Drake | 60ad79f | 2000-10-06 16:17:21 +0000 | [diff] [blame] | 27 | |
Guido van Rossum | 13aa706 | 2001-04-10 21:51:29 +0000 | [diff] [blame] | 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 |
Fred Drake | 60ad79f | 2000-10-06 16:17:21 +0000 | [diff] [blame] | 32 | |
Guido van Rossum | 13aa706 | 2001-04-10 21:51:29 +0000 | [diff] [blame] | 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. |
Guido van Rossum | d8eb211 | 1998-08-04 17:57:28 +0000 | [diff] [blame] | 36 | |
Fred Drake | 60ad79f | 2000-10-06 16:17:21 +0000 | [diff] [blame] | 37 | Install: |
Guido van Rossum | d8eb211 | 1998-08-04 17:57:28 +0000 | [diff] [blame] | 38 | |
Guido van Rossum | 7a5f420 | 1999-01-12 20:30:23 +0000 | [diff] [blame] | 39 | make install |
Guido van Rossum | d8eb211 | 1998-08-04 17:57:28 +0000 | [diff] [blame] | 40 | |
Neil Schemenauer | 6e0e91a | 2001-02-16 04:35:20 +0000 | [diff] [blame] | 41 | |
Fred Drake | 60ad79f | 2000-10-06 16:17:21 +0000 | [diff] [blame] | 42 | - Donn Cave (donn@oz.net) |
| 43 | October 4, 2000 |