ERROR: MediaTomb was compiled without js support, however you specified “js” to be used for the virtual-layout.
To remedy the situation, the first thing you need to do is to install libjs (SpiderMonkey).
Next you need to download the MediaTomb source (line 2 below) and all its development dependencies (line 1) so that it can be rebuilt with the newly installed libjs (change to root first, or prefix the lines below with “sudo”).
apt-get build-dep mediatomb apt-get source mediatomb vim mediatomb-0.12.0~svn2018/debian/rules
In the debian/rules file, search for MEDIATOMB_CONFIG_OPTIONS and change –disable-libjs to –enable-libjs. You should also update the changelog file (in the same debian directory) and perhaps the mediatomb_0.12.0~svn2018-6ubuntu2.dsc file to change the version. When done with the edits, run
dpkg-buildpackage -rfakeroot -us -uc from the same directory you executed “apt-get” in.
If all goes well, you should see 3 new deb files in your current directory. Install them all (
To revert back to the original:
apt-get install --reinstall mediatomb