OS X El Capitan & freetype

Dan Smith daniel.smith at oracle.com
Thu Oct 1 21:47:04 UTC 2015


Could be, but I don't care at all about running X11.  I just want "make images" to work.

I'm a little fuzzy on the details here -- who created /usr/X11R6 (it seems to be present on all vanilla Yosemite Macs around my house, but without headers), who created /usr/X11, what the XQuartz installer does.  But I can reliably say that XQuartz installs its files in /opt/X11, and that it should not be hard for the configure script to detect that location.

—Dan

> On Oct 1, 2015, at 3:40 PM, Philip Race <philip.race at oracle.com> wrote:
> 
> On an Apple list it was noted that this 10.11 feature also partially breaks the
> Xserver since files that it needs to place in /System/Fonts are no longer allowed.
> I think a lot of people are going to find they need to disable this feature.
> 
> -phil.
> 
> On 10/1/15, 2:20 PM, Dan Smith wrote:
>> The OS X El Capitan installer cleans out the /usr directory, including /usr/X11R6.  This is part of the System Integrity Protection feature [1], which also blocks future third-party installs from writing to that location.
>> 
>> Result: configure breaks when it can't find freetype, even after I've re-installed XQuartz.
>> 
>> The files can be found in /opt/X11; there's also a symbolic link from /usr/X11 (I'm not sure how that came to be, or why the config script doesn't try it).
>> 
>> Workaround:
>> 
>> sh configure --with-freetype-include=/opt/X11/include/freetype2 --with-freetype-lib=/opt/X11/lib
>> 
>> —Dan
>> 
>> [1] https://en.wikipedia.org/wiki/System_Integrity_Protection




More information about the build-dev mailing list