[pylucene-dev] building on Debian

Andi Vajda vajda at osafoundation.org
Thu Jun 24 10:44:15 PDT 2004


Thank you, your patch was integrated.

Andi..

On Thu, 24 Jun 2004, Jeff Bowden wrote:

> Took a few tries to get it to build on Debian/unstable.  Installing gcj
> and swig wasn't enough, I also needed libgcj4-dev and python-dev.  Also
> had to resolve some issue with gcj and UTF-8 encoding.
>
> diff -u Makefile.orig Makefile
>
> --- Makefile.orig       2004-06-24 08:51:22.000000000 -0700
> +++ Makefile    2004-06-24 09:05:18.000000000 -0700
> @@ -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
>
> @@ -248,8 +248,8 @@
>
>
>  $(BINDIR)/lucene.o:
> -       $(JCC) -C -d $(CLASSES) $(LUCENE_SRCS)
> -       $(JCC) $(CCFLAGS) -c -o $(BINDIR)/lucene.o $(LUCENE_SRCS)
> +       $(JCC) --encoding=UTF-8 -C -d $(CLASSES) $(LUCENE_SRCS)
> +       $(JCC) --encoding=UTF-8 $(CCFLAGS) -c -o $(BINDIR)/lucene.o
> $(LUCENE_SRCS)
>
>  $(BINDIR)/reader.java.o: java/org/osafoundation/io/PythonReader.java
>         $(JCC) -C -d $(CLASSES) java/org/osafoundation/io/PythonReader.java
>
> _______________________________________________
> pylucene-dev mailing list
> pylucene-dev at osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
>


More information about the pylucene-dev mailing list