symbian-qemu-0.9.1-12/python-2.6.1/Misc/BeOS-NOTES
changeset 1 2fb8b9db1c86
equal deleted inserted replaced
0:ffa851df0825 1:2fb8b9db1c86
       
     1 Python for BeOS R5
       
     2 
       
     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 
       
     7 To build,
       
     8 
       
     9    1)  cp Misc/BeOS-setup.py setup.py
       
    10    2)  ./configure --prefix=/boot/home/config
       
    11    3)  make
       
    12 
       
    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 
       
    19 Test:
       
    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 
       
    37 Install:
       
    38 
       
    39    make install
       
    40 
       
    41 
       
    42 Maintainer: None (please volunteer if you would like to see this port continue
       
    43 to exist!)