[kaffe] Re: using kaffe instead of JDK to build open office

Chris Halls halls at debian.org
Tue Jul 29 08:25:04 PDT 2003


On Mon, Jul 28, 2003 at 02:54:57PM +0200, Dalibor Topic wrote:
> As a quick heads up to kaffe developers: that means we're about 70% 
> there with kaffe 1.1.0. 

Uh oh, I think I mislead you :(

I meant I'm 70% of the way for the first of the categories I mentioned,
which concerns only building a Java-less OOo.  There is still a lot of work
to do on building OOo with actual Java support still.

> Since we are scheduled to release the next developer release of kaffe, 
> 1.1.1, next weekend, it will be interesting to see how well that release 
> fares for open office builds. And of course, it would be nice to see 
> Chris' patches going in into OpenOffice, unless they have been applied 
> already.

The first set I made was a bit ugly to work around the need for 'javac
-classpath' but 'java -addclasspath', which you said is fixed for 1.1.0 so
I haven't applied them until I've taken the ugly stuff out.

While we're on the subject of incompatibilities :) I wonder if it's possible
to fix this:

jni.h is in <kaffe>/include and contains these includes:
  #include "jtypes.h"
  #include "jmalloc.h"

But jtypes.h and jmalloc.h are not in the same directory - they are in
<kaffe>/include/kaffe

I saw this problem when trying to compile berkelydb:

/bin/sh ./libtool --mode=compile ccache gcc-3.2 -c -I. -I../dist/../include -D_REENTRANT  -I/usr/lib/kaffe/include -D_GNU_SO ccache gcc-3.2 -c -I. -I../dist/../include -D_REENTRANT -I/usr/lib/kaffe/include -D_GNU_SOURCE ../dist/../libdb_java/java_Db 
In file included from ../libdb_java/java_Db.c:13:
 /usr/lib/kaffe/include/jni.h:18:20: jtypes.h: No such file or directory
 /usr/lib/kaffe/include/jni.h:19:21: jmalloc.h: No such file or directory

Chris




More information about the kaffe mailing list