[pylucene-dev] Trouble compiling PyLucene in Ubuntu Edgy

Andi Vajda vajda at osafoundation.org
Mon Nov 27 21:31:42 PST 2006


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..


More information about the pylucene-dev mailing list