I'm attempting to build on Scientific Linux 7.1. I've made good progress,
but I just hit another error. The build can't find ioctl.h; it exists, just
not in the location the build system is looking for it:
I’d imagine you would have to look into Pull Request #282
<https://github.com/apple/swift/pull/282> and stdlib/public/Glibc/
module.map.in.
Right now they’re making it look in /usr/include/sys/ rather than
/usr/include/x86_64-linux-gnu/sys/.
···
On Wed, Dec 9, 2015 at 12:04 AM, Lane Schwartz via swift-users < swift-users@swift.org> wrote:
Hi,
I'm attempting to build on Scientific Linux 7.1. I've made good progress,
but I just hit another error. The build can't find ioctl.h; it exists, just
not in the location the build system is looking for it:
Thanks. I'd like to test this fix on Scientific Linux 7.1, but I'm having
trouble applying the patch. I replaced stdlib/public/Glibc/CMakeLists.txt
with the version from this commit, and likewise removed
stdlib/public/Glibc/module.map and added the stdlib/public/Glibc/
module.map.in from this commit.
But after doing so, the build doesn't know how to create
stdlib/public/Glibc/module.map:
- /home/lanes/cmake-3.4.1-Linux-x86_64.binary_distribution/bin/cmake
--build /home/lanes/swift/build/Ninja-DebugAssert/swift-linux-x86_64 -- all
swift-stdlib-linux-x86_64 ninja: error:
'/home/lanes/swift/swift/stdlib/public/Glibc/module.map', needed by
'lib/swift/glibc', missing and no known rule to make it
How should this fix be applied? Sorry for such a simple question - I'm
fairly new to cmake and don't know ninja at all.
···
On Wed, Dec 9, 2015 at 1:50 AM, Johan Jensen <jj@johanjensen.dk> wrote:
I’d imagine you would have to look into Pull Request #282
<https://github.com/apple/swift/pull/282> and stdlib/public/Glibc/
module.map.in.
Right now they’re making it look in /usr/include/sys/ rather than
/usr/include/x86_64-linux-gnu/sys/.
On Wed, Dec 9, 2015 at 12:04 AM, Lane Schwartz via swift-users < > swift-users@swift.org> wrote:
Hi,
I'm attempting to build on Scientific Linux 7.1. I've made good progress,
but I just hit another error. The build can't find ioctl.h; it exists, just
not in the location the build system is looking for it:
--
When a place gets crowded enough to require ID's, social collapse is not
far away. It is time to go elsewhere. The best thing about space travel
is that it made it possible to go elsewhere.
-- R.A. Heinlein, "Time Enough For Love"
Never mind. I didn't have the right remote branch (the one with the fix)
checked out.
···
On Wed, Dec 9, 2015 at 12:56 PM, Lane Schwartz <dowobeha@gmail.com> wrote:
Thanks. I'd like to test this fix on Scientific Linux 7.1, but I'm having
trouble applying the patch. I replaced stdlib/public/Glibc/CMakeLists.txt
with the version from this commit, and likewise removed
stdlib/public/Glibc/module.map and added the stdlib/public/Glibc/
module.map.in from this commit.
But after doing so, the build doesn't know how to create
stdlib/public/Glibc/module.map:
- /home/lanes/cmake-3.4.1-Linux-x86_64.binary_distribution/bin/cmake
--build /home/lanes/swift/build/Ninja-DebugAssert/swift-linux-x86_64 -- all
swift-stdlib-linux-x86_64 ninja: error:
'/home/lanes/swift/swift/stdlib/public/Glibc/module.map', needed by
'lib/swift/glibc', missing and no known rule to make it
How should this fix be applied? Sorry for such a simple question - I'm
fairly new to cmake and don't know ninja at all.
On Wed, Dec 9, 2015 at 1:50 AM, Johan Jensen <jj@johanjensen.dk> wrote:
I’d imagine you would have to look into Pull Request #282
<https://github.com/apple/swift/pull/282> and stdlib/public/Glibc/
module.map.in.
Right now they’re making it look in /usr/include/sys/ rather than
/usr/include/x86_64-linux-gnu/sys/.
On Wed, Dec 9, 2015 at 12:04 AM, Lane Schwartz via swift-users < >> swift-users@swift.org> wrote:
Hi,
I'm attempting to build on Scientific Linux 7.1. I've made good
progress, but I just hit another error. The build can't find ioctl.h; it
exists, just not in the location the build system is looking for it:
--
When a place gets crowded enough to require ID's, social collapse is not
far away. It is time to go elsewhere. The best thing about space travel
is that it made it possible to go elsewhere.
-- R.A. Heinlein, "Time Enough For Love"
--
When a place gets crowded enough to require ID's, social collapse is not
far away. It is time to go elsewhere. The best thing about space travel
is that it made it possible to go elsewhere.
-- R.A. Heinlein, "Time Enough For Love"