[pylucene-dev] Trouble compiling PyLucene in Ubuntu Edgy
Manuel Vázquez Acosta
mva.led at gmail.com
Mon Nov 27 22:45:29 PST 2006
I have just compiled PyLucene ok... Just a few warnings.
However when I did a sudo make install, I got:
manu at pavla:~/Downloads/PyLucene-src-2.0.0-5$ sudo make install
build of release/_PyLucene.so complete
mkdir -p /usr/lib/python2.4/site-packages
install -m 644 PyLucene.py /usr/lib/python2.4/site-packages
install release/_PyLucene.so /usr/lib/python2.4/site-packages
mkdir -p /usr/lib/python2.4/site-packages/security
install -m 644 /usr/lib/gcj/security/classpath.security
/usr/lib/python2.4/site-packages/security
install: cannot stat `/usr/lib/gcj/security/classpath.security': No
such file or directory
make: *** [install] Error 1
Should I worry about it?
Also some tests didn't pass. See the attachment.
Best regards,
Manuel.
On 11/28/06, Andi Vajda <vajda at osafoundation.org> wrote:
>
> On Tue, 28 Nov 2006, Manuel Vázquez Acosta wrote:
>
> > I'm new to Lucene and PyLucene, though I have some experience with
> > Nutch. A few days ago I downloaded PyLucene-src-2.0rc1-10.tar.gz but
> > when I try to compile it I get this:
> >
> > can't find file to patch at input line 3
> > Perhaps you used the wrong -p or --strip option?
> > The text leading up to this was:
>
> This could be because the dates on the sources got changed during unpacking of
> the source archive (usually a problem on Windows with unusual tar utilities)
> or if the sources got copied without preserving their dates. If the dates are
> not the same as the dates inside the tarball, the PyLucene Makefile will get
> confused and think you're compiling from svn sources.
>
> The source tarball you're using is quite old by now. PyLucene 2.0 was released
> shortly after Lucene 2.0 was and I suggest you use one of the more recent
> source tarballs - or one of the Ubuntu binaries - available from
> http://pylucene.osafoundation.org.
>
> Andi..
>
> _______________________________________________
> pylucene-dev mailing list
> pylucene-dev at osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
>
>
>
-------------- next part --------------
find test -name 'test_*.py' | xargs -n 1 /usr/bin/python
More information about the pylucene-dev
mailing list