llnode icon indicating copy to clipboard operation
llnode copied to clipboard

Could not find any usable lldb executable

Open lcw0622 opened this issue 6 years ago • 3 comments

An error occured while executing npm install -g llnode, and I had already installed lldb. There is output:

[root@63675c114bd6 llnode]# npm install -g llnode

> [email protected] preinstall /usr/local/lib/node_modules/llnode
> node scripts/configure.js

Build dir is: /usr/local/lib/node_modules/llnode
Build dir is: /root
Looking for lldb executable...
Could not find any usable lldb executable

I find the reason : preinstall script scripts/lldb.js use command which to locate command lldb's path in function tryExecutables, but in Centos core version, they only have whereis. So I'm doubt is it necessary to add whereis support?

OS: CentOS Linux release 7.2.1511 (Core) in Docker lldb: lldb version 3.4.2 ( revision )

lcw0622 avatar Aug 17 '19 03:08 lcw0622

And whereis execute in CentOS results:

[root@63675c114bd6 ~]# whereis lldb
lldb: /usr/bin/lldb /usr/include/lldb /usr/share/man/man1/lldb.1.gz

lcw0622 avatar Aug 17 '19 03:08 lcw0622

Add fallback with whereis for CentOS sounds good. Do you mind sending in a PR?

joyeecheung avatar Sep 20 '19 00:09 joyeecheung

Hey, been a long time - were you able to fix this one?

tusharmctrl avatar May 10 '24 04:05 tusharmctrl