[Bug 413551] Re: pylucene-2.3.1-1 can't be compiled under Ubuntu Karmic (9.10) for AMD64

vak khamenya at gmail.com
Fri Aug 14 12:26:18 UTC 2009


OK.
SOLVED manually.

1. setuptools OR distutils should be installed.

2. I just entered the jcc dir and tried:

 python setup.py build

It stopped saying that I gotta apply a patch to distootils with
instructions on the screen about how to do it. I followed them and
patched things.

now

  sudo python setup.py install

and now I've returned to the root pylucene dir and makes steps over this error point OK. 
I am waiting for result now :)


** Summary changed:

- pylucene-2.3.1-1 can't be compiled under Ubuntu Karmic (9.10) for AMD64
+ [SOLVED] pylucene-2.3.1-1 can't be compiled under Ubuntu Karmic (9.10) for AMD64

** Tags added: pylucene solution

** Description changed:

+ UPDATE: see SOLUTION below. Disclaimer: successfully checked as for pylucene-2.4.1-1 only!
  Binary package hint: pylucene
  
  make ends up with:
  
  CFLAGS="" /usr/bin/python -m jcc --jar lucene-java-2.3.1/build/lucene-core-2.3.1.jar --jar lucene-java-2.3.1/build/contrib/snowball/lucene-snowball-2.3.1.jar --jar lucene-java-2.3.1/build/contrib/highlighter/lucene-highlighter-2.3.1.jar --jar lucene-java-2.3.1/build/contrib/analyzers/lucene-analyzers-2.3.1.jar --jar lucene-java-2.3.1/build/contrib/regex/lucene-regex-2.3.1.jar --jar lucene-java-2.3.1/build/contrib/queries/lucene-queries-2.3.1.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.3.1 --files 2 --build 
  /usr/bin/python: jcc is a package and cannot be directly executed
  make: *** [compile] Error 1

-- 
[SOLVED] pylucene-2.3.1-1 can't be compiled under Ubuntu Karmic (9.10) for AMD64
https://bugs.launchpad.net/bugs/413551
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list