OS check fails on JDK 1.4 & FreeBSD 5.4R
Scott I. Remick
scott at sremick.net
Thu May 26 03:51:59 GMT 2005
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.
More information about the freebsd-java
mailing list