Ned Deily added the comment:

I don't see where any problems were fixed but I've verified that with current 
default that this case works correctly if you start the tests correctly as 
"make test" does.

LD_LIBRARY_PATH=$CWD ./python -m test ...

The cgi test cases create a temporary directory, set up a symlink for python 
using the value of sys.executable, which should be ./python, and the 
LD_LIBRARY_PATH environment variable (or equivalent on the platform) is 
inherited in the test cases.  I suppose you could run into trouble *if* there 
already is a Python shared library installed in the prefix location and on the 
platform, directories in LD_LIBRARY_PATH are not searched first.  If that's the 
case, then there's little Python can do and other tests would fail.  In such a 
situation, you would either have to install first or, for test purposes, use a 
temporary value for --prefix when running configure and make a test-only build.

----------
nosy: +ned.deily
resolution:  -> works for me
stage: test needed -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5638>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to