Prerequisites on installing Spidermonkey
-
22-08-2019 - |
Question
Considering there is no Mozilla related engines installed on a linux machine. What are the specific libraries or engines needed to successfully install Spidermonkey?
Solution
Having built Spidermonkey myself some time ago, I think there are actually no dependencies other than the standard clib and some posix stuff for things like the JS URI Objects.
There's the Mozilla Linux Build Prerequisites, if you want to build it as part of the mozilla tree, although the actual dependencies of Spidermonkey are considerably less.
OTHER TIPS
I don't think it needs to be part of a Mozilla. I am working on a very resource-limited machine thats why I want to know what are the needed libraries to be able to compile Spidermonkey to become a library. I want to make a C application that uses Spidermonkey for its Javascript capability.
If your machine runs Ubuntu you can try using the Spidermonkey package from Launchpad Developers PPA. You can check the package build dependencies for such list.
sudo apt-add-repository ppa:launchpad/ppa
sudo apt-get update
sudo apt-get install spidermonkey-bin