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

Andi Vajda vajda at osafoundation.org
Sat Jan 19 14:36:51 PST 2008


From the error message, it looks like there is something strange in the file 
named /usr/lib/python2.4/site-packages/JCC-1.6-py2.4-solaris-2.11-i86pc.egg/jcc/__init__.py

Can you paste it in here ?
Could it be an issue of line endings ?

The other error about mtime is suspicious too. It could mean that you have 
clock skew and that you have an mtime that is anterior to creation time.
Again, getting help from an administrator to debug this would be a smart 
move.

Andi..

On Sat, 19 Jan 2008, mario alejandro wrote:

> 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
>


More information about the pylucene-dev mailing list