<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 --- - llvm-config.cpp:45:10: fatal error: 'LibraryDependencies.inc' file not found #include "LibraryDependencies.inc""
   href="http://llvm.org/bugs/show_bug.cgi?id=19158">19158</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>llvm-config.cpp:45:10: fatal error: 'LibraryDependencies.inc' file not found #include "LibraryDependencies.inc"
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>3.4
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </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>-New Bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>noloader@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I fetched Clang 3.4 with the recipe below. I'm hitting an error while
attempting to compile:

llvm-config.cpp:45:10: fatal error: 'LibraryDependencies.inc' file not found
#include "LibraryDependencies.inc"

Full ouptut is:

llvm[1]: Compiling llvm-config.cpp for Release+Asserts build
llvm-config.cpp:45:10: fatal error: 'LibraryDependencies.inc' file not found
#include "LibraryDependencies.inc"
         ^
1 error generated.
/bin/rm: cannot remove
`/home/jwalton/scratch-llvm/llvm-3.4/tools/llvm-config/Release+Asserts/llvm-config.d.tmp':
No such file or directory
make[1]: ***
[/home/jwalton/scratch-llvm/llvm-3.4/tools/llvm-config/Release+Asserts/llvm-config.o]
Error 1
make[1]: Leaving directory
`/home/jwalton/scratch-llvm/llvm-3.4/tools/llvm-config'
make: *** [all] Error 1

Sure enough, its missing:

$ find . -iname LibraryDependencies.inc
$

I've run through the recipe three or four times in the past, so I know it used
to work.

Any ideas how to proceed?

Thanks in advance.

**********

# Fetch
wget <a href="http://llvm.org/releases/3.4/llvm-3.4.src.tar.gz">http://llvm.org/releases/3.4/llvm-3.4.src.tar.gz</a>
wget <a href="http://llvm.org/releases/3.4/clang-3.4.src.tar.gz">http://llvm.org/releases/3.4/clang-3.4.src.tar.gz</a>
wget <a href="http://llvm.org/releases/3.4/compiler-rt-3.4.src.tar.gz">http://llvm.org/releases/3.4/compiler-rt-3.4.src.tar.gz</a>
# wget <a href="http://llvm.org/releases/3.4/lldb-3.4.src.tar.gz">http://llvm.org/releases/3.4/lldb-3.4.src.tar.gz</a>

# LLVM
tar xvf llvm-3.4.src.tar.gz
cd llvm-3.4/tools

# Clang Front End
tar xvf ../../clang-3.4.src.tar.gz
mv clang-3.4 clang

# LLDB
# tar xvf ../../lldb-3.4.src.tar.gz
# mv lldb-3.4.src/ lldb

# Compiler RT
cd ..
cd projects
tar xvf ../../compiler-rt-3.4.src.tar.
gz
mv compiler-rt-3.4/ compiler-rt

# Build
cd ..
./configure --enable-optimized --prefix=/usr/local
make -j4
sudo make install</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>