Date: Tue, 23 Jan 2001 10:01:46 +1030 From: Greg Lewis <glewis@trc.adelaide.edu.au> To: "Koster, K.J." <K.J.Koster@kpn.com> Cc: "'Alexey Tazov'" <alex@htec.kiev.ua>, "'FreeBSD Java mailing list'" <freebsd-java@FreeBSD.ORG> Subject: Re: Error while trying to build JDK 1.2.2 Message-ID: <20010123100146.A61739@ares.trc.adelaide.edu.au> In-Reply-To: <59063B5B4D98D311BC0D0001FA7E4522026D7B3A@l04.research.kpn.com>; from K.J.Koster@kpn.com on Mon, Jan 22, 2001 at 01:34:27PM %2B0100 References: <59063B5B4D98D311BC0D0001FA7E4522026D7B3A@l04.research.kpn.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 22, 2001 at 01:34:27PM +0100, Koster, K.J. wrote: > > > > Linux emu is enabled. > > > > > > > What's the output of "/usr/local/linux-jdk1.2.2/bin/java > > > -version"? > > > > --- Begin --- > > > > ./java: /usr/bin/expr: not found > > ./java: /usr/bin/expr: not found The linux jdk hasn't been installed using the port. If it had, then the patch: --- bin/.java_wrapper.orig Mon Dec 6 14:12:44 1999 +++ bin/.java_wrapper Sat Jan 29 14:20:21 2000 @@ -32,8 +32,8 @@ # Resolve symlinks. See 4152645. while [ -L "$PRG" ]; do ls=`/bin/ls -ld "$PRG"` - link=`/usr/bin/expr "$ls" : '.*-> \(.*\)$'` - if /usr/bin/expr "$link" : '/' > /dev/null; then + link=`/compat/linux/usr/bin/expr "$ls" : '.*-> \(.*\)$'` + if /compat/linux/usr/bin/expr "$link" : '/' > /dev/null; then PRG="$link" else PRG="`/usr/bin/dirname $PRG`/$link" @@ -65,7 +65,7 @@ # Select vm type (if classic vm, also select thread type). unset vmtype unset ttype -DEFAULT_THREADS_FLAG=native +DEFAULT_THREADS_FLAG=green if [ "x$1" = "x-hotspot" ]; then vmtype=hotspot ttype=native_threads would have been applied and these messages wouldn't have been showing up. - Greg 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?20010123100146.A61739>