From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 02:29:53 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 465AC16A405 for ; Sun, 4 Mar 2007 02:29:53 +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 151D213C467 for ; Sun, 4 Mar 2007 02:29:52 +0000 (UTC) (envelope-from excalibur@accesswave.ca) Received: from ip04.eastlink.ca ([24.222.10.20]) by mta01.eastlink.ca (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTP id <0JEC00KBHW7WBNE0@mta01.eastlink.ca> for freebsd-questions@freebsd.org; Sat, 03 Mar 2007 21:59:56 -0400 (AST) Received: from blk-137-104-55.eastlink.ca (HELO mail.dreadnet.org) ([24.137.104.55]) by ip04.eastlink.ca with ESMTP; Sat, 03 Mar 2007 21:59:51 -0400 Received: from [192.168.1.109] (unknown [192.168.1.109]) by mail.dreadnet.org (Postfix) with ESMTP id 813113F6F2 for ; Sat, 03 Mar 2007 22:00:00 -0400 (AST) Date: Sat, 03 Mar 2007 21:59:51 -0400 From: Chris Bowlby To: freebsd-questions@freebsd.org Message-id: <45EA2817.8060501@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: Ao8CALK26UUYiWg3/2dsb2JhbACoDA X-IronPort-AV: i="4.14,245,1170648000"; d="scan'208"; a="140067545:sNHT121698990" User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) Subject: 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:29:53 -0000 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