List Info

Thread: (no subject)




(no subject)
user name
2006-03-31 23:30:52
"Victor Ng" <crankycodergmail.com> said:

> I'm having some problems with getting 2.0rc1 to load
properly.
> 
> 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).
> 
> victorngmbdev1:~/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:
>
_ZGAN3org6apache6lucene6search5regex23PythonRegexCapabilitie
s8finalizeEv
> 
> Ideas?

what's your OS ?
what's your compiler version ?

I suspect you're not running what you think you're
running.

Andi..

_______________________________________________
pylucene-dev mailing list
pylucene-devosafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylu
cene-dev
(no subject)
user name
2006-04-01 05:16:04
Doh.  Sorry that my last email was pretty useless.

I'm running Ubuntu 6 (Dapper Drake) with GCC 4.1.

I basically cribbed the notes from :

http://lists.osafoundation.org/pip
ermail/pylucene-dev/2005-October/000753.html

to try to get PyLucene to compile properly.  I don't really
want to
compile GCC-3.4.4 as I'm intending on deploying PyLucene
onto quite a
few machines and I'm not really clever enough to build a
Debian
package for GCJ-3.4 .  Just out of curiousity - which
Unix/Linux do
most of the OSAF folks use?  I'd like to just use the path
of least
resistance.

vic


On 3/31/06, Andi Vajda <vajdaosafoundation.org>
wrote:
>
> "Victor Ng" <crankycodergmail.com> said:
>
> > I'm having some problems with getting 2.0rc1 to
load properly.
> >
> > 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).
> >
> > victorngmbdev1:~/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:
> >
_ZGAN3org6apache6lucene6search5regex23PythonRegexCapabilitie
s8finalizeEv
> >
> > Ideas?
>
> what's your OS ?
> what's your compiler version ?
>
> I suspect you're not running what you think you're
running.
>
> Andi..
>
> _______________________________________________
> pylucene-dev mailing list
> pylucene-devosafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/pylu
cene-dev
>


--
"Never attribute to malice that which can be
adequately explained by
stupidity."  - Hanlon's Razor
_______________________________________________
pylucene-dev mailing list
pylucene-devosafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylu
cene-dev
(no subject)
user name
2006-04-03 02:09:12
Hi Andi,

I've redone the installation of PyLucene under Ubuntu 6
Dapper Drake
by building a custom GCC-3.4.4 as per the installation docs
and then
compiling PyLucene against GCC-3.4.4.

Everything works great now, but I added an extra rpath and
rpath-link
argument for the linker so that I don't have to set the
LD_LIBRARY_PATH.  I've attached my patch to this email.

thanks for all the great work!
vic
_______________________________________________
pylucene-dev mailing list
pylucene-devosafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylu
cene-dev
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )