BeOS-NOTES 1.4 KB
Newer Older
1
Python for BeOS R5
2

3 4 5
In Python-2.1, the standard version of the new setup.py program
will not build the full complement of modules on BeOS.  Instead,
please replace it with the special BeOS version in Misc/BeOS-setup.py.
6

7
To build,
8

9 10
   1)  cp Misc/BeOS-setup.py setup.py
   2)  ./configure --prefix=/boot/home/config
Fred Drake's avatar
Fred Drake committed
11
   3)  make
12

13 14 15 16 17 18
The modules will all build, except termios which assumes some flags
we don't have.  Put a libreadline.a in /boot/home/config/lib to get
a readline.so for your interactive editing convenience;  NB, not
libreadline.so, you want to link a static readline library into the
dynamically loaded Python module.

Fred Drake's avatar
Fred Drake committed
19
Test:
20

21
   make test
22

23 24 25 26
   The BeOS is Not UNIX category:
 - test_select crashed -- select.error : (-2147459072, 'Bad file descriptor')
 - test_socket crashed -- exceptions.AttributeError : SOCK_RAW
 - test_fcntl crashed -- exceptions.IOError: [Errno -2147483643] Invalid argument
27

28 29 30 31
   This one is funny!  BeOS does support large files, and that's why
       we get this error:  the file is too big for my filesystem!
 - test_largefile crashed -- exceptions.IOError: [Errno -2147459065]
       No space left on device
32

33 34 35
 - test_pickle crashed.  This is apparently a serious problem, "complex"
       number objects reconstructed from a pickle don't compare equal to
       their ancestors.  But it happens on BeOS PPC only, not Intel.
36

Fred Drake's avatar
Fred Drake committed
37
Install:
38

39
   make install
40

41

Fred Drake's avatar
Fred Drake committed
42 43
- Donn Cave (donn@oz.net)
  October 4, 2000