From owner-freebsd-java@FreeBSD.ORG Wed Apr 4 02:33:45 2012 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 964F1106566B; Wed, 4 Apr 2012 02:33:45 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4F2D78FC1C; Wed, 4 Apr 2012 02:33:45 +0000 (UTC) Received: by pbcwz17 with SMTP id wz17so517224pbc.13 for ; Tue, 03 Apr 2012 19:33:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=5bk+Rab0QZeuhd1RkH5pSE7Cikqu7YkM1nFUaGNnTXs=; b=vDC7nCu5a22xkfLSC0EDbs2fuWgWNIX0Goar72YDPN1Sx9nNPZ1ebwAUskc4yfsPgp 9gZzbdV4PuS+o1YDIrPj62RcyVy0uDoS1HcvEsglBNsJAE1L5Og8H6X6WjzxFw/zE3ag 8+EkyQPlDQ4WVsYrREtNY3Z119tFyay6OnSg4kvnhSSQoDAINdrqGXimQB2L41NIhUfw TdmrqFnxUf4ob2RShjH7jSHunvRMCeT5I+8vWClOuK5b5pEZvhh3viTHfhQJyJRypL9g sxSws8Dw/P/LzPsCrBz6aYxYDbR+MGWmJWG2onfZcxofcqbkbEejVGCK/p/QXn3IYnZz ywJg== MIME-Version: 1.0 Received: by 10.68.125.226 with SMTP id mt2mr33188234pbb.38.1333506824973; Tue, 03 Apr 2012 19:33:44 -0700 (PDT) Received: by 10.68.189.103 with HTTP; Tue, 3 Apr 2012 19:33:44 -0700 (PDT) In-Reply-To: References: <20120403061108.GA46679@misty.eyesbeyond.com> <20120403151641.GA52490@misty.eyesbeyond.com> <20120404010534.GG10821@dormouse.experts-exchange.com> Date: Tue, 3 Apr 2012 22:33:44 -0400 Message-ID: From: Super Bisquit To: Jason Helfman Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-java , FreeBSD PowerPC ML Subject: Re: Problems with compiling java programs on FreeBSD from ports X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Apr 2012 02:33:45 -0000 On Tue, Apr 3, 2012 at 10:22 PM, Jason Helfman wrote: > > > On Tue, Apr 3, 2012 at 6:26 PM, Super Bisquit wrote: > >> >> >> On Tue, Apr 3, 2012 at 9:05 PM, Jason Helfman wrote: >> >>> 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 >>> >> Okay. >> >> Jason, it's i386/amd64 only but thanks for the help. >> > > Why does that matter? OpenIndiana supports both for Solaris, from what I > am seeing. > -jgh > > Give me a sec because I only peeked at the initial page. Hold on, k? "OpenIndiana works on most PCs (help us support SPARC). All downloads support both 32-bit and 64-bit processors. 64-bit mode is automatically selected if at least 900 megabytes of memory (RAM) are available. " Working on it sounds like a fun project and a topic for another mailing list. It's been a long day. Thanks for the help and suggestions. See you peoples later, night.