From owner-freebsd-ppc@FreeBSD.ORG Wed Apr 4 01:25:38 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C01431065674; Wed, 4 Apr 2012 01:25:38 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id 822848FC08; Wed, 4 Apr 2012 01:25:38 +0000 (UTC) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.14.4/8.14.4) with ESMTP id q341PbW5058920; Tue, 3 Apr 2012 18:25:37 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.14.4/8.14.4/Submit) id q341PaMK058919; Tue, 3 Apr 2012 18:25:36 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 3 Apr 2012 18:25:36 -0700 From: Greg Lewis To: Super Bisquit Message-ID: <20120404012536.GB46752@misty.eyesbeyond.com> References: <20120403061108.GA46679@misty.eyesbeyond.com> <20120403151641.GA52490@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-java@freebsd.org, freebsd-ppc@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:25:38 -0000 On Tue, Apr 03, 2012 at 07:46:35PM -0400, Super Bisquit wrote: > 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 > > > > > > > > > > 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. > > > If Solaris costs money, then I can't finish this porting effort because I > am poor. Please read my email again. Nowhere did I say you had to use Solaris. It was simply an example of something you _could_ use. FWIW, simply looking up the latest OpenSolaris release page would have told you that you didn't have to pay for it. Another quick search would have also indicated that there are openjdk-6 packages for Debian/sparc if you wanted a Linux option. There are plenty of options here for you. Pick one and give it a try. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org