llnode - installation problem
[email protected] preinstall /home/rumen/.npm-global/lib/node_modules/llnode node scripts/configure.js
Build dir is: /home/rumen/.npm-global/lib/node_modules/llnode Looking for lldb executable... Found lldb executable /usr/bin/lldb
Reading lldb version... Installing llnode for /usr/bin/lldb, lldb version 10.0
Looking for llvm-config for lldb 10.0... No llvm-config found
Looking for headers for lldb 10.0... Found lldb headers in /usr/include
Looking for shared libraries for lldb 10.0... From ldd: /usr/bin/lldb loads /lib/x86_64-linux-gnu/liblldb-10.so.1 Found liblldb-10.so in /lib/x86_64-linux-gnu Writing config.gypi: { "variables": { "lldb_lib_dir%": "/lib/x86_64-linux-gnu", "lldb_lib%": "lldb-10", "lldb_include_dir%": "/usr/include", "build_addon": "false", "coverage": "false" } } Writing llnode.js shortcut to /home/rumen/.npm-global/lib/node_modules/llnode/llnode.js /home/rumen/.npm-global/bin/llnode -> /home/rumen/.npm-global/lib/node_modules/llnode/llnode.js
[email protected] install /home/rumen/.npm-global/lib/node_modules/llnode node scripts/install.js
make: Entering directory '/home/rumen/.npm-global/lib/node_modules/llnode/build'
CXX(target) Release/obj.target/plugin/src/constants.o
CXX(target) Release/obj.target/plugin/src/error.o
CXX(target) Release/obj.target/plugin/src/llnode.o
CXX(target) Release/obj.target/plugin/src/llv8.o
../src/llv8.cc:736:36: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs]
736 | RETURN_IF_INVALID(name, "Symbol(???)");
|
CXX(target) Release/obj.target/plugin/src/llv8-constants.o
CXX(target) Release/obj.target/plugin/src/llscan.o
../src/llscan.cc: In member function ‘virtual bool llnode::FindReferencesCmd::DoExecute(lldb::SBDebugger, char**, lldb::SBCommandReturnObject&)’:
../src/llscan.cc:568:22: warning: ‘scanner’ may be used uninitialized in this function [-Wmaybe-uninitialized]
568 | ScanForReferences(scanner);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~
CXX(target) Release/obj.target/plugin/src/printer.o
../src/printer.cc: In member function ‘std::string llnode::Printer::Stringify(T, llnode::Error&) [with T = llnode::v8::JSArrayBuffer; Actual = llnode::v8::JSArrayBuffer; std::string = std::__cxx11::basic_string
[email protected] postinstall /home/rumen/.npm-global/lib/node_modules/llnode node scripts/cleanup.js
Moving /home/rumen/.npm-global/lib/node_modules/llnode/build/Release/plugin.so to /home/rumen/.npm-global/lib/node_modules/llnode/llnode.so
llnode plugin installed, load in lldb with:
(lldb) plugin load /home/rumen/.npm-global/lib/node_modules/llnode/llnode.so
or copy plugin to lldb system plugin directory see https://github.com/nodejs/llnode
The version is Ubuntu 20.04! But connot run the llnode?
What should I do next?
Thank you
Hey @RumenStoev
Why do you think you cannot run llnode?
There are warnings in your output but the compile seems to go through ok and it looks like llnode.so is copied to the right place
Moving /home/rumen/.npm-global/lib/node_modules/llnode/build/Release/plugin.so to /home/rumen/.npm-global/lib/node_modules/llnode/llnode.so
What happens when you run llnode on the commandline?
This has gone stale and we have released improvements for Node.JS 14,16,18 as part of v4.0.0 Please open a new issue if you are still running into problems with the new release.