Use full package paths in imports.
[python/dscho.git] / Misc / AtheOS-NOTES
blob8138f7ac38a64be68b1dd2dd0a7c62d32c2451fa
1 Python for AtheOS
4 Before building:
6     Make sure you have shared versions of the libraries you want to use
7     with Python. You will have to compile them yourself, or download
8     precompiled packages.
10     Recommended libraries:
12         ncurses-4.2
13         readline-4.2a
14         zlib-1.1.4
16 Build:
18     $ ./configure --prefix=/usr/python
19     $ make
21     Python is always built as a shared library, otherwise dynamic loading
22     would not work.
24 Testing:
26     $ make test
28 Install:
30     # make install
31     # pkgmanager -a /usr/python
34 AtheOS issues:
36     - large file support: due to a stdio bug in glibc/libio, access to
37         large files may not work correctly.
38         fseeko() tries to seek to a negative offset.
39         ftello() returns a negative offset, it looks like a 32->64bit
40         sign-extension issue.
41         The lowlevel functions (open, lseek, etc) are OK.
42     - sockets: AF_UNIX is defined in the C library and in Python, but
43        not implemented in the system.
44     - select: poll is available in the C library, but does not work
45       (It does not return POLLNVAL for bad fds and hangs).
46     - posix: statvfs and fstatvfs always return ENOSYS.
47     - 
48     - disabled modules:
49         - mmap: not yet implemented in AtheOS
50         - nis: broken (on an unconfigured system yp_get_default_domain()
51             returns junk instead of error)
52         - dl: dynamic loading doesn't work via dlopen()
53         - resource: getrimit and setrlimit are not yet implemented
55     - if you are getting segmentation faults, you probably are low on memory.
56         AtheOS doesn't handle very well an out-of-memory condition and
57         simply SEGVs the process.
59 Tested on:
61     AtheOS-0.3.7
62     gcc-2.95
63     binutils-2.10
64     make-3.78
68 Octavian Cerna <tavy@ylabs.com>