JS is Mozilla's JavaScript engine written in C. This package is present for GJS.
This package is known to build and work properly using an LFS-8.2 platform.
Download (HTTP): http://ftp.gnome.org/pub/gnome/teams/releng/tarballs-needing-help/mozjs/mozjs-52.2.1gnome1.tar.gz
Download (FTP): ftp://ftp.gnome.org/pub/gnome/teams/releng/tarballs-needing-help/mozjs/mozjs-52.2.1gnome1.tar.gz
Download MD5 sum: 72bd9a715ed1ab70b2aebe92969f6b63
Download size: 36 MB
Estimated disk space required: 627 MB
Estimated build time: 6.4 SBU
Autoconf-2.13, ICU-60.2, NSPR-4.18, Python-2.7.14, Xorg Libraries, yasm-1.3.0, and Zip-3.0
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/js52
Install JS by running the following commands:
cd js/src && ./configure --prefix=/usr \ --with-intl-api \ --with-system-zlib \ --with-system-nspr \ --with-system-icu \ --enable-threadsafe \ --enable-readline && make
This package does not come with a working test suite.
Now, as the root
user:
make install
--with-*
: These parameters
allow the build system to use system versions of the above
libriares. These are required for stability.
--enable-readline
: This
switch enables Readline support in the JS shell.
--enable-threadsafe
: This
switch enables support for multiple threads at one time. This
increases performance as well as stability.
Last updated on 2018-02-25 15:41:39 -0800