Date: Wed, 25 May 2005 23:25:02 -0600 From: Greg Lewis <glewis@eyesbeyond.com> To: "Scott I. Remick" <scott@sremick.net> Cc: freebsd-java@freebsd.org Subject: Re: OS check fails on JDK 1.4 & FreeBSD 5.4R Message-ID: <20050526052502.GA90963@misty.eyesbeyond.com> In-Reply-To: <pan.2005.05.26.03.50.59.597868@sremick.net> References: <pan.2005.05.22.18.40.12.945674@sremick.net> <200505221342.19274.vizion@vizion.occoxmail.com> <pan.2005.05.25.23.08.07.795801@sremick.net> <200505251623.55084.vizion@vizion.occoxmail.com> <pan.2005.05.26.03.50.59.597868@sremick.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 25, 2005 at 11:51:00PM -0400, Scott I. Remick wrote: > check-os: > .if !defined(SKIP_OS_TEST) > -@mkdir -p ${WRKDIR} ; \ > rm -f ${WRKDIR}/${TESTPROG} ; \ > gcc ${LINKIT} -o ${WRKDIR}/${TESTPROG} \ > ${FILESDIR}/${TESTPROG}.c > /dev/null 2>&1 > @if [ ! -f ${WRKDIR}/${TESTPROG} ] ; \ > then \ > /usr/bin/printf "\n\ > You must have a version of FreeBSD later than 4.7-STABLE\n\ > February 2003 or 5-CURRENT February 2003 to compile and\n\ > use JDK 1.4.2.\n\n" ; \ > exit 1 ; \ > fi > @${WRKDIR}/${TESTPROG} 2>/dev/null > .endif > > From that it suggests defining SKIP_OS_TEST=1 should bypass it but instead > of cheating I'd rather find out what's wrong with my system to cause the > test to fail. So, if you manually do (in the jdk14 directory) gcc -lc_r -o work/testos files/testos.c (You may need to manually create the work directory if you've done a "make clean") What happens? The only way the test can fail is if you can't compile that programme. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050526052502.GA90963>