[kaffe] kaffe on NetBSD
Milos Negovanovic
milosn@xtra.co.nz
Sat Jun 7 14:11:01 2003
--=-l1NJU1sfnOL3uvAJ7kNA
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
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
--=-l1NJU1sfnOL3uvAJ7kNA
Content-Disposition: attachment; filename=Makefile.am.diff
Content-Type: text/plain; name=Makefile.am.diff; charset=646
Content-Transfer-Encoding: 7bit
--- 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)
--=-l1NJU1sfnOL3uvAJ7kNA--