From owner-freebsd-ppc@FreeBSD.ORG Wed Apr 4 01:06:37 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0515A106566C for ; Wed, 4 Apr 2012 01:06:37 +0000 (UTC) (envelope-from bsd-src@helfman.org) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6C79A8FC0C for ; Wed, 4 Apr 2012 01:06:36 +0000 (UTC) Received: by obbwc18 with SMTP id wc18so529520obb.13 for ; Tue, 03 Apr 2012 18:06:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-operating-system :organization:x-living-the-dream:x-pgp-fingerprint:x-pgp-key :user-agent:x-gm-message-state; bh=PKxqXaK+cgo3LVIL2cPD45EjzslXXN4C/vC9Jko0lak=; b=nbydrdssn5wv0X59fIOO02cAki2cA+PALk1H/7q5lTJx6CXACENuto97bUZ3zhJrcl VhErcUd4SQho4/iCpAoaQyUKEna7Kt1xgdGVCtFaaAyqQOdkAP8xBdgi3dsNc8NYC0rO BytFUMMKbahnirCHwk4nmTwcK2w7A00gcDy2nmhfWf4qsjF5k5OBWxsACXaKqYzStdPH SiOZ7K9kFhXBsezRsR9B414d605qMuVjqrEQQnZ2+/NT42mCAjlEgN/Wwf0LgmeknLiQ AsabGo4EHTiN69eqdFP/eW400XonzBYpRcULxsQNO5WWcn1zOjobJBD3hXmyTctTjWvT Ktlw== Received: by 10.182.139.42 with SMTP id qv10mr2451664obb.71.1333501595850; Tue, 03 Apr 2012 18:06:35 -0700 (PDT) Received: from dormouse.experts-exchange.com ([72.29.164.238]) by mx.google.com with ESMTPS id s2sm18524696oea.2.2012.04.03.18.06.34 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 03 Apr 2012 18:06:35 -0700 (PDT) Sender: Jason Helfman Date: Tue, 3 Apr 2012 18:05:34 -0700 From: Jason Helfman To: Super Bisquit Message-ID: <20120404010534.GG10821@dormouse.experts-exchange.com> References: <20120403061108.GA46679@misty.eyesbeyond.com> <20120403151641.GA52490@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 8.2-RELEASE amd64 Organization: The FreeBSD Project, http://www.freebsd.org X-Living-The-Dream: I love the SLO Life! X-PGP-FingerPrint: 8E0D C457 9A0F C91C 23F3 0454 2059 9A63 4150 D3DC X-PGP-Key: http://people.freebsd.org/~jgh/jgh.asc User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQm+cXHGHfbfnLjow9hkjmwofYPe6LolAkXWEusS29IQRqlKQOxbqkcmldPypekBiJn2JtI+ Cc: freebsd-ppc@freebsd.org, freebsd-java@freebsd.org Subject: Re: Problems with compiling java programs on FreeBSD from ports X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Apr 2012 01:06:37 -0000 On Tue, Apr 03, 2012 at 07:46:35PM -0400, Super Bisquit thus spake: >On Tue, Apr 3, 2012 at 11:16 AM, Greg Lewis wrote: > >> On Tue, Apr 03, 2012 at 10:43:16AM -0400, Super Bisquit wrote: >> > On Tue, Apr 3, 2012 at 2:11 AM, Greg Lewis >> wrote: >> > >> > > On Mon, Apr 02, 2012 at 08:20:05PM -0400, Super Bisquit wrote: >> > > > Here is where the problem becomes apparent. >> > > > >> > > > file /usr/local/java/jre/bin/java >> > > > /usr/local/java/jre/bin/java: Mach-o executable ppc >> > > > brandelf -t FreeBSD /usr/local/java/jre/bin/java >> > > > brandelf: file '/usr/local/java/jre/bin/java' is not ELF format >> > > > >> > > > Mr. Lewis, do you know who created the package? I'd like to be able o >> > > work >> > > > with him/her to make a native FreeBSD one. >> > > >> > > I said up front this was a MacOS X/ppc package that I was providing as >> an >> > > example that Zero worked on PowerPC (with a code base that supported >> > > FreeBSD). >> > > >> > > I'll repeat this once more. The code base is likely very close to >> > > supporting FreeBSD/ppc using the Zero VM. The hard part is going to >> > > be doing the bootstraping for the initial build. Here is a link to a >> > > post that goes into some of the details on how you can accomplish this. >> > > It's what I did when I did a FreeBSD/sparc64 port using Zero. >> > > >> > > >> > > >> http://docs.freebsd.org/cgi/getmsg.cgi?fetch=89377+0+archive/2008/freebsd-java/20080203.freebsd-java >> > > >> > > -- >> > > Greg Lewis Email : glewis@eyesbeyond.com >> > > Eyes Beyond Web : >> http://www.eyesbeyond.com >> > > Information Technology FreeBSD : glewis@FreeBSD.org >> > > >> > >> > Please believe me when I say that i do not have neither an i386 nor an >> > amd64 machine to do such. None here belong to me nor do I have the >> > permission to change what is on them. I have only the RISC- Power, >> Sparc64- >> > at my disposal. >> > I would like to try building from the mercurial source; however, I am not >> > currently finding the proper hg pull/clone instructions. I may find them >> > after I send this email. >> >> You can't build openjdk from source without a bootstrap JDK. So, whatever >> machines you have, at least one of them will have to have a compatible >> working JDK on it. You could, for example, install Solaris on the Sparc64 >> machine and run a JDK there, but you have to have _something_ with a >> running JDK. Also, since the bootstrap JDK isn't on the same machine >> you're >> building on you'll have to use the technique described in the post I sent a >> link to above. >> >> -- >> Greg Lewis Email : glewis@eyesbeyond.com >> Eyes Beyond Web : http://www.eyesbeyond.com >> Information Technology FreeBSD : glewis@FreeBSD.org >> >If Solaris costs money, then I can't finish this porting effort because I >am poor. Have you looked here: http://openindiana.org/ This is a fork of OpenSolaris (free). -jgh -- Jason Helfman | FreeBSD Committer jgh@FreeBSD.org | http://people.freebsd.org/~jgh