[pylucene-dev] Error of syntaxis when compile on Solaris 10 with SunStudio

mario alejandro mamcx at elmalabarista.com
Sat Jan 19 14:26:42 PST 2008


This is:

bash-3.00# CC=CC gmake
CFLAGS="" /usr/lib/python2.4/site-packages/JCC-
1.6-py2.4-solaris-2.11-i86pc.egg/jcc/__init__.py --jar
lucene-java-2.2.0-610887/build/lucene-core-2.2.0-610887.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-highlighter-2.2.0-610887.jar --jar
lucene-java-2.2.0-610887/build/contrib/analyzers/lucene-
analyzers-2.2.0-610887.jar --jar lucene-java-2.2.0-610887
/build/contrib/regex/lucene-regex-2.2.0-610887.jar --jar
lucene-java-2.2.0-610887/build/contrib/queries/lucene-
queries-2.2.0-610887.jar --jar build/jar/extensions.jar --package java.lang
java.lang.System java.lang.Runtime --package java.util
java.text.SimpleDateFormat --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 --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 org.apache.lucene.search.Hits 'length:()I'
'doc:(I)Lorg/apache/lucene/document/Document;' --version
2.2.0-610887--files 1 --build
/usr/lib/python2.4/site-packages/JCC-1.6-py2.4-solaris-2.11-i86pc.egg/jcc/__init__.py:
Error sintáctico en la línea 28: `cpp.jcc' inesperado
gmake: *** [compile] Error 2


I take a look at __init.py__ at line 28:

from jcc import cpp

When run this form the interactive console:

Python 2.4.4 (#1, Dec  4 2006, 10:11:20) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> from jcc import cpp
# /usr/lib/python2.4/site-packages/JCC-1.6-py2.4-solaris-2.11-i86pc.egg/jcc/__init__.pyc
has bad mtime 1200781409 vs 1200767830


-- 
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/20080119/742cd04f/attachment.htm


More information about the pylucene-dev mailing list