Hi All,<div> I am installing llvm 3.1 and clang from the source on my Mac os x 10.5.8. I got this </div><div>error in the middle of the compilation process:</div><div><br></div><div><div>llvm[4]: Compiling InitHeaderSearch.cpp for Release+Asserts build</div>
<div>/Users/georgebaah/llvm3.1/llvm-3.1.src/tools/clang/lib/Frontend/InitHeaderSearch.cpp:29:10: fatal error: </div><div> 'clang/Config/config.h' file not found</div><div>#include "clang/Config/config.h" // C_INCLUDE_DIRS</div>
<div> ^</div><div>/Users/georgebaah/llvm3.1/llvm-3.1.src/tools/clang/lib/Frontend/InitHeaderSearch.cpp:237:26: error: use of undeclared</div><div> identifier 'C_INCLUDE_DIRS'</div><div> StringRef CIncludeDirs(C_INCLUDE_DIRS);</div>
<div> ^</div><div>2 errors generated.</div><div>make[4]: *** [/Users/georgebaah/llvm3.1/llvm-build/tools/clang/lib/Frontend/Release+Asserts/InitHeaderSearch.o] Error 1</div><div>make[3]: *** [Frontend/.makeall] Error 2</div>
</div><div><br></div><div>Can someone let me know what the problem is? Thanks.</div><div><br></div><div>George</div>