Comment 4 for bug 86685

Revision history for this message
Antonio Censi (accensi) wrote : Re: neo_cgi.so: undefined symbol: Py_InitModule4

Probably the text below would be better to be in Tutorials section in forums, but it could be helpful to have it here in case someone hits the same bug reported here.

In order to get Trac 0.10.3 running in amd64 Feisty, I have compiled , in the traditional way (./configure, make and make install) clearsilver-0.10.4, downloaded from its site.

To get it to compile with python2.5, i had to change 1 line in configure file and another in configure.in, to add version 2.5 to the allowed python versions:
configure:6560: python_versions="2.5 2.4 2.3 2.2 2.1 2.0 1.5 24 23 22 21 20 15"

and

configure.in:250: python_versions="2.5 2.4 2.3 2.2 2.1 2.0 1.5 24 23 22 21 20 15"

Original ones do not have the 2.5 I have added.

As I have ruby installed, it was necessary too install ruby1.8-dev, to get a required mkmf util for ruby interface build:
sudo apt-get install ruby1.8-dev

I tried to disable ruby and csharp compilations in configure, but it does not worked. If you have csharp (mono), probably it will be necessary to add other packages. I do not have it installed and so the build process skipped the csharp part.

Now Trac is running ok in x86_64 Feisty, with several plugins, like it is in another x86 Feisty I have installed before.