[pylucene-dev] added support for Solaris

mario alejandro mamcx at elmalabarista.com
Tue Jan 15 13:57:48 PST 2008


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

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osafoundation.org/pipermail/pylucene-dev/attachments/20080115/8dd52ce3/attachment.html


More information about the pylucene-dev mailing list