Request for Review: Add Mac OS X Instructions to README-builds.html

Scott Kovatch scott.kovatch at oracle.com
Thu Apr 26 08:18:12 PDT 2012


I was able to build on Mountain Lion with XQuartz installed: http://xquartz.macosforge.org/landing/, but I had to do some makefile hacking to get it to work. I don't have a cross-version patch yet, sorry.

I'd personally like an option to build a JDK without the X11 support. I'm trying to imagine a scenario when I would ever want an X11-based AWT, but can't.

-- Scott K.

On Apr 26, 2012, at 2:37 AM, Henri Gomez wrote:

> X11 support will be removed in Mountain Lion :
> 
> http://www.macrumors.com/2012/02/17/apple-removes-x11-in-os-x-mountain-lion-shifts-support-to-open-source-xquartz/
> 
> There is some dependencies required on OpenJDK like FreeType.
> 
> libfontmanager.dylib:
> 	@rpath/libfontmanager.dylib (compatibility version 1.0.0, current
> version 1.0.0)
> 	/usr/X11/lib/libfreetype.6.dylib (compatibility version 14.0.0,
> current version 14.2.0)
> 	@rpath/libawt.dylib (compatibility version 1.0.0, current version 1.0.0)
> 	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
> version 159.1.0)
> 	/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
> version 52.0.0)
> 	@rpath/libjava.dylib (compatibility version 1.0.0, current version 1.0.0)
> 	@rpath/libjvm.dylib (compatibility version 1.0.0, current version 1.0.0)
> 
> Removing this dependency should be easy by embedding FreeType in OpenJDK 7/8
> I plan to works on it ASAP
> 
> 
> 2012/4/26 Edvard Wendelin <edvard.wendelin at oracle.com>:
>> It seems like X11 is included with Lion: http://www.apple.com/macosx/apps/all.html#x11 I haven't installed it separately either and the JDK builds fine.
>> 
>> Cheers,
>> Edvard
>> 
>> On Apr 26, 2012, at 5:13 AM, Ray Kiddy wrote:
>> 
>>> 
>>> On Apr 25, 2012, at 9:25 AM, Dalibor Topic wrote:
>>> 
>>>> On 4/25/12 3:02 PM, Edvard Wendelin wrote:
>>>>> Hi,
>>>>> 
>>>>> I'm working on some updates in the README-builds.html [1]. The first step is to add the Mac OS X platform. I have gathered the requirements from the Mac OS X port wiki [2][3].  It seems like Apple has dropped the "Mac" part of "Mac OS X" and now only call the product "OS X Lion" [4].  Question is if this is only a marketing term or if it's now the official name. In this webrev I've used "Mac OS X".
>>>>> 
>>>>> 
>>>> I'd suggest adding a line a la
>>>> 
>>>> "After installing XCode, you must install the XCode command line tools. They are available for download through XCode itself."
>>>> 
>>>> cheers,
>>>> dalibor topic
>>> 
>>> I would also suggest pointing out that X11 is required to build. I do not think it is part of the base install of the Dev Tools, it is not separately downloadable (so I need to try to find those @#$%@&! DVDs) and it is not a command-line tool. Or is it part of what you get with that install option? I am still on SnowLeopard, so I do not know. And I cannot build the JDK for lack of freetype, which seems to come with X11.
>>> 
>>> cheers - ray
>>> 
>>> 
>>> ps: That's quite a signature there, Dalibor. Do you drive a really big car, also? :-)
>>> 
>> 



More information about the macosx-port-dev mailing list