Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Oct 2003 17:30:24 -0500
From:      Christopher Rued <c.rued@xsb.com>
To:        Greg Lewis <glewis@eyesbeyond.com>
Cc:        freebsd-java@freebsd.org
Subject:   Re: Assertion failure while compiling jdk14
Message-ID:  <3FA19100.2080001@xsb.com>
In-Reply-To: <20031030203556.GA41868@misty.eyesbeyond.com>
References:  <3FA13C93.8010105@xsb.com> <1067532264.27956.27.camel@dyn231.iacc-tm4.ndsu.nodak.edu> <3FA1456B.8080404@xsb.com> <20031030172034.GB40447@misty.eyesbeyond.com> <3FA14A17.3000908@xsb.com> <3FA14F85.8060205@xsb.com> <20031030203556.GA41868@misty.eyesbeyond.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Greg Lewis wrote:

>Look at j2se/make/common/Defs.gmk.  It currently contains the patch to
>set javah_g to javah on BSD.  Try adding a similar thing for the JAVAC
>variable.
>
I did what you said (here's a patch showing what I changed):

--- j2se/make/common/Defs.gmk~  Wed Oct 29 16:42:00 2003
+++ j2se/make/common/Defs.gmk   Thu Oct 30 16:41:03 2003
@@ -464,6 +464,7 @@
   # --phantom
   ifeq ($(PLATFORM), bsd)
     JAVAH_CMD = $(BINDIR)/javah
+    JAVAC_CMD = $(BINDIR)/javac
   endif
   RMIC         = $(BINDIR)/rmic$(SUFFIX)
 endif

And then I ran `make install` from /usr/ports/java/jdk14.  It still 
tries to use javac_g, and it still fails in exactly the same way :-(.
I didn't run make clean first, but as far as I can tell, that shouldn't 
make a difference.  I'm browing Makefiles and .gmk files right now
trying to figure out why this change didn't seem to take hold.

Does the patch look right to you?
Do I need to do a `make clean`, `make patch`, apply my patch, and *then* 
`make install`?

Thanks for your help.

--Chris




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FA19100.2080001>