elinks with js support where is it ?
or
where can I download it libmozjs185-dev ?
Serg
elinks with js support where is it ?
or
where can I download it libmozjs185-dev ?
Serg
@skoltogyan Hi, grab the src rpm, rebuild as your user and enable js support with the bcond?
https://build.opensuse.org/package/show/network/elinks
look: “elinks_with_js”
libmozjs185-dev is required to rebuild elinks.
Serg
@skoltogyan If you looked at the spec file you would see the requirements used for the openSUSE version with js support (pkgconfig(mujs)), the link you showed is over five years old and irrelevant for openSUSE, the current version is 4 months old.
elink.spec:
…
18: %if 0%{?suse_version} > 1500
19: %bcond_without js
20: %else
21: %bcond_with js
22: %endif
…
If I understood the spec file correctly - for the current version of opensuse - without js support ?
@skoltogyan yes, easier to edit out of the spec file and the references in build requires and in the configure entry. You also need to change;
BuildRequires: pkgconfig(libxml++-5.0)
To (for leap 15.5)
BuildRequires: pkgconfig(libxml++-3.0)
Then should see in the output;
[ 39s] checking for machine/console.h... no
[ 39s] checking for MuJS in pkg-config... yes <==
[ 39s] checking for QuickJS... disabled
and
[ 46s] ECMAScript (JavaScript) ......... yes <==
[ 46s] Browser scripting ............... Lua, Perl, Ruby
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.