hashdist / hashstack

Collection of software profiles for HashDist
https://hashdist.github.io/
51 stars 60 forks source link

OS X El Capitan: gcc fails #903

Closed certik closed 8 years ago

certik commented 8 years ago

When building the examples/hd_base.Darwin.yaml I get:

...
[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
certik commented 8 years ago

Ok, this is due to http://superuser.com/questions/995360/missing-usr-include-in-os-x-el-capitan

certik commented 8 years ago

I fixed it using http://galvanist.com/post/130990812761/el-capitans-usrinclude