Hi Marcel,<br><br>Thank you very much for your message. Sorry if I didn't answer sooner, but I wanted to try many things before answering back.<br><br>I've tried again (and again <img goomoji="gtalk.328" style="margin: 0pt 0.2ex; vertical-align: middle;" src="cid:gtalk.328@goomoji.gmail">) what you did, which is almost what I did but I still have the same problem:<br>
<br> ERROR MoinMoin.config.multiconfig:334 xapian_search was auto-disabled because python-xapian is not installed [/home/eohwiki/lib/python2.5/_xapian.so: undefined symbol: PyUnicodeUCS4_EncodeUTF8].<br><br>It seems indeed related to the python version, which is by default 2.4 on my server, but the wiki (reinstalled it) and the wsgi are installed using 2.5.<br>
<br>When installing the xapian bindings, I can see that it is checking for the version of python and finds 2.4, but using the option <span class="mediumtext">PYTHON_LIB=$HOME/lib/python2.5</span>, it puts the xapian.py file under $HOME/bin/python2.5<span class="mediumtext">.<br>
<br>When I'm in Python2.5 and do an import xapian, I get the same error message:<br><br> >>> import xapian<br> Traceback (most recent call last):<br> File "<stdin>", line 1, in <module><br>
File "/home/eohwiki/lib/python2.5/xapian.py", line 6, in <module><br> import _xapian<br> ImportError: ./_xapian.so: undefined symbol: PyUnicodeUCS4_EncodeUTF8<br><br>When I'm in Python (therefore 2.4) and do an import xapian, it's working fine.<br>
<br></span>The command "grep Py_UNICODE_SIZE /usr/local/include/python2.5/pyconfig.h" give : #define Py_UNICODE_SIZE 2<br>The command "grep Py_UNICODE_SIZE /usr/include/python2.4/pyconfig.h" give nothing.<br>
<br>Any idea how I could install xapian-bindings using a specific version of python?<br><br>Regards,<br>Olivier<br><br><br><br>*************************************************<br>Date: Tue, 06 Jan 2009 11:42:41 +0100<br>
From: "Mail@Heavy.ch" <mail@heavy.ch><br>
Subject: Re: [Moin-user] xapian installation<br>
To: moin-user List <<a href="mailto:moin-user@lists.sourceforge.net">moin-user@lists.sourceforge.net</a>><br>
Message-ID: <496335A1.50900@heavy.ch><br>
Content-Type: text/plain; charset=ISO-8859-15<br>
<br>
Olivier Lauret schrieb:<br>
> Hello,<br>
><br>
> I'd like know if someone can help me with a xapian installation. I'm on<br>
> a server where I don't have root access.<br>
><br>
<br>
I did also a Xapian installation without root access.<br>
<br>
1. Python Installation 2.5 (but also works with 2.4) from the Source!<br>
<br>
2. xapian-core<br>
<br>
* ./configure --prefix /path/user/lib/xapian/<br>
* make<br>
* make install<br>
<br>
3. xapian-omega<br>
<br>
* ./configure --prefix /path/user/lib/xapian/<br>
XAPIAN_CONFIG=/path/user/lib/<div id=":6a" class="ArwC7c ckChnd">xapian/bin/xapian-config<br>
* make<br>
* make install<br>
<br>
4. xapian-bindings<br>
<br>
* ./configure --prefix /path/user/lib/xapian/<br>
XAPIAN_CONFIG=/path/user/lib/xapian/bin/xapian-config<br>
* make<br>
* make install<br>
<br>
btw. /path/user should be your $HOME Directory.<br>
<br>
5. MoinMoin<br>
* python setup.py install --prefix=/path/user/local<br>
<br>
Be also careful if you say Python Version is 2.5.2 running; but you<br>
installed your Xapian under $HOME/lib/python2.4/site-packages. This<br>
can't work!<br>
<br>
bye<br>
Marcel</div>