Python 2.7 Compile

How to compile Python with static and dynamic libraries in a custom folder with UTF-16 enabled.

./configure --prefix=$HOME/usr/local --enable-shared --enable-unicode=ucs4 --with-pydebug
 
Otherwise you could get the following exception explained below:

http://docs.python.org/2.7/faq/extending.html#when-importing-module-x-why-do-i-get-undefined-symbol-pyunicodeucs2

Comentaris

Entrades populars d'aquest blog

L'Europa del S. X al S.XIX

Array of pointers in Fortran

Renda fixa