
* Doug Smith bdsmith@buncombe.main.nc.us [20070612 22:15]:
Ok, I hate to do this. I really don't like to ask questions before finding the answer, but this one seems to be limited by information that does not seem to be true. It's probably outdated.
I need to build elinks with javascript support. I am one of your blind grmlers. I heard that it wasn't built into the stock Debian binary so I went testing.
[...]
Notice: libsmjs-dev you mentioned isn't present anymore (see http://packages.debian.org/changelogs/pool/main/x/xulrunner/current/changelo... for the transition), the development files are in libmozjs-dev now. The elinks_javascript.diff patch I attached to this mail works around this problem.
So, hack until JS support is included in the official Debian package:
sudo apt-get install libmozjs-dev libgnutls13 libgnutls-dev sudo apt-get build-dep elinks cd /tmp apt-get source elinks cd elinks-0.11.1 patch -p1 < ../elinks_javascript.diff sed -i 's/--without-spidermonkey//' debian/rules dch -i fakeroot debian/rules binary sudo dpkg -i ../elinks_0.11*.deb
regards, -mika-