Thanks to Greg Kuperberg who kindly gave me access to his x86-64 machine,
PyLucene can now be built on Ubuntu 64 with gcj 4.2.0.
I uploaded the binaries I produced to:
http://downloads.osafoundation.org/PyLucene/linux/ubuntu64/
Just as is the case with Intel Mac OS X, for PyLucene to pass all tests on
Ubuntu 64, the Java Lucene files have to be compiled on Ubuntu 64 as well
sun-java5-jdk package:
first, build a recent gcj 4.2.0 snapshot
> curl -O
ftp://ftp.mirrorservice.org/sites/sources.redhat.com/pub/gcc/snapshots/4.2-20061121/gcc-4.2-20061121.tar.bz2
> mkdir gcc-4.2.0
> cd gcc-4.2.0
> tar xvzf ../gcc-4.2-20061121.tar.bz2
> mkdir build
> cd build
> ../gcc-4.2-20061121/configure --enable-threads=posix
--prefix=/usr/local/gcc-4.2.0 --enable-languages=c,c++,java --disable-multilib
> make bootstrap
> sudo make install
then:
> sudo apt-get install subversion
> sudo apt-get install ant
> sudo apt-get install sun-java5-jdk
> sudo update-java-alternatives -s java-1.5.0-sun
> svn co http://svn.osafoundation.org/pylucene/trunk PyLucene
> cd PyLucene
edit the Makefile to enable to Linux 64 configuration
> make
> sudo make install
> export LD_LIBRARY_PATH=/usr/local/lib64:$LD_LIBRARY_PATH
> make test
Andi..
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev