[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#256283: pylucene build and works fine on debian



I had some troubles with gcc-3.3 but it works great now that gcc-3.4 is in unstable. Here's my diff to the Makefile. License for pylucene is MIT-ish but it includes lucene itself which is Apache License v 2.0.

Not sure how to get the attention of the right person to package this. It only needs to install two files in /usr/lib/pythonX.Y/site-packages

Index: Makefile
===================================================================
--- Makefile    (revision 80)
+++ Makefile    (working copy)
@@ -63,10 +63,10 @@
#PREFIX_DB=/usr/local/BerkeleyDB.4.2

# Linux
-#PREFIX=/usr/local
-#PREFIX_PYTHON=$(PREFIX)
-#SWIG=$(PREFIX)/bin/swig
-#GCJ_HOME=/usr/local
+PREFIX=/usr
+PREFIX_PYTHON=$(PREFIX)
+SWIG=$(PREFIX)/bin/swig
+GCJ_HOME=/usr
#DB=$(PYLUCENE)/db-$(DB_VER)
#PREFIX_DB=$(PREFIX)/BerkeleyDB.4.2

@@ -154,10 +154,10 @@
endif

CLASSES=$(BINDIR)/classes
-CC=$(GCJ_HOME)/bin/gcc
-CXX=$(GCJ_HOME)/bin/g++
-JCC=$(GCJ_HOME)/bin/gcj
-JCCH=$(GCJ_HOME)/bin/gcjh
+CC=$(GCJ_HOME)/bin/gcc-3.4
+CXX=$(GCJ_HOME)/bin/g++-3.4
+JCC=$(GCJ_HOME)/bin/gcj-3.4
+JCCH=$(GCJ_HOME)/bin/gcjh-3.4

LUCENE_SRCS=`find lucene-$(LUCENE_VER)/src/java -name '*.java' -print`




Reply to: