Step-by-step OpenJDK on OS X?

Kurt Miller kurt at intricatesoftware.com
Sat Jan 31 05:15:05 PST 2009


Ben Evans wrote:
> Hi Charlie,
> 
> My understanding is that the current bsd-port is still broken for OS X
> and that we expect it to be unbroken sometime soon.

To unbreak the OS X build you can issue the following commands which
will revert the minor breakage in the tree right now. But first enable
the mq extension in ~/.hgrc to enable the hg strip command:

[extensions]
hgext.mq =

$ cd bsd-port
$ cd hotspot
$ hg strip 32826d5f1894
$ cd ../jdk
$ hg strip 97139295a172

Temporally DEVTOOLS_PATH needs to be set to point an existing directory.
It doesn't matter what dir since OS X doesn't use it, just something to
satisfy the sanity check.

> I documented the last working build I had at:
> 
> http://boxcatjunction.blogspot.com/2008/12/some-updates-to-build-process.html
> 
> If the current bsd-port tree is in a reasonable shape and will build, I
> would be very up for helping get the latest MLVM patches applying to it
> and building on OS X.
> 
> Thanks,
> 
> Ben
> 
> On Fri, Jan 30, 2009 at 8:30 PM, Charles Oliver Nutter
> <charles.nutter at sun.com <mailto:charles.nutter at sun.com>> wrote:
> 
>     I've read through some of the backthreads and there's a lot of noise
>     about getting OpenJDK to build, having this issue, applying that patch.
>     I'm wondering what the bottom line is today:
> 
>     - Is it possible to build OpenJDK on OS X right now? Which
>     versions/branches/etc?
>     - Has anyone aggregated the instructions required to do so yet? I mostly
>     got an older revision to build using Landon Fuller's walkthrough, but
>     that's pretty dated now.
> 
>     Is there a wiki for this where we could collaborate on a
>     walkthrough/tutorial? I'm eager to get a build going so I can start
>     contributing to MLVM without my Linux box or a Linux VM.
> 
>     - Charlie
> 
> 
> 
> ------------------------------------------------------------------------
> 
> 




More information about the bsd-port-dev mailing list