From owner-freebsd-ppc@FreeBSD.ORG Wed Apr 4 02:22:30 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 185001065673 for ; Wed, 4 Apr 2012 02:22:30 +0000 (UTC) (envelope-from bsd-src@helfman.org) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id B01068FC17 for ; Wed, 4 Apr 2012 02:22:29 +0000 (UTC) Received: by vcmm1 with SMTP id m1so332510vcm.13 for ; Tue, 03 Apr 2012 19:22:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=7n52b0TGuv7hDwTR2r0dun4NxO3tLMjdY3vSNfD8DBM=; b=nDYT1dQMBsINaAnNNKhVkTM+LnLitmbqwN0TtT8KE5nb5chfXrxnnwFkMeZV9DlCfz XpQ2q1Gav0tQBFOnCav5pQZrooLSM1/Vo5e1n9O4ovbmKrUab8nZVu+iDTexS62Le/Jg NBSHgojIqoWAGcskOp8XoDhWLB7EvE25Stu1tMDAMAseThDwR0SMZZjSbDBv5V4v01Uq 9UifIHFs1k95I4bDf15Js/Uk+oFpRLamYkB2k8F/bcvJBAJOnX1LHaxINFinPPYaTGyP zU/U78rm5ZAs/yZXmPSt1svtZA/S3newRn4HEG6+B9QYkt/sJouVXN5Fd/lrsNkpisJl Yv3w== MIME-Version: 1.0 Received: by 10.52.69.4 with SMTP id a4mr5788448vdu.87.1333506143710; Tue, 03 Apr 2012 19:22:23 -0700 (PDT) Sender: bsd-src@helfman.org Received: by 10.52.35.19 with HTTP; Tue, 3 Apr 2012 19:22:23 -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 19:22:23 -0700 X-Google-Sender-Auth: M-kT-zBa2cJp-orleeSqXBjRwHs Message-ID: From: Jason Helfman To: Super Bisquit X-Gm-Message-State: ALoCoQlaltnBlgXVYDqEfA1+IDuU3zj9Z0ZXn6/6+KtYpm8yUD7idVtDm9moTubPPTvZncFcU9g+ Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 02:22:30 -0000 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