On Fri, Apr 28, 2006 at 06:44:42PM +0200, Stefan Manegold wrote:
RPM build errors: File not found by glob: /var/tmp/MonetDB-root/usr/share/MonetDB/lib/*jar
Can it be that you don't have Java installed on your system? Nevertheless I think this is a bug.
yes, yes, yes:
- it should also work with REHL4 on x86_64 --- ate least I don't see any reason why it should not work, provided the systems installed properly; we actually build RPMs every night on an Itanium running "Red Hat Enterprise Linux WS release 4 (Nahant Update 3)".
NB: Itanium <> x86_64, right?
- your problem looks indeed as if (a proper) java (>=1.4) is not installed or at least not found by configure (check the configure output and/or the config.log)
Right, I didn't install java on the build host (didn't know it was a dep for MonetDB)
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?
Cheers,