If you're having trouble or are missing dependencies, refer to [https://developer.mozilla.org/en/SpiderMonkey/Build_Documentation#Building_SpiderMonkey_tip Building SpiderMonkey Tip].
''Note'': <tt>VPATH</tt> builds, also called out-of-source builds, must be used, hence the <tt>mkdir</tt> above is not an options. Moreover it It is not sufficient to have ''autoconf'' installed on your system, that happens to have the version 2.13. For the <tt>../configure</tt> process a binary called <tt>autoconf2.13</tt> or <tt>autoconf-2.13</tt> must be on your <tt>$PATH</tt>. If the <tt>python</tt> binary on your <tt>$PATH</tt> happens to be version 3, prefix the call to <tt>../configure</tt> with something like <tt>PYTHON=/usr/local/bin/python2 ../configure</tt>.
=== Fix something ===