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

Dalibor Topic robilad@kaffe.org
Thu Jul 31 15:47:04 2003


Chris Halls wrote:
> An update:
> 
> I've checked in the patch that allows OOo's configure to recognise Kaffe >
> 1.1.0 to the branch that will be released shortly as 1.1rc3.  
> 
> Can anyone help with this problem?
> 
> 
>>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

This should be fixed now in the CVS. thanks for the bug report and the 
analysis. I hope this gets OOo on kaffe further. I got BerkeleyDB to 
build nicely now.

cheers,
dalibor topic