[kaffe] Re: [tools-dev] Re: using kaffe instead of JDK to build open office
Dalibor Topic
robilad@kaffe.org
Fri Aug 1 01:53:02 2003
Chris Halls wrote:
> 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.
I guess even building a Java-less OOo with kaffe would be a good start :)
> 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
Fixed in kaffe's CVS head, I've built berkeley db and run it
successfully. Thanks for the bug report, keep'em coming :)
cheers,
dalibor topic