Fwd: [pylucene-dev] problems building pylucene
Andi Vajda
vajda at osafoundation.org
Thu Sep 13 08:17:07 PDT 2007
On Thu, 13 Sep 2007, Yura Smolsky wrote:
> cd lucene-java-2.2.0-549438; patch -Nup1 < ../patches.analyzers; echo ok
> patching file contrib/analyzers/src/java/org/apache/lucene/analysis/th/ThaiAnalyzer.java
> Hunk #1 FAILED at 17.
> Hunk #2 FAILED at 31.
> 2 out of 2 hunks FAILED -- saving rejects to file contrib/analyzers/src/java/org/apache/lucene/analysis/th/ThaiAnalyzer.java.rej
> patching file contrib/analyzers/src/java/org/apache/lucene/analysis/th/ThaiWordFilter.java
> Hunk #1 FAILED at 36.
> 1 out of 1 hunk FAILED -- saving rejects to file contrib/analyzers/src/java/org/apache/lucene/analysis/th/ThaiWordFilter.java.rej
> ok
>
> 3 out of 3 hunks ignored -- saving rejects to file src/java/org/apache/lucene/index/IndexFileNameFilter.java.rej
> patching file src/java/org/apache/lucene/document/AbstractField.java
> Hunk #1 FAILED at 15.
> Hunk #2 FAILED at 272.
I don't have this problem, it patches fine for me.
Are you sure your patches.analyzers file looks like this ?
http://svn.osafoundation.org/pylucene/trunk/patches.analyzers
I notice that there are ^M (Ctrl-M) characters in patches.analyzers as there
are some of the chars in the original sources too. Did you by any chance post
process the lucene sources causing them to lose their ^M chars ? (the patch
files have to match the sources).
Andi..
More information about the pylucene-dev
mailing list