Closed certik closed 8 years ago
When building the examples/hd_base.Darwin.yaml I get:
examples/hd_base.Darwin.yaml
... [gcc] else \ [gcc] cp ../.././gcc/gsyslimits.h ${fix_dir}/syslimits.h; \ [gcc] fi; \ [gcc] chmod a+r ${fix_dir}/syslimits.h; \ [gcc] done; \ [gcc] fi [gcc] The directory that should contain system headers does not exist: [gcc] /usr/include [gcc] make[3]: *** [stmp-fixinc] Error 1 [gcc] make[3]: *** Waiting for unfinished jobs.... [gcc] rm gcc.pod [gcc] make[2]: *** [all-stage1-gcc] Error 2 [gcc] make[1]: *** [stage1-bubble] Error 2 [gcc] make: *** [all] Error 2 [gcc|ERROR] Command '[u'/bin/bash', '_hashdist/build.sh']' returned non-zero exit status 2 [gcc|ERROR] command failed (code=2); raising
Ok, this is due to http://superuser.com/questions/995360/missing-usr-include-in-os-x-el-capitan
I fixed it using http://galvanist.com/post/130990812761/el-capitans-usrinclude
When building the
examples/hd_base.Darwin.yaml
I get: