OS check fails on JDK 1.4 & FreeBSD 5.4R
Vizion
vizion at vizion.occoxmail.com
Thu May 26 04:35:58 GMT 2005
On Wednesday 25 May 2005 20:51, the author Scott I. Remick contributed to the
dialogue on Re: OS check fails on JDK 1.4 & FreeBSD 5.4R:
& 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)
& - at 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.
Can you please send the output from /var/run/dmesg.boot
--
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
Currently in San Diego, CA. Sailing May bound for Europe via Panama Canal.
More information about the freebsd-java
mailing list