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

Discussion in 'Python' started by Wang Lei, Aug 9, 2010.

  1. Wang Lei

    Wang Lei Guest

    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
    Wang Lei, Aug 9, 2010
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Nicolas Lehuen
    Replies:
    3
    Views:
    697
    Nicolas Lehuen
    Jan 28, 2004
  2. Toon Knapen
    Replies:
    2
    Views:
    345
    Toon Knapen
    May 17, 2006
  3. Wong Wah Meng-R32813
    Replies:
    0
    Views:
    687
    Wong Wah Meng-R32813
    Sep 18, 2011
  4. Replies:
    0
    Views:
    230
  5. Replies:
    1
    Views:
    395
Loading...

Share This Page