[issue4581] failed to import module from lib-dynload

2008-12-07 Thread Martin v. Löwis
Changes by Martin v. Löwis <[EMAIL PROTECTED]>: -- resolution: -> works for me status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue4581] failed to import module from lib-dynload

2008-12-07 Thread Leger
Leger <[EMAIL PROTECTED]> added the comment: Ok Martin, I delete all source and /usr/lib/python3.0, restart from the tarball. I apply the patch dbm.diff (issue4581) and after : "configure --with-pydebug --with-doc-strings --enable-shared --enable-profiling --enable-ipv6 --with-threads --with-tsc

[issue4581] failed to import module from lib-dynload

2008-12-07 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: I can't reproduce this. Are you sure you didn't configure with --prefix=/usr/lib/python3.0 at some point? That would be about the only way how sys.exec_prefix could get its value? Can you start over with a clean source tree, and try reproduc

[issue4581] failed to import module from lib-dynload

2008-12-07 Thread Leger
Leger <[EMAIL PROTECTED]> added the comment: - "configure --with-pydebug --with-doc-strings --enable-shared --enable-profiling --enable-ipv6 --with-threads --with-tsc --prefix=/usr" - ">>> print(sys.exec_prefix) /usr/lib/python3.0" >>> print(sys.path) ['', '/usr/lib/python3.0', '/home/fred/pytho

[issue4581] failed to import module from lib-dynload

2008-12-07 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: How did you run configure? What is sys.exec_prefix? '/usr/lib/python3.0/lib/python3.0/lib-dynload' should not be on sys.path, but '/usr/lib/python3.0/lib-dynload' should be. -- nosy: +loewis ___

[issue4581] failed to import module from lib-dynload

2008-12-07 Thread Leger
New submission from Leger <[EMAIL PROTECTED]>: I test PY3K.final under Debian/Lenny. - Install steps "Configure, make, make test, make install don't generate errors for the modules in "lib-dynload". - "/usr/lib/python3.0/lib-dynload", contain modules (time.so, math.so, ...) - print(sys.path) =