From owner-freebsd-java@FreeBSD.ORG Wed Apr 4 01:26:03 2012 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE8A4106564A; Wed, 4 Apr 2012 01:26:02 +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 99D838FC08; Wed, 4 Apr 2012 01:26:02 +0000 (UTC) Received: by dadz14 with SMTP id z14so1155415dad.17 for ; Tue, 03 Apr 2012 18:26:02 -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=2oD4awej98bWUywhTOur5q3uVRPJqyu9t0NWSxnLaZY=; b=EecKSizqotnNZz+bNYAbyk67Pup2BGGMzH3z1IEt0Pn2IUt4sZhFbpym2uJaVnHxJ/ 3ZXc+Ar3Jh5Q2MYNhszOa/3UZARpEe35ti7VhJltAvjz8D7e9DNAHBEBrwEfb8s6HZ5F TQfQj9+oZFtC06X6EOaA68sEQOOc+VufNME0/eT8kvZmRHB4lY8N1W0c+VK850oGE3/+ C2Ug5VUCNSp74H0X5mDyKh+vnz3/4f4SQR7xIB/CO8rBsbMO4hU+39VQxH+caS1asTAI VfYYIYyZRJxNwpdI5BgD0Ao2JzZ3rvSlY1A/BEZoIB2qSrAqY/dGqueP73fdfuw6cKLX lsEA== MIME-Version: 1.0 Received: by 10.68.194.40 with SMTP id ht8mr296293pbc.122.1333502762323; Tue, 03 Apr 2012 18:26:02 -0700 (PDT) Received: by 10.68.189.103 with HTTP; Tue, 3 Apr 2012 18:26:02 -0700 (PDT) In-Reply-To: <20120404010534.GG10821@dormouse.experts-exchange.com> References: <20120403061108.GA46679@misty.eyesbeyond.com> <20120403151641.GA52490@misty.eyesbeyond.com> <20120404010534.GG10821@dormouse.experts-exchange.com> Date: Tue, 3 Apr 2012 21:26:02 -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-ppc@freebsd.org, freebsd-java@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: Wed, 04 Apr 2012 01:26:03 -0000 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. Chris, I don't have any way of burning a DVD right now. Carlos, interestingly enough, there is a Mach-O to ELF converter but I believe it is for MacOS i386/amd64 only. I may be wrong about my conclusion here. Justin, I need to look at the Makefile because I received the "too many symbolic links" error even when I did not set the prefix. This is about JamVM.