From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 02:37:27 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E5DA016A401 for ; Sun, 4 Mar 2007 02:37:27 +0000 (UTC) (envelope-from excalibur@accesswave.ca) Received: from smtpout.eastlink.ca (smtpout.eastlink.ca [24.222.0.30]) by mx1.freebsd.org (Postfix) with ESMTP id B23D213C481 for ; Sun, 4 Mar 2007 02:37:27 +0000 (UTC) (envelope-from excalibur@accesswave.ca) Received: from ip01.eastlink.ca ([24.222.10.5]) by mta01.eastlink.ca (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTP id <0JEC00KSFXYJBIF0@mta01.eastlink.ca> for freebsd-questions@freebsd.org; Sat, 03 Mar 2007 22:37:31 -0400 (AST) Received: from blk-137-104-55.eastlink.ca (HELO mail.dreadnet.org) ([24.137.104.55]) by ip01.eastlink.ca with ESMTP; Sat, 03 Mar 2007 22:37:26 -0400 Received: from [192.168.1.109] (unknown [192.168.1.109]) by mail.dreadnet.org (Postfix) with ESMTP id E4EE93F477; Sat, 03 Mar 2007 22:37:35 -0400 (AST) Date: Sat, 03 Mar 2007 22:37:26 -0400 From: Chris Bowlby In-reply-to: <45EA2817.8060501@accesswave.ca> To: Chris Bowlby Message-id: <45EA30E6.9030005@accesswave.ca> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAJq/6UUYiWg3/2dsb2JhbACoCA X-IronPort-AV: i="4.14,245,1170648000"; d="scan'208"; a="138352564:sNHT71913978" References: <45EA2817.8060501@accesswave.ca> User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD Native JDK/JRE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2007 02:37:28 -0000 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"