Message63039
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 locale setting
make: *** [sharedmods] Error 1
Full make output is attached.
The problem seems to be in the setlocale module. I compiled everything
with LANG in es_AR.UTF-8, but then executing Python again with a bad locale:
facundo@virtub:~/devel/reps/python/py3k$ LANG=UTF-8 ./python
Python 3.0a2+ (py3k:61084, Feb 26 2008, 10:12:19)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import locale
>>> locale.getpreferredencoding()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/facundo/devel/reps/python/py3k/Lib/locale.py", line 515,
in getpreferredencoding
setlocale(LC_CTYPE, "")
File "/home/facundo/devel/reps/python/py3k/Lib/locale.py", line 479,
in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
>>>
Regards, |
|
| Date |
User |
Action |
Args |
| 2008-02-26 12:19:09 | facundobatista | set | spambayes_score: 0.00289181 -> 0.0028918143 recipients:
+ facundobatista, motteneder |
| 2008-02-26 12:19:08 | facundobatista | set | spambayes_score: 0.00289181 -> 0.00289181 messageid: <[email protected]> |
| 2008-02-26 12:19:07 | facundobatista | link | issue2173 messages |
| 2008-02-26 12:19:07 | facundobatista | create | |
|