如何将python从UCS2更改为UCS4

如何将python从UCS2更改为UCS4,python,unicode,compilation,ucs,Python,Unicode,Compilation,Ucs,我在Ubuntu12.10上安装了一个带有UCS2构建的Python2.7。我只想用UCS4重新编译python或启用UCS4。我应该怎么做?使用: ./configure --enable-unicode=ucs4 将源配置为使用UCS4支持生成 从/configure--help输出: --enable-unicode[=ucs[24]] Enable Unicode strings (default is ucs2) 是的,我读过

我在Ubuntu12.10上安装了一个带有UCS2构建的Python2.7。我只想用UCS4重新编译python或启用UCS4。我应该怎么做?

使用:

./configure --enable-unicode=ucs4
将源配置为使用UCS4支持生成

/configure--help
输出:

  --enable-unicode[=ucs[24]]
                          Enable Unicode strings (default is ucs2)

是的,我读过,但我到底在哪里输入/配置?我应该安装一个新的python版本吗?我想你已经知道如何编译包了;从源代码安装Python(使用
--prefix=/usr/local
以不干扰系统Python)或。