From owner-freebsd-amd64@FreeBSD.ORG Wed Sep 14 19:46:23 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBC3E16A41F for ; Wed, 14 Sep 2005 19:46:23 +0000 (GMT) (envelope-from ghelmer@palisadesys.com) Received: from magellan.palisadesys.com (magellan.palisadesys.com [192.188.162.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D87243D53 for ; Wed, 14 Sep 2005 19:46:23 +0000 (GMT) (envelope-from ghelmer@palisadesys.com) Received: from [172.16.1.108] (cetus.palisadesys.com [192.188.162.7]) (authenticated bits=0) by magellan.palisadesys.com (8.12.11/8.12.11) with ESMTP id j8EJkInF074901; Wed, 14 Sep 2005 14:46:18 -0500 (CDT) (envelope-from ghelmer@palisadesys.com) Message-ID: <43287E0A.8000001@palisadesys.com> Date: Wed, 14 Sep 2005 14:46:18 -0500 From: Guy Helmer User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "O. Hartmann" References: <432855C8.20304@mail.uni-mainz.de> In-Reply-To: <432855C8.20304@mail.uni-mainz.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Palisade-MailScanner-Information: Please contact the ISP for more information X-Palisade-MailScanner: Found to be clean X-MailScanner-From: ghelmer@palisadesys.com Cc: freebsd-amd64@freebsd.org Subject: Re: java/jdk15: build failure on FBSD 6.0/AMD64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2005 19:46:24 -0000 O. Hartmann wrote: > Hello. > Since my last posting about failing to build a working JDK I tried > again with all the recommendations I got from this list. > > On FreeBSD/i386, build process still dies due to a sanity check error > (watch out my previous posting about this error). One possible cause > should be a missing Linuxulator - but that's not the trueth. Linux was > enabled either as kernel module and loaded when system boots or > staticaly built into the kernel. In both cases I receive the same > error :-( But was linprocfs mounted as /compat/linux/proc? > On FreeBSD/AMD64 everything seems to build perfectly since this error > occurs (and it seemes to be at the end of the build process): > > Force the Client VM when dumping the shared archive since you can't > dump the archive with the Server VM. I applied Greg Lewis' jdk15 patch he sent yesterday (at http://lists.freebsd.org/pipermail/freebsd-java/2005-September/004329.html) to the java/jdk15 port and I've successfully built the port on amd64 with it today. I tried building and installing it earlier today before I applied the patch, and it failed during the install with the "can't dump" error... > I feel confused, I read about this error but no solutions or > workaround. It confuses me a bit that I still run into harsh trouble > although I do exactly all the steps the port repository recommends! On > the other hand, I ran into trouble fetching some essential ports > needed by the jdk15-build process on an AMD64 architecture, but they > are i386 and I needed fetching them on another i386-based machine (I > remember myself it was a XFree86 library for Linux and not available > for amd64, but fetching ports from FreeBSD 6.0/amd64 let me get ports > only for amd64!). IIRC, I was able to fetch and install all the amd64 packages for Linux compatibility on my new amd64 machine installed from 6.0BETA2, and the Linux JDK worked just fine for me... I used portinstall, and I explicitly set PACKAGESITE to retrieve the binary packages from ftp://ftp2.freebsd.org/pub/FreeBSD/ports/amd64/packages-6-current/All... > Within the last 4 years I belong to the 'small' (?) group of FreeBSD > users who never had success compiling a working JAVA environment. So > neither OpenOffice is fully working, nor FireFox or Mozilla are > capable of working with JAVA under FBSD 5/6. Mmmmmmhhhh ... Good luck! Guy Helmer -- Guy Helmer, Ph.D. Principal System Architect Palisade Systems, Inc.