[Python-Dev] Build errors under RH9 (original) (raw)
"Martin v. L�wis" martin@v.loewis.de
Fri, 18 Apr 2003 00:35:15 +0200
- Previous message: [Python-Dev] Build errors under RH9
- Next message: [Python-Dev] 0400058546-ID: We are glad to inform you about the changes in our website
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Gary Herron wrote:
I just upgraded my development system to RedHat 9, and now I get two compilation errors on the Python CVS tree. I'll have time to examine them tonight, but I thought I'd get a notice out now on the chance that someone else has already resolved them.
1. Compilation of tkinter comes up wit #error "unsupported Tcl configuration" The failing test was changed just yesterday, but the previous version gives the same results: In revision 1.155: #if TCLUTFMAX != 3 && !(defined(PyUNICODEWIDE) && TCLUTFMAX==6) and in revision 1.154: #if TCLUTFMAX != 3 And yet, if I remove the test, I get a (very minimally tested) working version of Tkinter, so the test should probably be modified to pass in whatever circumstances RH 9 presents.
That change is indeed intended to fix the problem. You need to configure Python with --enable-unicode=ucs4 on Redhat 9; compiling in UCS-2 support is not supported if you want Tkinter to work with the Tk provided by Redhat. Before this change, --enable-unicode=ucs4 would not work, either. Outright removing the test gives is incorrect as well.
(How to I get past the "Use of the `network' resource not enabled" result of running testsocketssl.py?)
Pass "-u network" to regrtest.
Regards, Martin
- Previous message: [Python-Dev] Build errors under RH9
- Next message: [Python-Dev] 0400058546-ID: We are glad to inform you about the changes in our website
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]