[lldb-dev] unable to build lldb on linux
Thiago Farina
tfarina at chromium.org
Fri Apr 4 21:45:13 PDT 2014
Hi,
I tried to follow the instruction I found in
http://lldb.llvm.org/build.htmlbut I'm unable to build lldb.
The structure of my source three is:
~/llvm-clang
|__build (normal dir)
|__llvm (git)
|__tools
|__clang (git)
|__lldb (git)
I ran `sudo apt-get build-dep lldb-3.3`
Then from ~/llvm-clang/build, I ran `cmake ../llvm -G Ninja
-DLLVM_ENABLE_CXX11=ON
This might be relevant:
CMake Warning (dev) at tools/lldb/source/CMakeLists.txt:289
(add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
The dependency target
"/home/tfarina/llvm-clang/build/tools/lldb/scripts/LLDBWrapPython.cpp" of
target "liblldb" does not exist.
By the end, I ran `ninja lldb 2>&1 | tee ninja.log`
Log with output attached.
$ clang -v
clang version 3.5.0 (trunk 204777)
Target: x86_64-unknown-linux-gnu
Thread model: posix
Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/4.8
Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/4.8.1
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.5
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.5.3
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.6
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.6.4
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.7
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.7.3
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8.1
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.7
What am I missing?
Thanks in advance!
NOTE: I'm not subscribed to this list, so please keep me in the CC list
when replying.
--
Thiago Farina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140405/4489ac6d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ninja.log
Type: text/x-log
Size: 61982 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140405/4489ac6d/attachment.bin>
More information about the lldb-dev
mailing list