I think it's because of some GCJ quirks that I'm unfamliar with - it looks like I'm not linking to regex.jar.o properly (i think).
[EMAIL PROTECTED] :~/dev/PyLucene-src-2.0rc1-1$ python test/test_PyLucene.py
Traceback (most recent call last):
File "test/test_PyLucene.py", line 27, in ?
from PyLucene import *
File "/usr/lib/python2.4/site-packages/PyLucene.py", line 33, in ?
from _PyLucene import *
ImportError: /usr/lib/python2.4/site-packages/_PyLucene.so: undefined symbol: _ZGAN3org6apache6lucene6search5regex23PythonRegexCapabilities8finalizeEv
Ideas?
vic
On 3/29/06, Andi Vajda <[EMAIL PROTECTED]> wrote:
As of release 2.0, on the PyLucene development trunk, SWIG is no longer used.
Instead, the Python object wrappers are implemented by hand using the Python C
type system.
I uploaded a new PyLucene 2.0rc1-1 source tarball to:
http://downloads.osafoundation.org/PyLucene/src/PyLucene-src-2.0rc1-1.tar.gz
The handwritten wrappers represent about 20,000 lines of C++ code, a lot of
boilerplate. Although macros are heavily used, the rather repetitive nature of
this code makes it easy to make copy/paste mistakes along the way.
All PyLucene unit tests and samples are passing but I expect typos and
mistakes to still be lurking. If you find something wrong, it'll most likely
crash or report an InvalidArgsError that should be trivial to fix by following
the general argument passing patterns used with parseArg() and parseArgs().
Please report these bugs and/or submit patches to fix them.
I also removed a number of Java Lucene deprecated methods as this is the main
purpose of the upcoming Java Lucene 2.0 release. I had to fix many unit tests
and samples along the way. Most of the changes had to do with using the new
Field() creation APIs and the new BooleanQuery clause adding APIs.
Andi..
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
--
"Never attribute to malice that which can be adequately explained by stupidity." - Hanlon's Razor
_______________________________________________ pylucene-dev mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
