More cygwin news. This section is getting a bit long. Oh well.

This commit is contained in:
Michael W. Hudson 2001-12-19 19:49:58 +00:00
parent 500bd035fa
commit 1c4523f09a
1 changed files with 43 additions and 25 deletions

68
README
View File

@ -418,52 +418,70 @@ Mac OS X 10: One of the regular expression tests fails
install a symlink in /usr/local/bin/python to the executable install a symlink in /usr/local/bin/python to the executable
deep down in the framework. deep down in the framework.
Cygwin: With recent (relative to the time of writing, 2001-12-11) Cygwin: With recent (relative to the time of writing, 2001-12-19)
Cygwin installations, Python builds and passes all tests on Cygwin installations, there are problems with the interaction
NT/2000 if the _socket module is linked statically. If the of dynamic linking and fork(). This manifests itself in build
_socket module is linked dynamically (the default), then failures during the execution of setup.py.
failures can occur under certain conditions related to fork().
This is a known Cygwin problem that may be resolved by rebasing
the necessary DLLs to prevent base address conflicts.
Threads support should still be disable due to a known bug in There are two workarounds that both enable Python (albeit
Cygwin pthreads that causes test_threadedtempfile to hang. without threading support) to build and pass all tests on
NT/2000 (and most likely XP as well, though reports of testing
on XP would be appreciated).
To workaround the above, run "./configure --with-threads=no" and The workarounds:
include any other options you need (--prefix, etc.). Then in
Modules/Setup uncomment the lines: (a) the band-aid fix is to link the _socket module statically
rather than dynamically (which is the default).
To do this, run "./configure --with-threads=no" including any
other options you need (--prefix, etc.). Then in Modules/Setup
uncomment the lines:
#SSL=/usr/local/ssl #SSL=/usr/local/ssl
#_socket socketmodule.c \ #_socket socketmodule.c \
# -DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \ # -DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
# -L$(SSL)/lib -lssl -lcrypto # -L$(SSL)/lib -lssl -lcrypto
and remove "local/" from the SSL variable. And finally, just and remove "local/" from the SSL variable. Finally, just run
run "make"! "make"!
The _curses module does not build. This is an known Cygwin (b) The "proper" fix is to rebase the cygwin DLLs to prevent
ncurses problem that should be resolved the next time that this base address conflicts. Details on how to do this can be
package is released. found in the following mail:
http://sources.redhat.com/ml/cygwin/2001-12/msg00894.html
It is hoped that a version of this solution will be
incorporated into the cygwin distribution fairly soon.
Two additional problems:
(1) Threading support should still be disabled due to a known
bug in Cygwin pthreads that causes test_threadedtempfile to
hang.
(2) The _curses module does not build. This is an known
Cygwin ncurses problem that should be resolved the next time
that this package is released.
On older versions of Cygwin, test_poll may hang and test_strftime On older versions of Cygwin, test_poll may hang and test_strftime
may fail. may fail.
The situation on 9X/Me/XP is not accurately known at present. The situation on 9X/Me is not accurately known at present.
However, it is expected that XP should be the same (or at least Some time ago, there were reports that the following
very similar to) NT/2000. Some time ago, there were reports that regression tests failed:
the following regression tests failed on 9X/Me:
test_pwd test_pwd
test_select (hang) test_select (hang)
test_socket test_socket
Due to the test_select hang on 9X/Me, one should run the regression Due to the test_select hang on 9X/Me, one should run the
test using the following: regression test using the following:
make TESTOPTS='-l -x test_select' test make TESTOPTS='-l -x test_select' test
News regarding these platforms with more recent Cygwin verions would News regarding these platforms with more recent Cygwin
be appreciated! versions would be appreciated!
Configuring threads Configuring threads
------------------- -------------------