On 03-05-2006 11:07:10 +0200, Henk van Lingen wrote:
Right, I didn't install java on the build host (didn't know it was a dep for MonetDB)
It should be an optional dependency.
However, now I installed java-1.4.2-gcj-compat-devel and java-1.4.2-gcj-compat. But the problems persist. After
./configure --enable-bits=64 make make dist make rpm
I have:
asclepius:src/MonetDB-4.10.2 144% grep java config.log Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=x86_64-redhat-linux configure:4068: checking for java configure:4086: found /usr/bin/java configure:4098: result: /usr/bin/java configure:4120: checking for javac configure:4138: found /usr/bin/javac configure:4150: result: /usr/bin/javac configure:4198: checking for javadoc configure:4216: found /usr/bin/javadoc configure:4228: result: /usr/bin/javadoc config.status:955: creating src/mapi/clients/java/Makefile config.status:955: creating src/mapi/examples/java/Makefile ac_cv_path_JAVA=/usr/bin/java ac_cv_path_JAVAC=/usr/bin/javac ac_cv_path_JAVADOC=/usr/bin/javadoc JAVA='/usr/bin/java' JAVAC='/usr/bin/javac' JAVADOC='/usr/bin/javadoc'
Do I really need the Sun Java?
Problem with GCJ is that it is known not to work for everything. The ant build scripts assume Sun Java 1.4 or higher. I don't know what goes wrong, or if something is built in the end, but if GCJ is able to produce a jar using the ant build scripts, it should "work" for you. Do you see any ant output during the build? On a second thought, you probably don't have ant installed. :)