[Xapian-discuss] ucs2 build of xapian?
Jason Witherspoon
jwitherspoon at rainbow.coop
Thu Dec 13 21:56:02 GMT 2007
Hey Olly--
Well, the only way I've *ever* built Xapian was for the ucs2-Python. Going down the ucs4 route, I never got to the point where I'd re-compile the Xapian Python bindings 'cause everything else went fubar first.
Recompiling everything from scratch now, on top of ucs2-Python, I get the same problem:
Traceback (most recent call last):
File "xap_indexer.py", line 4, in <module>
import xapian
File "/usr/lib/python2.5/site-packages/xapian.py", line 6, in
<module>
import _xapian
ImportError: /usr/lib/python2.5/site-packages/_xapian.so: undefined
symbol: PyUnicodeUCS4_EncodeUTF8
________________________________
From: Olly Betts [mailto:olly at survex.com]
Sent: Thu 12/13/2007 7:12 AM
To: Jason Witherspoon
Cc: Xapian Discussion
Subject: Re: [Xapian-discuss] ucs2 build of xapian?
On Tue, Dec 11, 2007 at 06:48:41PM -0800, Jason Witherspoon wrote:
> Here's the problem I run into: Xapian is compiled to work w/a Python
> that's been configured for ucs4 support (this is a manner of handling
> unicode). Won't work w/ucs2, far as I can tell.
>
> When I try recompiling my Python to work w/Xapian, it breaks my
> psycopg2, which was compiled for ucs2 support.
But have you tried recompiling Xapian's python bindings against your
UCS-2 build of Python?
Cheers,
Olly
More information about the Xapian-discuss
mailing list