X11/Intrinsic.h not found, ALT_X11_PATH=/opt/X11

David DeHaven david.dehaven at oracle.com
Tue Jan 8 00:45:29 UTC 2013


Yeah, that should work, as long as make is set up to handle the environment correctly :)

-DrD-

> So all we need to do is:
> 
> export MACOSX_DEPLOYMENT_TARGET=10.7
> 
> ???
> 
> That would be easy.
> 
> -kto
> 
> On Jan 7, 2013, at 3:32 PM, David DeHaven wrote:
> 
>> 
>> Yes, generally added to CFLAGS. Both compilers (clang and gcc) support this option and will also pick up MACOSX_DEPLOYMENT_TARGET from the environment if -mmacosx-version-min is not given on the command line. By default this is set to the version of the OS it was built on, so if someone builds on 10.8.2 it won't run on anything earlier.
>> 
>> If you're calling ld directly then pass "-macosx_version_min version" instead.
>> 
>> -DrD-
>> 
>>> Yeah, that's it   -mmacosx-version-min=10.7
>>> 
>>> it needs to be added to all compile and link lines as I recall.
>>> 
>>> -kto
>>> 
>>> On Jan 7, 2013, at 1:05 PM, David DeHaven wrote:
>>> 
>>>> 
>>>> -mmacosx-version-min=version ?
>>>> 
>>>> -DrD-
>>>> 
>>>>> In order for the bits  created on 10.8 to work on 10.7 (which is what we ultimately need), there was
>>>>> supposedly some kind of compiler option we need to make sure was used on all compiles.
>>>>> 
>>>>> I don't have that spelling on the option right now, apparently beehive deleted my email stash. :^(
>>>>> 
>>>>> -kto
>>>>> 
>>>>> On Jan 7, 2013, at 1:43 AM, Alan Bateman wrote:
>>>>> 
>>>>>> 
>>>>>> I upgraded a Mac to 10.8.2 and Xcode 4.5.2 over the break, now I'm trying to get the jdk7u/jdk7u-dev, jdk8/tl and jigsaw/jigsaw forests building again. I installed XQuartz 2.7.2 so I have X11 and jdk8/tl builds fine with the new build (except for the "images" target, there's an issue with sed there).
>>>>>> 
>>>>>> For the old build (jdk7u-dev and jigsaw) then AWT won't build because it can't find X11/Intrinsic.h. With XQuartz then it looks like the X11 bits are in /opt/X11. The include files are there so I tried to build with ALT_X11_PATH=/opt/X11 but that doesn't help. Is there anything else I need to know?
>>>>>> 
>>>>>> -Alan
>>>>> 
>>>> 
>>> 
>> 
> 




More information about the build-dev mailing list