[issue2173] Pyton fails silently on bad locale

2008-02-26 Thread Michael Otteneder
Michael Otteneder added the comment: On my system I get different results. The error message is everything but useful. My Output: gcc -u _PyMac_Error -o python.exe \ Modules/python.o \ libpython3.0.a -ldl make: *** [sharedmods] Error 1 Tinuvi

[issue2173] Pyton fails silently on bad locale

2008-02-26 Thread Michael Otteneder
Michael Otteneder added the comment: Interestingly it fails with a different error message on Mac. The Ubuntu one is at least helpful. I get this during make(configure also runs fine) : gcc -u _PyMac_Error -o python.exe \ Modules/python.o \ libpyth

[issue2173] Pyton fails silently on bad locale

2008-02-26 Thread Facundo Batista
Facundo Batista added the comment: Same here, Ubuntu on x86 32b. Doing first a "make clean", ./configure runs ok. But then, in the "make": ... File "/home/facundo/devel/reps/python/py3k/Lib/locale.py", line 479, in setlocale return _setlocale(category, locale) locale.Error: unsupported l

[issue2173] Pyton fails silently on bad locale

2008-02-24 Thread Michael Otteneder
New submission from Michael Otteneder: Python seems to fail silently when LANG enviroment variable is set to a bad value. In Mac OS X Leopard it is set too UTF-8 for instance which does not seem to be valid. Python fails building the modules during make and the generated python.exe is unable to o