[MonetDB-users] RHEL 4 x86_64 RPMs
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, -- Henk van Lingen, Systems & Network Administrator (o- -+ Dept. of Computer Science, Utrecht University. /\ | phone: +31-30-2535278 v_/_ http://henk.vanlingen.net/ http://www.tuxtown.net/netiquette/
On Wed, May 03, 2006 at 11:07:10AM +0200, Henk van Lingen wrote:
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?
Yes very different (but redhat enterprice 4 shouldn't be different).
- 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)
it is for building rpms. Not for builds from source.
However, now I installed java-1.4.2-gcj-compat-devel and java-1.4.2-gcj-compat. But the problems persist. After
We also require ant to build the MonetDB java components.
Do I really need the Sun Java?
Yes (ant allready requires this). The problem is that gcj doesn't include the full sdk of java (lots of default packages/classes etc are missing). Niels
Cheers,
-- Henk van Lingen, Systems & Network Administrator (o- -+ Dept. of Computer Science, Utrecht University. /\ | phone: +31-30-2535278 v_/_ http://henk.vanlingen.net/ http://www.tuxtown.net/netiquette/
------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
-- Niels Nes, Centre for Mathematics and Computer Science (CWI) Kruislaan 413, 1098 SJ Amsterdam, The Netherlands room C0.02, phone ++31 20 592-4098, fax ++31 20 592-4312 url: http://www.cwi.nl/~niels e-mail: Niels.Nes@cwi.nl
On Wed, May 03, 2006 at 11:15:51AM +0200, Niels Nes wrote:
We also require ant to build the MonetDB java components.
Do I really need the Sun Java?
Yes (ant allready requires this). The problem is that gcj doesn't include the full sdk of java (lots of default packages/classes etc are missing).
Oke, thanx. After I build and installed the Sun Java 1.5 stuff and ant, I can build the MonetDB RPMs. Note that for building the MonetDB-SQL stuff RPMs, you not only need the MonetDB RPMs installed. (incl. MonetDB-server, configure does not complain if you only have MonetDB-devel installed). You also need python-devel, without it 'make rpms' gives: RPM build errors: File not found by glob: /var/tmp/MonetDB-SQL-root/usr/lib64/python2.3/site-packages/* make: *** [rpm] Error 1 Regards, -- Henk van Lingen, Systems & Network Administrator (o- -+ Dept. of Computer Science, Utrecht University. /\ | phone: +31-30-2535278 v_/_ http://henk.vanlingen.net/ http://www.tuxtown.net/netiquette/
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. :)
participants (3)
-
Fabian Groffen
-
Henk van Lingen
-
Niels Nes