From owner-freebsd-java@FreeBSD.ORG Tue Apr 3 23:46:36 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 5F70D10657C9; Tue, 3 Apr 2012 23:46:36 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) by mx1.freebsd.org (Postfix) with ESMTP id 8B4118FC15; Tue, 3 Apr 2012 23:46:35 +0000 (UTC) Received: by dadz14 with SMTP id z14so895262dad.17 for ; Tue, 03 Apr 2012 16:46:35 -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=OZs6m3K2NhlGmg3wu8Z4T5lLC702/VUJHiuQuWlfbJI=; b=mQEqFw/do7hh4seeO4dPhkgd8aDhKStZAGGUex8tXESybikBzT+O2lcwjthTw1r5LB cBdGXocp4KhuUIFlrKNGv+/a52ysYY6etBeJ/3uxFNqGc+tIcBo2enf5PxJ8Bg/DlYRg 6ZkHH0H8UgZ89rmg3nOiNtw0FoJVkty2CNtG7TYfo8NeSjj7/+KLDCdWszGHuelr/mdM 0WpSMdPYEaiKLe1tU+pgR+3/0nEERegT0nbOKc5NBmvH/mQnlsb7Q4VIGtscD4dqp82w LadF91WMaW+0tAYFjy7gCMw37/GUqsjqRChOuKuG/SPo7v01tCcjhucM+js3CljUl6PW DHPg== MIME-Version: 1.0 Received: by 10.68.200.104 with SMTP id jr8mr29213442pbc.164.1333496795162; Tue, 03 Apr 2012 16:46:35 -0700 (PDT) Received: by 10.68.189.103 with HTTP; Tue, 3 Apr 2012 16:46:35 -0700 (PDT) In-Reply-To: <20120403151641.GA52490@misty.eyesbeyond.com> References: <20120403061108.GA46679@misty.eyesbeyond.com> <20120403151641.GA52490@misty.eyesbeyond.com> Date: Tue, 3 Apr 2012 19:46:35 -0400 Message-ID: From: Super Bisquit To: Greg Lewis Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-java@freebsd.org, freebsd-ppc@freebsd.org 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: Tue, 03 Apr 2012 23:46:36 -0000 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.