title: Error while building LLVM/clang
body: <p>I was trying to build LLVM/clang in HOME directory without sudo access following this link (<a href="http://clang.llvm.org/get_started.html" rel="nofollow">http://clang.llvm.org/get_started.html</a>)</p>
  
  <p>But when I type 'make' this happens</p>
  
  <pre><code>Error running link command: No such file or directory
  make[2]: *** [lib/libLLVMSupport.a] Error 2
  make[2]: Leaving directory `/home/skataka/porple_tools/build'
  make[1]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/all] Error 2
  make[1]: Leaving directory `/home/skataka/porple_tools/build'
  make: *** [all] Error 2
  $ Write failed: Broken pipe
  </code></pre>
  
  <p>I have used make VERBOSE=1 and it says CMAKE-AR NOT FOUND</p>
  
  <p>Edit:</p>
  
  <p>Changed CMakeCXXCompiler.cmake file - SET(CMAKE_AR "path to llvm-ar")</p>
  
  <p>Now I am getting "Error running link command: Permission denied"</p>
  
  <p>Help me with this !</p>