Date: Sat, 03 Mar 2007 22:37:26 -0400 From: Chris Bowlby <excalibur@accesswave.ca> To: Chris Bowlby <excalibur@accesswave.ca> Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD Native JDK/JRE Message-ID: <45EA30E6.9030005@accesswave.ca> In-Reply-To: <45EA2817.8060501@accesswave.ca> References: <45EA2817.8060501@accesswave.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, As luck would have it, 2 minutes after posting this message, I managed to find this URL: http://lists.freebsd.org/pipermail/freebsd-questions/2006-August/129252.html Which addresses most of my issues, now I just have to work past a compiler error (I think due to sun-jdk-1.4 having been installed).. Thanks. Chris Bowlby wrote: > Hi, > > I've been attempting to install java/jdk15 into a jail under FreeBSD > 6.2 and have been running into some issues. I have appended a trimmed > out version of the output I get during an installation to the end of > the message. > > From what I can tell, it's attempting to install some Linux emulation > components and this is where I get stuck. I've not been able to find > any information that would help me either manually mount the > partitions so they are visible inside a jail (I am not sure if this is > even possible anymore), or to work around this particular issue and > just do a native installation. > > Can anyone offer up any help? > > > mail# portinstall java/jdk15 > ---> Installing 'jdk-1.5.0p4' from a port (java/jdk15) > ---> Building '/usr/ports/java/jdk15' > ===> Cleaning for unzip-5.52_2 > ===> Cleaning for m4-1.4.8_1 > ===> Cleaning for zip-2.32 > ===> Cleaning for open-motif-2.2.3_2 > ===> Cleaning for linux-sun-jdk-1.4.2.13 > ===> Cleaning for gmake-3.81_1 > ===> Cleaning for libiconv-1.9.2_2 > ===> Cleaning for javavmwrapper-2.3 > ===> Cleaning for libtool-1.5.22_3 > ===> Cleaning for xorg-libraries-6.9.0_1 > ===> Cleaning for imake-6.9.0_1 > ===> Cleaning for linux_base-fc-4_9 > ===> Cleaning for linux-xorg-libs-6.8.2_5 > ===> Cleaning for gettext-0.14.5_2 > ===> Cleaning for libdrm-2.0.2 > ===> Cleaning for freetype2-2.2.1_1 > ===> Cleaning for fontconfig-2.3.2_6,1 > ===> Cleaning for perl-5.8.8 > ===> Cleaning for rpm-3.0.6_13 > ===> Cleaning for linux-fontconfig-2.2.3_5 > ===> Cleaning for pkg-config-0.21 > ===> Cleaning for expat-2.0.0_1 > ===> Cleaning for automake-1.4.6_2 > ===> Cleaning for autoconf-2.13.000227_5 > ===> Cleaning for popt-1.7_2 > ===> Cleaning for linux-expat-1.95.8 > ===> Cleaning for jdk-1.5.0p4 > ===> Vulnerability check disabled, database not found > ===> Found saved configuration for jdk-1.5.0p4 > > IMPORTANT: To build JDK 1.5.0 port, you should have at least > 2.5Gb of free disk space in build area! > > IMPORTANT: To build JDK 1.5.0 port, you should have linux emulation > enabled in the kernel and linux procfs (linprocfs) filesystem > mounted. > > ===> Extracting for jdk-1.5.0p4 > => MD5 Checksum OK for jdk-1_5_0-src-scsl.zip. > => SHA256 Checksum OK for jdk-1_5_0-src-scsl.zip. > => MD5 Checksum OK for jdk-1_5_0-bin-scsl.zip. > => SHA256 Checksum OK for jdk-1_5_0-bin-scsl.zip. > => MD5 Checksum OK for bsd-jdk15-patches-4.tar.bz2. > => SHA256 Checksum OK for bsd-jdk15-patches-4.tar.bz2. > ===> jdk-1.5.0p4 depends on executable in : unzip - found > ===> Patching for jdk-1.5.0p4 > Hmm... Looks like a unified diff to me... > The text leading up to this was: > -------------------------- > |Index: control/make/Makefile > |=================================================================== > |RCS file: /var/jcvs/javasrc_1_5_scsl/control/make/Makefile,v > |retrieving revision 1.1.1.1 > |retrieving revision 1.3 > |diff -u -r1.1.1.1 -r1.3 > |--- control/make/Makefile 8 Nov 2004 22:26:52 -0000 1.1.1.1 > |+++ control/make/Makefile 23 Dec 2004 19:28:25 -0000 1.3 > -------------------------- > Patching file control/make/Makefile using Plan A... > Hunk #1 succeeded at 12. > Hunk #2 succeeded at 69. > Hmm... The next patch looks like a unified diff to me... > The text leading up to this was: > <... SNIP ...> > done > ===> Applying FreeBSD patches for jdk-1.5.0p4 > /usr/bin/sed -i.bak -e "s:%%PREFIX%%:/usr/local:g" -e > "s:%%JDK_VERSION%%:1.5.0:g" > /usr/ports/java/jdk15/work/control/make/../../deploy/src/plugin/solaris/controlpanel/sun_java.desktop > > ===> jdk-1.5.0p4 depends on executable in : gm4 - found > ===> jdk-1.5.0p4 depends on executable in : zip - found > ===> jdk-1.5.0p4 depends on file: /usr/X11R6/lib/libXm.so - found > ===> jdk-1.5.0p4 depends on file: > /usr/local/linux-sun-jdk1.4.2/bin/javac - found > ===> jdk-1.5.0p4 depends on executable in : gmake - found > ===> jdk-1.5.0p4 depends on shared library: iconv.3 - found > ===> Configuring for jdk-1.5.0p4 > ===> Building for jdk-1.5.0p4 > ERROR: You must have LINPROCFS mounted before > starting to build the native JDK 1.5.0. > > You may do it with the following commands: > > # kldload linprocfs > > and > > # mount -t linprocfs linprocfs /compat/linux/proc > > *** Error code 1 > > Stop in /usr/ports/java/jdk15. > ** Command failed [exit code 1]: /usr/bin/script -qa > /tmp/portinstall.7259.0 env make > ** Fix the problem and try again. > ** Listing the failed packages (*:skipped / !:failed) > ! java/jdk15 (unknown build error) > ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45EA30E6.9030005>