Date: Mon, 14 Jun 2004 17:32:29 -0400 From: Bill Vermillion <bv@wjv.com> To: freebsd-emulation@freebsd.org, freebsd-java@freebsd.org Subject: my continuing JDk14 build problems Message-ID: <20040614213229.GC2035@wjv.com>
next in thread | raw e-mail | index | archive | help
I've posted before problems I've been having. After posting in java someone figured it might be emulation so I posted there. I get a failure trying to install the linux-sun-jdk14 that is required to bootstrap the jdk14. I even downloaded the linux rpm from Sun and installed that via rpm -install <filename> and in that also generates an install.sfx.core file just as builing from jdk14 or sun-linux-jdk14 with the standard files. Someone suggested setting the defaul brand to 3 in sysctl That made no difference. I always get a 'bad system call' as the final error. [I've posted those before]. But thinking more about this and recalling I had a bad system call on a commercial application that defaulted to a SVR4 and I had to brand it as Linux, I ran the sun-linux-jdk14 that extracted the install.sfx into the work directory. Then I performed a brandelf -t Linux on install.sfx. I them commented out the extract of the install.sfx in the Makefile so it wouid not re-extract and write over the rebranded image. Now when I run it I get this: --------- Script started on Mon Jun 14 15:26:54 2004 root@bilver.wjv.com# make ====================================================================== Warning: This JDK may be unstable. You are advised to use the native FreeBSD JDK, in ports/java/jdk14. This Java VM will attempt to obtain some system information by accessing files in linux's procfs. You must install the Linux emulation procfs filesystem for this to work correctly. The JVM will exhibit various problems otherwise. This can be accomplished by adding the following line to your /etc/fstab file: linprocfs /compat/linux/proc linprocfs rw 0 0 and then, as root, executing the commands: kldload linprocfs mount /compat/linux/proc ====================================================================== ===> Extracting for linux-sun-jdk-1.4.2.04 >> Checksum OK for j2sdk-1_4_2_04-linux-i586.bin. ===> linux-sun-jdk-1.4.2.04 depends on file: /compat/linux/lib/libc.so.6 - found /usr/ports/java/linux-sun-jdk14/work/install.sfx: /lib/ld-linux.so.2: version `GLIBC_PRIVATE' not found (required by /lib/libc.so.6) *** Error code 1 Stop in /usr/ports/java/linux-sun-jdk14. root@bilver.wjv.com# exit Script done on Mon Jun 14 15:26:58 2004 So the error changes from 'bad system call' to the above. Am I correct in thinking that if I can get that fixed I may be able to proceed. I'm treading in new territory here for me. Am I wrong in thinking that this may point to the problem. In the commerical application the rebrand to Linux cured the bad system call and that install continued. I've also tried running with the SYSR4 removed from rc.conf. Others have said they have gotten this installed in 4.10 The kernel is set for only the 686 and the only things added are SC_HISTORY size set to 700, MAXCONS to 16, and a couple of other syscons - for the SCO compatible screen, plus default text display of green on black. I can't see any thing in there would be a problem, but I felt it was better to mention what I've changed than the typical "I dont see anything that could affect this". I've posted this to both java and emulation - just in case. I'm willing to try any/all suggestions. Bill -- Bill Vermillion - bv @ wjv . com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040614213229.GC2035>