HELP! build python error with message: "unable to load the file system codec"

Wang Lei f3d27b at gmail.com
Mon Aug 9 09:38:28 EDT 2010


Hi, developers!

I get python3k from the svn repository. The revision is 83889. When
building it, i encounter this error.

--------------------
gcc -pthread   -Xlinker -export-dynamic -o python Modules/python.o
libpython3.2.a -lpthread -ldl  -lutil   -lm
XXX lineno: 1098, opcode: 32
Unable to get the locale encoding: fallback to utf-8
Fatal Python error: Py_Initialize: unable to load the file system codec
LookupError: no codec search functions registered: can't find encoding
/bin/sh: line 1: 14357 Aborted                 CC='gcc -pthread'
LDSHARED='gcc -pthread -shared' LDFLAGS=' ' OPT='-DNDEBUG -g -fwrapv
-O3 -Wall -Wstrict-prototypes' ./python -E ../python-svn-14/setup.py
build
make: *** [sharedmods] Error 134
--------------------

What does that mean? Could anyone help?

In case you want to check out the output. It is attached.


-- 
Regards,
Lei



More information about the Python-list mailing list