Building on Mac OSX 10.11.4 with Clang 7.3.0

2016-03-28 Thread Andrej Golovnin
Hi all, building JDK on Mac OSX 10.11.4 with Clang 7.3.0 fails with the error: x:~/Projects/jdk9_websocket $ make all Building target 'all' in configuration 'macosx-x86_64-normal-server-release' /Users/Xx/Projects/jdk9_websocket/hotspot/make/bsd/makefiles/gcc.make:341: *** "Update compil

Re: Building on Mac

2013-03-18 Thread Daniel Fuchs
Hi Peter, Did you 'install the command line tools' in Xcode? The fact that you have to refer to /Applications/Xcode.app/... let me think that perhaps you didn't. Start Xcode, go to preferences, and explore the different panes: there's one that will let you install the command line tools. If

Re: Building on Mac (David DeHaven)

2013-03-18 Thread Erik Joelsson
A few comments inline. On 2013-03-16 21:38, Mani Sarkar wrote: Hi, The OpenJDK adopters in the community have been testing out the steps lately to build OpenJDK on the MacOS and so far things are fine, we didn't need to install MacPort or have major issues with the Mac. You can have a look at

Re: Building on Mac

2013-03-17 Thread Peter Zhelezniakov
On Mar 18, 2013, at 3:41 AM, David Holmes wrote: > Are you trying to build OpenJDK or Oracle JDK? Oracle JDK -- I have jdk/make/closed and jdk/src/closed. I've parsed the output of --debug-configure, and realised I need the --enable-macosx-runtime-support option. With this option, configure req

Re: Building on Mac

2013-03-17 Thread David Holmes
Hi Peter, On 12/03/2013 6:06 PM, Peter Zhelezniakov wrote: Hello, I'm trying to build jdk8 on Mac, cannot get past the configuration step. Are you trying to build OpenJDK or Oracle JDK? There are a number of differences in the build requirements and processes. If the closed repos are found y

Re: Building on Mac (David DeHaven)

2013-03-16 Thread Mani Sarkar
Hi, The OpenJDK adopters in the community have been testing out the steps lately to build OpenJDK on the MacOS and so far things are fine, we didn't need to install MacPort or have major issues with the Mac. You can have a look at the steps if these help with your issues: http://java.net/projects

Re: Building on Mac

2013-03-15 Thread David DeHaven
>> It's not installed by default, and I'm not sure why you'd want to since >> Apple provides it. But if it's there that could be a concern. > > If you install subversion, you get file, and there are other things that (if > installed) will pull in subversion (e.g., trac). Ah Trac, how I remembe

Re: Building on Mac

2013-03-15 Thread Mike Duigou
On Mar 15 2013, at 17:15 , David Chase wrote: > > On 2013-03-15, at 5:17 PM, David DeHaven wrote: > >> It's not installed by default, and I'm not sure why you'd want to since >> Apple provides it. But if it's there that could be a concern. > > If you install subversion, you get file, and the

Re: Building on Mac

2013-03-15 Thread David Chase
On 2013-03-15, at 5:17 PM, David DeHaven wrote: > It's not installed by default, and I'm not sure why you'd want to since Apple > provides it. But if it's there that could be a concern. If you install subversion, you get file, and there are other things that (if installed) will pull in subver

Re: Building on Mac

2013-03-15 Thread David DeHaven
It's not installed by default, and I'm not sure why you'd want to since Apple provides it. But if it's there that could be a concern. Incidentally, someone else got a build working with brew so there's an alternative to MacPorts for those who don't want to use it. The only caveat is that brew

Re: Building on Mac

2013-03-15 Thread Mike Duigou
Be warned that if you use macports you'll need to make sure that ports is at the end of your path. The ports version of "file" doesn't correctly detect 64 bit executables. Mike On Mar 15 2013, at 13:49 , David Chase wrote: > For reference, I build on Mountain Lion, with latest XCode, recent XQ

Re: Building on Mac

2013-03-15 Thread David Chase
For reference, I build on Mountain Lion, with latest XCode, recent XQuartz, and some MacPorts. "grep opt/local config.log" produces: configure:6295: result: /opt/local/bin/gsed configure:8107: found /opt/local/bin/port configure:10420: found /opt/local/bin/pkg-config configure:10432: result: /op

Re: Building on Mac

2013-03-15 Thread David DeHaven
> Then it stumbled upon freetype, which it should not need either. I added > --with-freetype, but it failed to recognise .dylib as the library suffix: > > configure: error: Could not find libfreetype.so nor freetype.dll in > /opt/local/lib IIRC Freetype is required for libfontmanager when bui

Building on Mac

2013-03-15 Thread Peter Zhelezniakov
Hello, I'm trying to build jdk8 on Mac, cannot get past the configuration step. First configure asked for X11, which I believe is not needed on Mac. I worked around with --x-libraries. Then it stumbled upon freetype, which it should not need either. I added --with-freetype, but it failed to reco

Re: Could not instantiate Graphics Environment with building on mac

2013-01-30 Thread Chris Hegarty
On 01/30/2013 12:32 PM, Erik Joelsson wrote: I've seen this when running in an ssh session without a mac gui and using jdk7 (no updates) as boot jdk. Logging in with graphics or using at least 7u4 solved it for me. A more recent bootstrap jdk solved the problem. Thank you Eric. -Chris. /Er

Re: Could not instantiate Graphics Environment with building on mac

2013-01-30 Thread Weijun Wang
Have you installed XQuartz? On Jan 30, 2013, at 20:22, Chris Hegarty wrote: > > Anyone see this failure when trying to build on mac. I have the latest > jdk8/tl forest, as of 28th Jan. > > ## Starting jdk > Importing CORBA classes.jar > Importing CORBA src.zip > Importing CORBA bin.zip > Impo

Re: Could not instantiate Graphics Environment with building on mac

2013-01-30 Thread Erik Joelsson
I've seen this when running in an ssh session without a mac gui and using jdk7 (no updates) as boot jdk. Logging in with graphics or using at least 7u4 solved it for me. /Erik On 2013-01-30 13:22, Chris Hegarty wrote: Anyone see this failure when trying to build on mac. I have the latest jd

Could not instantiate Graphics Environment with building on mac

2013-01-30 Thread Chris Hegarty
Anyone see this failure when trying to build on mac. I have the latest jdk8/tl forest, as of 28th Jan. ## Starting jdk Importing CORBA classes.jar Importing CORBA src.zip Importing CORBA bin.zip Importing JAXP classes.jar Importing JAXP src.zip Importing JAXWS classes.jar Importing JAXWS src.z

Re: requirements for building on Mac?

2012-04-23 Thread Anthony Petrov
Hi Ray, JDK is buildable on 10.6. Please run Apple Software Update to install all the latest patches on your Snow Leopard system. This should update the FreeType lib as well. -- best regards, Anthony On 04/22/12 02:36, Ray Kiddy wrote: I am seeing differing statements about what is needed

requirements for building on Mac?

2012-04-21 Thread Ray Kiddy
I am seeing differing statements about what is needed to build jdk7u-dev. Which is correct? The page at http://code.google.com/p/openjdk-osx-build/ says "Packages built on SnowLeopard (10.6) and tested on SnowLeopard (10.6) and Lion (10.7)." The page at https://wikis.oracle.com/display/OpenJDK