Another compile-error for java (jdk14) on FreeBSD-5.3

Andreas Tücks andreas.tuecks at gmx.de
Mon Dec 13 00:56:40 PST 2004


Hallo @all!

Yesterday I tried to install Java (jdk14) on my FreeBSD-5.3 RELEASE 
system according to the following steps:

* update the portstree
* install linux-sun-jdk14 and fix the dependency using pkgdb -F because 
I am using linux-base-8
* download all the necessary files from SUN as well as the patchset and 
put them into /usr/ports/distfiles
* kldload linprocfs and mounting the linprocfs
* go to /usr/ports/java/jdk14 and type make

After a while I get the following error messages which appear to be 
"new". I couldn't find hints in the java mailing-list archives and even 
google did not return useful results. As the message is quite long, I 
have cut the (probably) less important part. Maybe one of you has 
encountered the same problem and knows how to solve it.

Thank you very much!

Sincerely, Andreas Tuecks


FreeBSD-5# make
===> Building for jdk-1.4.2p6_7
# Start of jdk build
bsd i586 1.4.2-p6 build started: 04-12-12 20:04
if [ -r ./../../deploy/make/Makefile ]; then \
( cd ./../../deploy/make; gmake sanity EXTERNALSANITYCONTROL=true 
CONTROL_TOPDIR=/usr/ports/java/jdk14/work/control 
CONTROL_TOPDIR_NAME=control 
ALT_OUTPUTDIR=/usr/ports/java/jdk14/work/control/build/bsd-i586ARCH_DATA_MODEL=32 
MILESTONE=p6 BUILD_NUMBER=atuecks_12_dec_2004_20_04 ; ); \
fi
Syntax error: "(" unexpected
gmake[1]: Entering directory `/usr/ports/java/jdk14/work/deploy/make'
[: -ne: unexpected operator
gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/deploy/make'
Syntax error: "(" unexpected
gmake[1]: Entering directory `/usr/ports/java/jdk14/work/j2se/make'
[: -ne: unexpected operator
gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make'

[...]

Bootstrap Settings:
JAVAWS_BOOTDIR = /usr/local/linux-sun-jdk1.4.2
BOOTSTRAP J2SDK VERSION: Segmentation fault (core dumped)
OUTPUTDIR = /usr/ports/java/jdk14/work/control/build/bsd-i586

Build Tool Settings:
UNIXCOMMAND_PATH = /bin/
COMPILER_PATH = /usr/bin/
DEVTOOLS_PATH = /usr/local/bin/
USRBIN_PATH = /usr/bin/
GCC32_COMPILER_PATH = /java/devtools/bsd/gcc3.2/
MOZILLA_PATH =
MOZILLA_HEADERS_PATH =
MOZILLA_LIBS_PATH =
CC_VER = 3.4.2
PATH = 
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin

[...]

Target Build Versions:
JAVAWS_VERSION = 1.4.2
MILESTONE = p6
BUILD_NUMBER = atuecks_12_dec_2004_20_04

Bootstrap Settings:
BOOTDIR = /usr/local/linux-sun-jdk1.4.2
BOOTSTRAP J2SDK VERSION: Segmentation fault (core dumped)
OUTPUTDIR = /usr/ports/java/jdk14/work/control/build/bsd-i586

[...]

Sanity check passed.
(cd ./../build/bsd-i586/hotspot-i586/tmp; \
gmake -f /usr/ports/java/jdk14/work/hotspot/build/bsd/Makefile product \
HOTSPOT_BUILD_VERSION=1.4.2-p6-atuecks_12_dec_2004_20_04 
GAMMADIR=/usr/ports/java/jdk14/work/hotspot ; )
gmake[1]: Entering directory 
`/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp'
(cd bsd_i486_compiler2/product; gmake)
gmake[2]: Entering directory 
`/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product'
gmake[2]: *** [../generated/MakeDeps.class] Segmentation fault (core dumped)
gmake[2]: Leaving directory 
`/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product'
gmake[1]: *** [product] Error 2
gmake[1]: Leaving directory 
`/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp'
gmake: *** [product] Error 2
*** Error code 2




More information about the freebsd-java mailing list