- I've got the latest elinks (2018-03-02) from git cloned under my home directory.
- libmozjs-dev 24.8.1esr-2~deb7u1 from the Debian repos.
CONFIG_SCRIPTING_SPIDERMONKEY=yesIs turned on in features.conf.
configure output and features.log:
config.log has the following:
configure:9236: checking for SpiderMonkey (1.8.5 or later) in pkg-config mozjs185 Package mozjs185 was not found in the pkg-config search path. Perhaps you should add the directory containing `mozjs185.pc' to the PKG_CONFIG_PATH environment variable No package 'mozjs185' found configure:9282: result: no configure:9236: checking for SpiderMonkey (1.8.5 or later) in pkg-config mozilla-js configure:9270: gcc -o conftest -g -O2 -Wall -include /usr/include/mozjs/mozjs/js/RequiredDefines.h -I/usr/include/nspr -I/usr/include/mozjs -include /usr/include/mozjs/mozjs/js/RequiredDefines.h -I/usr/include/nspr -I/usr/include/mozjs conftest.c -lmozjs -ldl -lz -lbz2 >&5 cc1: fatal error: /usr/include/mozjs/mozjs/js/RequiredDefines.h: No such file or directory compilation terminated.
There is a directory
/usr/include/mozjs but it doesn't have a child directory
mozjs. There exists a
/usr/include/mozjs/js/RequiredDefines.h, so I think I'm on the right track. It sort of looks like the installed SpiderMonkey is not recent enough, but I don't know whether version "24.8.1" is in the same timeline as the "1.8.5" that the configure script is looking for -- perhaps it's too new and elinks got left behind. The 1.8.5 version requirement was added to the elinks
NEWS file in 2011... on the other hand the repo has commits as recently as last year.