Well, the PyLucene Package need exists on python path when NxLucene(it
is written in python) is restarted. Is possible install Pylucene only
for use with NxLucene, but because an convention that python modules
are installed on site-packages. I recommend you don't remove of
site-packages directory because others sotwares can share the use this
module.

Really the process for compile Pylucene is hard for now, but distros
like debian , ubuntu have packages for installation. Look at pylucene
home page for instructions if you wish.
I will try help the community with packages for debian/ubuntu and
mandriva ( distros that i use ) with least pylucene versions.
I believe that version of gcc 4.2.0 are stable for compile PyLucene
without problems and  new gcc packages are available.

the java security message at import of module can removed defining
directory named  security in the PyLucene directory and create two
files : classpath.security and libgcj.security .

Content of classpath.security:
security.provider.1=gnu.java.security.provider.Gnu

The content of libgcj.security is empty.

Try this.

Bye.


2007/7/12, Luke Miller <[EMAIL PROTECTED]>:
Hi Deigo,

Does nuxeo.luxcene require PyLucene as a module available for import in
site-packages, or just a running NXLucene server (or indeed possibly any
remote Lucene xml-rpc interface)?

I ask because here is a solution for people having trouble getting pylucene
1.9.1 compiled and NXLucene running ...
run a copy debian sarge in a virtual machine and just install the PyLucene.
I'm trying it here and have NXLucene running no probs (except for a java
security message). And the doctest in nuxeo/lucene/README.txt runs almost
fine.

Luke



On 12/07/07, Diego Manhães Pinheiro <[EMAIL PROTECTED]> wrote:
> Probally, you have the reason.
> Some gcc versions have problem when compile pylucene.
> You compiled the pylucene using what version of gcc ?
> For now i remember the gcc version 3(3.4 and 3.6 i tested ) are work
> for compile.
> I believe the gcc version 4.2 works too.
> Depending, you will must compile gcc too.
> If have troubles for compile pylucene and gcc use the instructions on
> README file on PyLucene package directory.
>
>
> Try verify this things.
>
> Anyway, I can try help you, if you need. :)
>
> Bye.
>
> 2007/7/10, Luke Miller <[EMAIL PROTECTED]>:
> > Thanks, the server seems to run now...
> >
> > However, I do get the repeated error:
> > GC Warning: Repeated allocation of very large block (appr. size 512000):
> >         May lead to memory leak and poor performance.
> >
> >  when I try running some tests. I think is something to do with how I
> > compiled PyLucene though...
> >
> > Regards,
> > Luke
> >
> >
> > On 10/07/07, Diego Manhães Pinheiro <[EMAIL PROTECTED]> wrote:
> > > Hi.
> > > You tried delete all files and directories inside of directory var and
> > restart ?
> > > Verify if this can solve this trouble.
> > >
> > > bye.
> > >
> > > 2007/7/9, Luke Miller < [EMAIL PROTECTED] >:
> > > > Hi everybody,
> > > >
> > > > I'm trying to get NXLucene running on Suse 10.1 ... I've got
PyLucene
> > 1.9.1
> > > > installed and passing tests, but now I get this error when I run
> > ./nxlucened
> > > > start
> > > >
> > > > Failed to load application: java.io.FileNotFoundException :
> > > > /home/zope/NXLucene/var/lucene-store/segments (No
such
> > file
> > > > or directory)
> > > >
> > > > The only files in lucene-stores are
> > > > segments_1
> > > > segments_gen
> > > >
> > > > Anyone know what a solution might be?
> > > > Regards,
> > > > Luke
> > > >
> > > >
> > > > _______________________________________________
> > > > cps-devel mailing list
> > > > http://lists.nuxeo.com/mailman/listinfo/cps-devel
> > > >
> > > >
> > >
> > >
> > > --
> > > -----------------------------------
> > > Diego Manhães Pinheiro
> > > Linux User #375020
> > > _______________________________________________
> > > cps-devel mailing list
> > > http://lists.nuxeo.com/mailman/listinfo/cps-devel
> > >
> >
> >
>
>
> --
> -----------------------------------
> Diego Manhães Pinheiro
> Linux User #375020
> _______________________________________________
> cps-devel mailing list
> http://lists.nuxeo.com/mailman/listinfo/cps-devel
>




--
-----------------------------------
Diego Manhães Pinheiro
Linux User #375020
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to