Hello,<br><br>I'd like know if someone can help me with a xapian installation. I'm on a server where I don't have root access.<br><br>I've install the wiki under $HOME/mywiki and installed xapian under $HOME/lib/python2.4/site-packages (but also under $HOME and $HOME/xapian - I know that once was enough but I was trying to debug the problem.. apparently in a bad way!). However, when I'm starting apache, I get the following error in the apache logs:<br>
<br> ERROR MoinMoin.config.multiconfig:334 xapian_search was auto-disabled because python-xapian is not installed [/home/eohwiki/lib/python2.4/site-packages/_xapian.so: undefined symbol: PyUnicodeUCS4_EncodeUTF8]<br><br>
In google, I found that this error can be because python can't find the "unicodeobject.h" file. On my system, I have it under:<br><br> /usr/include/python2.4/unicodeobject.h<br> /usr/local/include/python2.5/unicodeobject.h <br>
/usr/local/include/python2.6/unicodeobject.h <br> /usr/local/include/python3.0/unicodeobject.h<br><br>I've tried to include the 2 first paths in the moin.wsgi (sys.path.insert(0, "/usr/include/python2.4") for instance) but it didn't help. Should I set the path somewhere else?<br>
<br>In Python command line (version 2.4), I can execute:<br> import sys<br> sys.path.insert(0, "/home/USER/lib/python2.4/site-packages")<br> import xapian<br>and the import of xapian is successful.<br>
<br>When I show the page SystemInfo, I can see that Python Version is 2.5.2 and that Xapian is disabled.<br><br>I've executed "moin --config-dir=/where/your/configdir/is --wiki-url=wiki-url/ index build --mode=add" successfully and set xapian_search and xapian_stemming to True.<br>
<br>Any idea? Need any more details?<br><br>Regards,<br>Olivier<br>