From owner-freebsd-java@FreeBSD.ORG Thu May 26 05:25:17 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C819116A41C for ; Thu, 26 May 2005 05:25:17 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B74143D49 for ; Thu, 26 May 2005 05:25:16 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id j4Q5PDsv091035; Wed, 25 May 2005 23:25:14 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id j4Q5P2wV091034; Wed, 25 May 2005 23:25:02 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 25 May 2005 23:25:02 -0600 From: Greg Lewis To: "Scott I. Remick" Message-ID: <20050526052502.GA90963@misty.eyesbeyond.com> References: <200505221342.19274.vizion@vizion.occoxmail.com> <200505251623.55084.vizion@vizion.occoxmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@freebsd.org Subject: Re: OS check fails on JDK 1.4 & FreeBSD 5.4R X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2005 05:25:17 -0000 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