User Tools

Site Tools


spidermonkey

This is an old revision of the document!


Spidermonkey

Spidermonkey (libjs) is the Javascript engine used my Mozilla. JavaScript::SpiderMonkey (JS::SM) is the Perl wrapper for libjs.

Installation

  1. Remove any existing libjs and JS::SM from your system.
  2. Get libjs 1.6 (js-1.60.tar.gz) or greater from: Mozilla
    1. unpack the source bundle
    2. cd js/src && make -f Makefile.ref
    3. Installing libjs in a well-known directory is not required if all you need is JS::SM. JS::SM will link directly to the libraries found in js/src/Linux_All_DBG.OBJ/. However, if you do wish to install libjs from this build, it will be necessary to manually copy libjs.so, libjs.a (and header files if desired) to a well-known directory. (e.g. /usr/lib and /usr/include)
  3. Install JS::SM version 0.17 by hand
    1. Get JS::SM source from CPAN.
    2. Unpack JS::SM in the same top-level directory where the "js" directory lives and build:
    3. perl Makefile.PL -E4X && make && make install
spidermonkey.1178727453.txt.gz · Last modified: 2022/02/10 13:33 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.