Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Apr 2001 00:46:24 +0930
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Alwyn Goodloe <agoodloe@gradient.cis.upenn.edu>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: JDK1.2 build
Message-ID:  <20010405004623.A23843@misty.eyesbeyond.com>
In-Reply-To: <Pine.SOL.4.21.0104031549001.147-100000@gradient.cis.upenn.edu>; from agoodloe@gradient.cis.upenn.edu on Tue, Apr 03, 2001 at 03:53:17PM -0400
References:  <Pine.SOL.4.21.0104031549001.147-100000@gradient.cis.upenn.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 03, 2001 at 03:53:17PM -0400, Alwyn Goodloe wrote:
>   I've asked this on the questions list but no one there could resolve the
> problem so I thought I would ask it on the hackers list. 
> 
>   First note I have all the ports required.
> 
>    I've had the following problems in building the jdk:
> 
>   There were problems with ALT_BOOTDIR finding the linux jdk so I removed
> it (which the error message indicates as a fix) and things seemed to go ok
> UNTIL   I get

What do you mean, you "removed it"?  What is ALT_BOOTDIR currently pointing
to then and is it a valid JDK 1.2 installation that can run under FreeBSD?

> /usr/local/java/jdk1.2/x86/bin/javac: permission denied
> gmake[3]: *** [.compile.classlist] Error 126
> 
> (the permissions are all open so that  should be ok). Maybe its somehow
> related to the ALT_BOOTDIR but I doubt it.

Its completely related to ALT_BOOTDIR :).  The compile is trying to
execute javac from ALT_BOOTDIR/bin and is having trouble doing this.

>  I had script turned on I include the output below.
> 
>  I find this to be rather strange. I'm well into day two of staring at it
> so help is definitely needed. I considered doing the entire build by hand,
> following the instructions given online but was pinning my hopes on you
> guys before doing that.

You need a JDK to bootstrap the JDK (well, thats not strictly true, but
you need access to one somewhere).  If you've got ALT_BOOTDIR pointing at 
something which isn't a valid JDK then your compile can't work.

-- 
Greg Lewis                            Email : glewis@eyesbeyond.com
Eyes Beyond                           Mobile: 0419 868 494
Information Technology                Web   : http://www.eyesbeyond.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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