Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 May 2001 14:03:31 -0400 (EDT)
From:      User Ipt Ian Patrick Thomas <ipthomas_77@yahoo.com>
To:        freebsd-java@freebsd.org
Subject:   can't install jdk1.2.2
Message-ID:  <200105271804.OAA10558@scarlet.my.domain>

next in thread | raw e-mail | index | archive | help
	After having the following installed without any problems

javavmwrapper-1.1
jdk-1.1.8
jfc-1.1.1
linux_base-6.1
linux-jdk-1.2.2

	the port for jdk12-beta will still not build.  Here are the errors.

ELF binary type not known.  Use "brandelf" to brand it.
ELF binary type not known.  Use "brandelf" to brand it.

ERROR: Your ALT_BOOTDIR environment variable does not point
to a valid JDK for bootstrapping this build.
A JDK 1.2 or 1.2.x build must be bootstrapped against
a 1.2-V (or later) build. Please update your ALT_BOOTDIR
setting, or just unset it, and try again.

gmake: *** [sanity] Error 1
*** Error code 2

Stop.
*** Error code 1

Stop.

	I have checked this variable in the Makefile.  It seems to be looking in the right place.

MAKE_ENV=       HAVE_DPS="no" \
                ALT_BOOTDIR="${JDK12DIR}" \

	Here is the variable it references.

JDK12DIR?=      ${LOCALBASE}/linux-jdk${JDK_VERSION}

	Here is the path of the linuxjdk it is looking for.

/usr/local/linux-jdk1.2.2

	So I delete ALT_BOOTDIR as it advises, and the build gets further, but ...

/usr/local/java/jdk1.2/x86/bin/javac: not found
gmake[3]: *** [.compile.classlist] Error 127
gmake[3]: Leaving directory `/usr/ports/java/jdk12-beta/work/build/freebsd/java/jvm'
gmake[2]: *** [optimized] Error 2
gmake[2]: Leaving directory `/usr/ports/java/jdk12-beta/work/build/freebsd/java/jvm'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/ports/java/jdk12-beta/work/build/freebsd/java'
gmake: *** [all] Error 1
*** Error code 2

Stop.
*** Error code 1

Stop.
*** Error code 1

	I'm stumped.  I'll keep fiddling but maybe someone else has ran into this.  I'm running 3.5
Stable.

Ian
-- 
Have blue screens given you the blues, go to www.freebsd.org for the cure.

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




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