Closed
Description
Previous ID | SR-3751 |
Radar | None |
Original Reporter | Vladislav (JIRA User) |
Type | Bug |
Status | Closed |
Resolution | Invalid |
Environment
Linux
Additional Detail from JIRA
Votes | 0 |
Component/s | libdispatch |
Labels | Bug, BuildScript, Linux |
Assignee | dgrove-oss (JIRA) |
Priority | Medium |
md5: 94f55c4e7fb5077d3ade0240bbfb5576
relates to:
- SR-3771 error while loading shared libraries: libkqueue.so.0
Issue Description:
I have got the same build errors on both Gentoo and Linux From Scratch (LFS):
In file included from /mnt/swift/swift-source/swift-corelibs-libdispatch/src/allocator.c:21:
/mnt/swift/swift-source/swift-corelibs-libdispatch/src/internal.h:246:10: fatal error: 'sys/event.h' file not found
If I am not mistaken the event.h header is part of libevent library. Both systems have libevent installed but the event.h file is located in /usr/include but not in /usr/include/sys. /usr/include is standard installation for libevent headers.
It looks like cmake is not checking location for required files.