[kaffe] kaffe on NetBSD

Milos Negovanovic milosn at xtra.co.nz
Sat Jun 7 14:11:01 PDT 2003


Hi everyone,

after some time ive tried to build caffe on NetBSD-current again. Well
it almost compiled, just a small error regarding netbsd's cp syntax and
few missing target dirs. To avoid it i had to make change in
libraries/javalib/Makefile.am:


--- kaffe/libraries/javalib/Makefile.am 2003-06-07 13:34:58.000000000
+1200
+++ Makefile.am 2003-06-07 20:19:52.000000000 +1200
@@ -2330,8 +2330,13 @@
        cp $(PATH_TO_RT_JAR) .
 else
 jar-classes rt.jar: $(LIBDIR)/stamp
-       cp $(srcdir)/kaffe/io/ByteToCharEUC_JP.tbl
$(srcdir)/kaffe/io/CharToByteEUC_JP.t
+       mkdir $(LIBDIR)/kaffe
+       mkdir $(LIBDIR)/kaffe/io
+       cp $(srcdir)/kaffe/io/ByteToCharEUC_JP.tbl $(LIBDIR)/kaffe/io
+       cp $(srcdir)/kaffe/io/CharToByteEUC_JP.tbl $(LIBDIR)/kaffe/io
        for i in $(serialized_converters) ; do cp $(srcdir)/$$i
$(LIBDIR)/$$i ; done
+       mkdir $(LIBDIR)/gnu
+       mkdir $(LIBDIR)/gnu/regexp
        for i in $(gnu_regexp_message_bundles) ; do cp $(srcdir)/$$i
$(LIBDIR)/$$i ; don
        rm -f rt.jar
        $(JAR_CMD1)



Compile finished clean but i am not sure if this brakes something, most
of the "make check" tests fail with: 

Couldn't find or load essential class `java/lang/Object'
java.lang.ClassNotFoundException java/lang/Object

Regards
Milos
-------------- next part --------------
--- kaffe/libraries/javalib/Makefile.am	2003-06-07 13:34:58.000000000 +1200
+++ Makefile.am	2003-06-07 20:19:52.000000000 +1200
@@ -2330,8 +2330,13 @@
 	cp $(PATH_TO_RT_JAR) .
 else
 jar-classes rt.jar: $(LIBDIR)/stamp
-	cp $(srcdir)/kaffe/io/ByteToCharEUC_JP.tbl $(srcdir)/kaffe/io/CharToByteEUC_JP.tbl $(LIBDIR)/kaffe/io
+	mkdir $(LIBDIR)/kaffe
+	mkdir $(LIBDIR)/kaffe/io
+	cp $(srcdir)/kaffe/io/ByteToCharEUC_JP.tbl $(LIBDIR)/kaffe/io
+	cp $(srcdir)/kaffe/io/CharToByteEUC_JP.tbl $(LIBDIR)/kaffe/io
 	for i in $(serialized_converters) ; do cp $(srcdir)/$$i $(LIBDIR)/$$i ; done
+	mkdir $(LIBDIR)/gnu
+	mkdir $(LIBDIR)/gnu/regexp
 	for i in $(gnu_regexp_message_bundles) ; do cp $(srcdir)/$$i $(LIBDIR)/$$i ; done
 	rm -f rt.jar
 	$(JAR_CMD1)


More information about the kaffe mailing list