rkd77 / elinks

Fork of elinks
Other
350 stars 38 forks source link

[meson] enabling `sm-scripting` and `mujs` requires old `spidermonkey-102` or fails with `jsapi.h not found` #272

Open jopadan opened 11 months ago

jopadan commented 11 months ago
In file included from ../src/ecmascript/spidermonkey-shared.cpp:10:
../src/ecmascript/spidermonkey-shared.h:4:10: fatal error: jsapi.h: No such file or directory
    4 | #include <jsapi.h>
      |          ^~~~~~~~~
compilation terminated.
rkd77 commented 11 months ago

Yes, sm-scripting requires mozjs102, so it can collide with mujs. Enable spidermonkey in such case. There is many other scripting options, so don't think it is need to have js scripting with quickjs or mujs. lua, python, perl, ruby or guile seems sufficient. mozjs102 exists in repositories of many popular Linux distributions, so mozjs dependency won't be upgraded in ELinks this year.