Hi,
i've been struggling to install Java in a dedicated server, but it keeps throwing error that i have absolutely no idea how to fix.
The server:
FreeBSD ds2200.dedicated.turbodns.co.uk 4.11-STABLE FreeBSD 4.11-STABLE #6: Fri Aug 26 17:01:22 BST 2005
root@unixbuild.host.donhost.co.uk:/usr/obj/usr/src/sys/DEDICATED i386
And the java i tried is in /usr/ports/java/linux-sun-jdk14. And i always have a Command not found exception when running kldload
The error:
root@ds2200# make install
======================================================================
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
======================================================================
===> Vulnerability check disabled, database not found
===> Extracting for linux-sun-jdk-1.4.2.10
=> MD5 Checksum OK for j2sdk-1_4_2_10-linux-i586.bin.
===> linux-sun-jdk-1.4.2.10 depends on file: /compat/linux/etc/redhat-release - not found
===> Verifying install for /compat/linux/etc/redhat-release in /usr/ports/emulators/linux_base-8
===> linux_base-8-8.0_14 depends on executable: rpm - not found
===> Verifying install for rpm in /usr/ports/archivers/rpm
===> Building for rpm-3.0.6_13
gmake all-recursive
gmake[1]: Entering directory `/usr/ports/archivers/rpm/work/rpm-3.0.6'
Making all in intl
gmake[2]: Entering directory `/usr/ports/archivers/rpm/work/rpm-3.0.6/intl'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/ports/archivers/rpm/work/rpm-3.0.6/intl'
Making all in po
gmake[2]: Entering directory `/usr/ports/archivers/rpm/work/rpm-3.0.6/po'
PATH=../intl:$PATH : --default-domain=rpm --directory=.. \
--add-comments --keyword=_ --keyword=N_ \
--files-from=./POTFILES.in \
&& test ! -f rpm.po \
|| ( rm -f ./rpm.pot \
&& mv rpm.po ./rpm.pot )
gmake[2]: Leaving directory `/usr/ports/archivers/rpm/work/rpm-3.0.6/po'
Making all in lib
gmake[2]: Entering directory `/usr/ports/archivers/rpm/work/rpm-3.0.6/lib'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/ports/archivers/rpm/work/rpm-3.0.6/lib'
Making all in build
gmake[2]: Entering directory `/usr/ports/archivers/rpm/work/rpm-3.0.6/build'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/ports/archivers/rpm/work/rpm-3.0.6/build'
Making all in misc
gmake[2]: Entering directory `/usr/ports/archivers/rpm/work/rpm-3.0.6/misc'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/ports/archivers/rpm/work/rpm-3.0.6/misc'
Making all in tools
gmake[2]: Entering directory `/usr/ports/archivers/rpm/work/rpm-3.0.6/tools'
/bin/sh /usr/local/bin/libtool --mode=link cc -O -pipe -D_GNU_SOURCE -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -L../build -L../lib -o dump dump.o ../build/librpmbuild.la ../lib/librpm.la -lpopt ../misc/libmisc.a -L/usr/local/lib -lintl -liconv -L/usr/local/lib -lz
cc -O -pipe -D_GNU_SOURCE -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -o .libs/dump dump.o -L/usr/ports/archivers/rpm/work/rpm-3.0.6/build -L/usr/ports/archivers/rpm/work/rpm-3.0.6/lib ../build/.libs/librpmbuild.so -L/usr/local/lib ../lib/.libs/librpm.so /usr/local/lib/libpopt.so ../misc/libmisc.a -lintl -liconv -lz -Wl,--rpath -Wl,/usr/local/lib
../lib/.libs/librpm.so: warning: tempnam() possibly used unsafely; consider using mkstemp()
../lib/.libs/librpm.so: warning: mktemp() possibly used unsafely; consider using mkstemp()
../lib/.libs/librpm.so: undefined reference to `bzdopen'
../lib/.libs/librpm.so: undefined reference to `bzerror'
../lib/.libs/librpm.so: undefined reference to `bzwrite'
../lib/.libs/librpm.so: undefined reference to `bzclose'
../lib/.libs/librpm.so: undefined reference to `bzread'
../lib/.libs/librpm.so: undefined reference to `bzflush'
../lib/.libs/librpm.so: undefined reference to `bzopen'
gmake[2]: *** [dump] Error 1
gmake[2]: Leaving directory `/usr/ports/archivers/rpm/work/rpm-3.0.6/tools'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/archivers/rpm/work/rpm-3.0.6'
gmake: *** [all-recursive-am] Error 2
*** Error code 2
Stop in /usr/ports/archivers/rpm.
*** Error code 1
Stop in /usr/ports/emulators/linux_base-8.
*** Error code 1
Stop in /usr/ports/java/linux-sun-jdk14.
Could anyone help me fix this please !!!!
THanks
Edit/Delete Message