[pylucene-dev] added support for Solaris

Andi Vajda vajda at osafoundation.org
Tue Jan 15 14:05:31 PST 2008


On Tue, 15 Jan 2008, mario alejandro wrote:

> Ok, I edit the setup.py and put this:
>
> PREFIX_PYTHON=/opt/local
> ANT=/opt/csw/bin/ant
> PYTHON=$(PREFIX_PYTHON)/bin/python
> JCC=/opt/local/lib/python2.4/site-packages/JCC-
> 1.6-py2.4-solaris-2.11-i86pc.egg/jcc/__init__.py
> NUM_FILES=1

It's high time you get help from an administrator for your machine :(

Andi..

>
> And get this:
>
> CFLAGS="" /opt/local/lib/python2.4/site-packages/JCC-
> 1.6-py2.4-solaris-2.11-i86p
> c.egg/jcc/__init__.py --jar lucene-java-2.2.0-610887/build/lucene-
> core-2.2.0-610
> 887.jar --jar lucene-java-2.2.0-610887
> /build/contrib/snowball/lucene-snowball-2.
> 2.0-610887.jar --jar lucene-java-2.2.0-610887
> /build/contrib/highlighter/lucene-h
> ighlighter-2.2.0-610887.jar --jar lucene-java-2.2.0-610887
> /build/contrib/analyze
> rs/lucene-analyzers-2.2.0-610887.jar --jar lucene-java-2.2.0-610887
> /build/contri
> b/regex/lucene-regex-2.2.0-610887.jar --jar lucene-java-2.2.0-610887
> /build/contr
> ib/queries/lucene-queries-2.2.0-610887.jar --jar build/jar/extensions.jar
> --pack
> age java.lang java.lang.System java.lang.Runtime --package java.util
> java.text.S
> impleDateFormat --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.queryPa
> rser.QueryParserTokenManager --exclude
> org.apache.lucene.queryParser.ParseExcept
> ion --python lucene --mapping org.apache.lucene.document.Document'get:(Ljava/la
> ng/String;)Ljava/lang/String;' --mapping java.util.Properties'getProperty:(Ljav
> a/lang/String;)Ljava/lang/String;' --sequence org.apache.lucene.search.Hits'len
> gth:()I' 'doc:(I)Lorg/apache/lucene/document/Document;' --version
> 2.2.0-610887 -
> -files 1 --build
> /opt/local/lib/python2.4/site-packages/JCC-1.6-py2.4-solaris-2.11-i86pc.egg
> /jcc/
> __init__.py: syntax error at line 28: `cpp.jcc' unexpected
> gmake: *** [compile] Error 2
>
> Just when I think was the final step...
> -- 
> Mario A.Montoya
> Gerente
> http://www.elmalabarista.com
>
> La mejor guía de los lugares donde estar y disfrutar
> http://www.paradondevamos.com
>


More information about the pylucene-dev mailing list