On Sep 19, 2012, at 8:20, Mohamed Lrhazi <ml...@georgetown.edu> wrote:
> to make sure, I just re-unpacked the tarball and rerun: > > ml623@cab2b:~/tmp/pylucene-3.6.1-2/ > ANT=/opt/ant/bin/ant make Did you follow the instructions at the top of the Makefile ? Andi.. > > and got the same error. > > Any idea what could be causing this? > > Thanks a lot, > Mohamed. > > On Tue, Sep 18, 2012 at 6:39 PM, Andi Vajda <va...@apache.org> wrote: >> >> On Tue, 18 Sep 2012, Mohamed Lrhazi wrote: >> >>> Hello, >>> >>> I am trying to build pylucene on a redhat ent 6.1. the make fails with >>> an error pasted bellow. >>> >>> Any hints appreciated. >> >> >> Your Makefile seems to be broken in a way that --jar somewhere became just >> jar and it's downhill from there. >> jar lucene-java-3.6.1/lucene/build/core/lucene-core-3.6.1.jar --jar >> >> Andi.. >> >> >>> >>> Thanks a lot, >>> Mohamed. >>> >>> >>> cd lucene-java-3.6.1/lucene; (/opt/ant/bin/ant ivy-fail || >>> /opt/ant/bin/ant ivy-bootstrap) >>> Buildfile: /home/ml623/pylucene-3.6.1-2/lucene-java-3.6.1/lucene/build.xml >>> >>> ivy-fail: >>> >>> BUILD SUCCESSFUL >>> Total time: 0 seconds >>> ICU not installed >>> jar lucene-java-3.6.1/lucene/build/core/lucene-core-3.6.1.jar --jar >>> >>> lucene-java-3.6.1/lucene/build/contrib/analyzers/common/lucene-analyzers-3.6.1.jar >>> --jar >>> lucene-java-3.6.1/lucene/build/contrib/memory/lucene-memory-3.6.1.jar >>> --jar >>> lucene-java-3.6.1/lucene/build/contrib/highlighter/lucene-highlighter >>> -3.6.1.jar --jar build/jar/extensions.jar --jar >>> lucene-java-3.6.1/lucene/build/contrib/queries/lucene-queries-3.6.1.jar >>> --jar lucene-java-3.6.1/lucene/ >>> build/contrib/grouping/lucene-grouping-3.6.1.jar --jar >>> lucene-java-3.6.1/lucene/build/contrib/join/lucene-join-3.6.1.jar >>> --jar lucene-java-3.6.1/lucene >>> /build/contrib/facet/lucene-facet-3.6.1.jar --jar >>> >>> lucene-java-3.6.1/lucene/build/contrib/spellchecker/lucene-spellchecker-3.6.1.jar >>> --package java.lan >>> g java.lang.System java.lang.Runtime java.lang.IllegalStateException >>> java.lang.IndexOutOfBoundsException --package java.util >>> java.util.Arrays java.util >>> .HashMap java.util.HashSet java.util.NoSuchElementException >>> java.text.SimpleDateFormat java.text.DecimalFormat java.text.Collator >>> --package java.util.regex --package java.io java.io.StringReader >>> java.io.InputStreamReader java.io.FileInputStream --exclude >>> org.apache.lucene.queryParser.Token --exclude >>> org.apache.lucene.queryParser.TokenMgrError --exclude >>> org.apache.lucene.queryParser.QueryParserTokenManager --exclude >>> org.apache.lucene.queryParser.ParseException --exclude >>> org.apache.lucene.queryParser.CharStream --exclude >>> org.apache.lucene.search.regex.JakartaRegexpCapabilities --exclude >>> org.apache.regexp.RegexpTunnel --exclude >>> org.apache.lucene.analysis.cn.smart.AnalyzerProfile --python lucene >>> --mapping org.apache.lucene.document.Document >>> 'get:(Ljava/lang/String;)Ljava/lang/String;' --mapping >>> java.util.Properties >>> 'getProperty:(Ljava/lang/String;)Ljava/lang/String;' --sequence >>> java.util.AbstractList 'size:()I' 'get:(I)Ljava/lang/Object;' --rename >>> org.apache.lucene.search.highlight.SpanScorer=HighlighterSpanScorer >>> --rename org.apache.lucene.search.highlight.Scorer=HighlighterScorer >>> --rename org.apache.lucene.search.spell.Dictionary=SpellDictionary >>> --rename org.apache.lucene.search.suggest.fst.Sort=SuggestSort >>> --rename org.apache.lucene.store.DataInput=StoreDataInput --rename >>> org.apache.lucene.store.DataOutput=StoreDataOutput --rename >>> org.tartarus.snowball.ext.DutchStemmer=DutchPorterStemmer --rename >>> org.tartarus.snowball.ext.FrenchStemmer=FrenchPorterStemmer --rename >>> org.tartarus.snowball.ext.GermanStemmer=GermanPorterStemmer --rename >>> org.tartarus.snowball.ext.PortugueseStemmer=PortuguesePorterStemmer >>> --version 3.6.1 --module python/collections.py --module >>> python/ICUNormalizer2Filter.py --module python/ICUFoldingFilter.py >>> --module python/ICUTransformFilter.py --files --build >>> Illegal option: l >>> Usage: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] >>> [-C dir] files ... >>> Options: >>> -c create new archive >>> -t list table of contents for archive >>> ... >>> >>