> > I downloaded PyLucene 0.98 for Linux (Fedora Core 3) and was > > disappointed to see that I couldn't use the binary packages because my > > python was built with UCS4 characters and the package assumed UCS2. > > (At least, this is my theory based on the error message and the > > resulting web search.) > > Could be. I do not know what determines the size of unicode characters on > the > various builds of python but I did notice that it could vary :) > PyLucene makes no assumption in the size of unicode chars, in particular, it > > doesn't assume that it matches libgcj/java's usual 16 bit size. > The binaries for PyLucene on Linux are currently built on a Gentoo 2004.3 > system. I would not assume that they're usable anywhere else.
It seems Redhat based distributions have the Python interpreter built with UCS4 option. That means it cannot use the prebuilt PyLucene binary package directly but must be built from source. Probably a good piece of information to be captured in a FAQ. I guess the same would apply to any prebuilt Python package. Unless the module publisher release both UCS2 and UCS4 binaries, Redhat users would have to do their own build. _______________________________________________ pylucene-dev mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
