Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 May 2005 23:51:00 -0400
From:      "Scott I. Remick" <scott@sremick.net>
To:        freebsd-java@freebsd.org
Subject:   Re: OS check fails on JDK 1.4 & FreeBSD 5.4R
Message-ID:  <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>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




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