Closed jkleiser closed 8 years ago
very interesting.
the problem is here: In file included from SYSTEM.c:16: src/lib/system/darwin/clang/x86_64/SYSTEM.h:14:10: fatal error: 'alloca.h' file not found
it seems that macosx machine on which I build and test voc, has this headers, while your machine - does not, for some reason.
I do not own that machine, and I did not install it. I only connect to it via ssh. The owner told me that he has XCode installed. Do you have any idea, why your system lacks /usr/include/alloca.h and how can it be installed on mac?
I'll make a research on this topic.
can you run this:
cd /usr/include find . | grep alloca
find . | grep malloc
I will try that, probably later today. I am now working on another Mac, and I will report a problem in another issue (soon).
mac3:voc jkleiser$ cd /usr/include
-bash: cd: /usr/include: No such file or directory
seems that you have no development libraries installed. sorry i was not able to find out how to install them on osx so far. (was busy with development). will update you.
also see my comment on the other issue you have opened.
I now found the reason for the missing /usr/include. It's a feature of "El Capitan", i.e. OSX 10.11. I had Xcode 7.2 installed, and I was able to build other tools based on LLVM (e.g. Pony), but I didn't have /usr/include (as I had on the other Mac with OSX 10.10). The secret command to use to get /usr/include was "xcode-select --install". See http://galvanist.com/post/130990812761/el-capitans-usrinclude. Now I have built and installed voc successfully on El Capitan, and compiled and run MyHelloWorld.
very interesting! as far as I understand this SIP didn't allow installer to install development files in to /usr/include.
I will add it to the docs (probably f.a.q) before closing the issue.
I just tried 'make -f makefile.darwin.clang.x86_64' on my Mac (OSX 10.11.2), and got "make: *\ [stage5] Error 1". See attached file for details. stage5error.txt