building libdispatch on El Capitan


(Drew Crawford) #1

I'm having some trouble building libdispatch on el capitan. I opened an issue a week ago: https://bugs.swift.org/browse/SR-449

The problem seems to be that os/lock_private.h doesn't exist. I've searched my whole system for this header, and can not find it in any location.

The installation instructions mention a libplatform <https://github.com/apple/swift-corelibs-libdispatch/blob/master/INSTALL#L90>, I wonder if the header might be in there. However I cannot actually find any libplatform on opensource.apple.com <http://opensource.apple.com/release/os-x-10112/>. Not sure if related or a red herring.

If someone can reply here with a configure/make invocation that builds successfully on El Cap I'd be grateful.

Since El Cap *ships* with a libdispatch I wonder if nobody has tried to build from github. Alternatively I must be missing something obvious, which is entirely possible as I am quite poor with autotools.

Thanks in advance.


(Tony Parker) #2

Hi Drew,

Unfortunately you are correct. We are aware that the open source version of dispatch will not build on OS X due to missing dependencies. The one on GitHub is focused on the Linux port at the moment, but we will update the list if there is any change in the status of the dependencies required to build on OS X.

Thanks,
- Tony

ยทยทยท

On Jan 11, 2016, at 5:07 AM, Drew Crawford via swift-corelibs-dev <swift-corelibs-dev@swift.org> wrote:

I'm having some trouble building libdispatch on el capitan. I opened an issue a week ago: https://bugs.swift.org/browse/SR-449

The problem seems to be that os/lock_private.h doesn't exist. I've searched my whole system for this header, and can not find it in any location.

The installation instructions mention a libplatform <https://github.com/apple/swift-corelibs-libdispatch/blob/master/INSTALL#L90>, I wonder if the header might be in there. However I cannot actually find any libplatform on opensource.apple.com <http://opensource.apple.com/release/os-x-10112/>. Not sure if related or a red herring.

If someone can reply here with a configure/make invocation that builds successfully on El Cap I'd be grateful.

Since El Cap *ships* with a libdispatch I wonder if nobody has tried to build from github. Alternatively I must be missing something obvious, which is entirely possible as I am quite poor with autotools.

Thanks in advance.

_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev