1Python for BeOS R5 2 3In 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 7To build, 8 9 1) cp Misc/BeOS-setup.py setup.py 10 2) ./configure --prefix=/boot/home/config 11 3) make 12 13The 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 19Test: 20 21 make test 22 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 27 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 32 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. 36 37Install: 38 39 make install 40 41 42Maintainer: None (please volunteer if you would like to see this port continue 43to exist!) 44