<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - InitHeaderSearch.cpp:17:51: fatal error: clang/Config/config.h: No such file or directory"
   href="http://llvm.org/bugs/show_bug.cgi?id=18312">18312</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>InitHeaderSearch.cpp:17:51: fatal error: clang/Config/config.h: No such file or directory
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.3
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>C++
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>its.svati@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>dgregor@apple.com, llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I get the following error when I try to build clang from source on a Debian 6
machine:

InitHeaderSearch.cpp:17:51: fatal error: clang/Config/config.h: No such file or
directory
compilation terminated.
/bin/rm: cannot remove
'/local/stiwari/llvm2/llvm-3.3.src/tools/cfe-3.3.src/lib/Frontend/Release+Asserts/InitHeaderSearch.d.tmp':
No such file or directory

The reproduction steps are:
1. Download LLVM and Clang source ( version 3.3) into the current directory.
Their path being ./llvm-3.3.src.tar.gz and ./cfe-3.3.src.tar.gz
2. Extract llvm by tar -zxvf llvm-3.3.src.tar.gz such that the llvm-3.3.src
folder is created.
3. cd llvm-3.3.src/tools
4. tar -zxvf ./../../cfe-3.3.src.tar.gz
5. cd ..
6. ./configure
7. make
8. cd tools/cfe-3.3.src
9. make</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>