From owner-freebsd-java@FreeBSD.ORG Thu May 26 03:51:59 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 9FC5516A41C for ; Thu, 26 May 2005 03:51:59 +0000 (GMT) (envelope-from freebsd-java@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA36B43D4C for ; Thu, 26 May 2005 03:51:58 +0000 (GMT) (envelope-from freebsd-java@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Db9NI-0004kO-94 for freebsd-java@freebsd.org; Thu, 26 May 2005 05:49:36 +0200 Received: from 69-171-193-20.sbtnvt.adelphia.net ([69.171.193.20]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 May 2005 05:49:36 +0200 Received: from scott by 69-171-193-20.sbtnvt.adelphia.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 May 2005 05:49:36 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-java@freebsd.org From: "Scott I. Remick" Date: Wed, 25 May 2005 23:51:00 -0400 Lines: 34 Message-ID: References: <200505221342.19274.vizion@vizion.occoxmail.com> <200505251623.55084.vizion@vizion.occoxmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 69-171-193-20.sbtnvt.adelphia.net User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table) X-Archive: encrypt Sender: news 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 03:51:59 -0000 On Wed, 25 May 2005 17:23:54 -0700, Vizion wrote: > OK sorry it did not work can you possibly get some more output -- something > like the last 100 lines from the compile routine. If you can do it from X > windows it will be quite easy if you use a window with history. You can then > copy the history into a file and use > tail 100 [filename] > [filename.tail.txt] > and it will put those 100 lines into a file. Paste the contents into your > email (doo not attach) so everyone can see and post to the list. > Lets ee if we can understand what is happening It's not even getting into the compile though. It's coming from the Makefile. Here is the relevant code: 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.