Skip to content

Commit 8de8f7b

Browse files
committed
Add my fix to building on OS X
In the hope it will be helpful. I don't see another fix yet. And I'm apparently the only person suffering from this (so far)
1 parent b7c3fd9 commit 8de8f7b

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.pod

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,24 @@ to be executed from the command line. Each line entered is treated
7171
as a separate compilation unit, however (which means that subroutines
7272
are preserved after they are defined, but variables are not).
7373

74+
=head2 Troubleshooting
75+
76+
=head3 OS X
77+
78+
On OS X, it appears that configuration fails in some configurations:
79+
80+
3rdparty/libuv/include/uv-darwin.h:26:11: fatal error: 'mach/mach.h' file not found
81+
82+
Should this happen to you, then a solution might be the following:
83+
84+
$ cd MoarVM/3rdparty/libuv/include
85+
$ ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/mach
86+
$ cd ../../../..
87+
$ # run the Configure again
88+
89+
Note that the 10.9 in the above, represents the major version of OS X being
90+
used. On Mavericks use 10.9 (like above), on Yosemite use 10.10.
91+
7492
=head2 Differences from nqp-rx
7593

7694
NQP is the successor implementation of "nqp-rx" [2]. Unlike nqp-rx,

0 commit comments

Comments
 (0)