> Errors of ' No such file or directory ' during compile would presumably indicate that your path isn't set up correctly. Missing an include folder or something? What files does it report as not being found?
Yeah, this is my thought too, but its not obvious what to change.
googling the error message has not been revealing, unfortunately.
re-installing Xcode and or its tools has not helped.
This is the first error I get (when compiling pyo manually, or using
pip or macports for things):
/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/include/limits.h:15:25:
error: limits.h: No such file or directory
I definitely do have that file (with read permission for ugo), can
view its contents, etc. Trying to compile ends with a gcc failed
error. Xcode 4.5+ uses clang but I am getting a gcc error, which might
be another clue, not sure what to make of it. both clang and gcc are
in /usr/bin/
Sol writes (but this does not work for me, same error. maybe 10.8 or
xcode 4.6 are different yet again):
many of the installers compile c code. At least on 10.7, the cause
cause big trouble. It all seems to stem from many installers expecting
the OSX10.6sdk folder in a specific dir. On OSX 10.7' Apple failed to
include the 10.6 SDK, and they moved the SDK location for 10.7, 10.8.
All these C compiling issues can be fixed, when using Xcode 4.4, by
adding a copy of the osX10.6sdk folder to the path it used to be in,
so the compilers can file the SDK.
link to a 10.6sdk zipped:
https://dl.dropbox.com/u/4486028/Wineskin%20Engines/MacOSX10.6.sdk.zip
Unzip and put the 10.6sdk folder to: /Developer/SDKs ,
which is where previous version of Xcode kept the SDKs, but do not do
so in Xcode 4.4 and above I guess. could also likely sim link it to
the path that SDKs are now kept in Xcode 4.4 +:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs