mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
#1675026: add a note about a strange Windows problem, and remove notes about AtheOS.
This commit is contained in:
parent
9a744c1387
commit
690362183a
1 changed files with 4 additions and 69 deletions
73
README
73
README
|
@ -647,75 +647,10 @@ Cygwin: With recent (relative to the time of writing, 2001-12-19)
|
|||
News regarding these platforms with more recent Cygwin
|
||||
versions would be appreciated!
|
||||
|
||||
AtheOS: Official support has been stopped as of Python 2.6. All code will be
|
||||
removed in Python 2.7 unless a maintainer steps forward for this
|
||||
platform.
|
||||
|
||||
From Octavian Cerna <tavy at ylabs.com>:
|
||||
|
||||
Before building:
|
||||
|
||||
Make sure you have shared versions of the libraries you
|
||||
want to use with Python. You will have to compile them
|
||||
yourself, or download precompiled packages.
|
||||
|
||||
Recommended libraries:
|
||||
|
||||
ncurses-4.2
|
||||
readline-4.2a
|
||||
zlib-1.1.4
|
||||
|
||||
Build:
|
||||
|
||||
$ ./configure --prefix=/usr/python
|
||||
$ make
|
||||
|
||||
Python is always built as a shared library, otherwise
|
||||
dynamic loading would not work.
|
||||
|
||||
Testing:
|
||||
|
||||
$ make test
|
||||
|
||||
Install:
|
||||
|
||||
# make install
|
||||
# pkgmanager -a /usr/python
|
||||
|
||||
|
||||
AtheOS issues:
|
||||
|
||||
- large file support: due to a stdio bug in glibc/libio,
|
||||
access to large files may not work correctly. fseeko()
|
||||
tries to seek to a negative offset. ftello() returns a
|
||||
negative offset, it looks like a 32->64bit
|
||||
sign-extension issue. The lowlevel functions (open,
|
||||
lseek, etc) are OK.
|
||||
- sockets: AF_UNIX is defined in the C library and in
|
||||
Python, but not implemented in the system.
|
||||
- select: poll is available in the C library, but does not
|
||||
work (It does not return POLLNVAL for bad fds and
|
||||
hangs).
|
||||
- posix: statvfs and fstatvfs always return ENOSYS.
|
||||
- disabled modules:
|
||||
- mmap: not yet implemented in AtheOS
|
||||
- nis: broken (on an unconfigured system
|
||||
yp_get_default_domain() returns junk instead of
|
||||
error)
|
||||
- dl: dynamic loading doesn't work via dlopen()
|
||||
- resource: getrimit and setrlimit are not yet
|
||||
implemented
|
||||
|
||||
- if you are getting segmentation faults, you probably are
|
||||
low on memory. AtheOS doesn't handle very well an
|
||||
out-of-memory condition and simply SEGVs the process.
|
||||
|
||||
Tested on:
|
||||
|
||||
AtheOS-0.3.7
|
||||
gcc-2.95
|
||||
binutils-2.10
|
||||
make-3.78
|
||||
Windows: When executing Python scripts on the command line using file type
|
||||
associations (i.e. starting "script.py" instead of "python script.py"),
|
||||
redirects may not work unless you set a specific registry key. See
|
||||
the Knowledge Base article <http://support.microsoft.com/kb/321788>.
|
||||
|
||||
|
||||
Configuring the bsddb and dbm modules
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue