<div dir="ltr">Hi,<div><br></div><div>I tried to follow the instruction I found in <a href="http://lldb.llvm.org/build.html">http://lldb.llvm.org/build.html</a> but I'm unable to build lldb.</div><div><br></div><div>The structure of my source three is:</div>
<div><br></div><div>~/llvm-clang</div><div> |__build (normal dir)</div><div> |__llvm (git)</div><div> |__tools</div><div> |__clang (git)</div><div> |__lldb (git)</div><div>
<br></div><div>I ran `sudo apt-get build-dep lldb-3.3`</div><div>Then from ~/llvm-clang/build, I ran `cmake ../llvm -G Ninja -DLLVM_ENABLE_CXX11=ON</div><div><br></div><div>This might be relevant:</div><div><div>CMake Warning (dev) at tools/lldb/source/CMakeLists.txt:289 (add_dependencies):</div>
<div> Policy CMP0046 is not set: Error on non-existent dependency in</div><div> add_dependencies. Run "cmake --help-policy CMP0046" for policy details.</div><div> Use the cmake_policy command to set the policy and suppress this warning.</div>
<div><br></div><div> The dependency target</div><div> "/home/tfarina/llvm-clang/build/tools/lldb/scripts/LLDBWrapPython.cpp" of</div><div> target "liblldb" does not exist.</div><div><br></div><div>By the end, I ran `ninja lldb 2>&1 | tee ninja.log`</div>
<div><br></div><div>Log with output attached.</div><div><br></div><div><div>$ clang -v</div><div>clang version 3.5.0 (trunk 204777)</div><div>Target: x86_64-unknown-linux-gnu</div><div>Thread model: posix</div><div>Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/4.8</div>
<div>Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/4.8.1</div><div>Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.5</div><div>Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.5.3</div>
<div>Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.6</div><div>Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.6.4</div><div>Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.7</div>
<div>Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.7.3</div><div>Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8</div><div>Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8.1</div>
<div>Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.7</div></div><div><br></div><div>What am I missing?</div><div><br></div><div>Thanks in advance!</div><div><br></div><div>NOTE: I'm not subscribed to this list, so please keep me in the CC list when replying.</div>
<div><br></div>-- <br><div dir="ltr">Thiago Farina</div>
</div></div>