lucene-pylucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sujan Shakya <suzan.sha...@gmail.com>
Subject Re: [VOTE] Release PyLucene 3.0.0-1 (rc2) (nag)
Date Wed, 09 Dec 2009 04:56:39 GMT
On Wed, Dec 9, 2009 at 8:18 AM, Andi Vajda <vajda@apache.org> wrote:

>
> On Fri, 4 Dec 2009, Sujan Shakya wrote:
>
>  PyLucene 3.0.0 worked for me as well in FreeBSD 7.0. So +1 vote from my
>> side.
>>
>> But I needed to configure and change some paths.
>>
>> In jcc/setup.py, the flags I added for FreeBSD are:
>>
>> JDK = {
>> 'freebsd7': '/usr/local/diablo-jdk1.6.0',
>> }
>> INCLUDES = {'freebsd7': ['%(freebsd7)s/include' %(JDK),
>>       '%(freebsd7)s/include/freebsd' %(JDK)],
>> }
>> CFLAGS = {
>> 'freebsd7': ['-fno-strict-aliasing', '-Wno-write-strings'],
>> }
>> DEBUG_CFLAGS = {
>> 'freebsd7': ['-O0', '-g', '-DDEBUG'],
>> }
>> LFLAGS = {
>> 'freebsd7': ['-L%(freebsd7)s/jre/lib/i386' %(JDK), '-ljava',
>>       '-L%(freebsd7)s/jre/lib/i386/client' %(JDK), '-ljvm',
>>
>> '-Wl,-rpath=%(freebsd7)s/jre/lib/i386:%(freebsd7)s/jre/lib/i386/server'
>> %(JDK)],
>> }
>> JAVAC = {
>> 'freebsd7': ['javac'],
>> }
>>
>> Shared object "libverify.so", required by "libjava.so", needs to be
>> linked.
>> So, I add the following to /etc/rc.conf:
>>
>> ldconfig -m /usr/local/diablo-jdk1.6.0/jre/lib/i386/
>>
>
> Thank you for the freebsd7 changes, I added to them jcc/setup.py on trunk.
> There was a discrepancy between -rpath and -L in LFLAGS where you're using
> client in one and server in the other. I opted for client but, of course,
> that can be changed.
>
Yes I should have used client one. That was my mistake. :)

>
> About requiring libverify.so, you might be able to get away with adding it
> to the link line in LFLAGS as well so that you then don't have to play the
> ldconfig -m trick. So I added -lverify into the LFLAGS.
>
> Could you please try it out and see if you still need the ldconfig -m
> treatment ? This is checked in to trunk rev 888682.
>
Yes that worked. After adding -lverify in LFLAGS, I no longer needed
ldconfig -m treatment.

Thanks.

>
> Thanks !
>
> Andi..


/suzan
Sent from Kathmandu, Nepal

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message