%general-entities; ]> $LastChangedBy$ $Date$ JS-&JS60-version; js60 Introduction to JS JS is Mozilla's JavaScript engine written in C. &lfs91_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &js60-md5sum; Download size: &js60-size; Estimated disk space required: &js60-buildsize; Estimated build time: &js60-time; JS60 Dependencies Required , , , , and Optional User Notes: Installation of JS If you are upgrading JS60 from a previously installed old version, save all work and exit your GNOME Session if you have one running. Replacing the JS60 binary will cause the GNOME Shell to crash and return you to your display manager or TTY. After installing the new version, reinstall . Polkit is unaffected. Install JS by running the following commands: mkdir mozjs-build && cd mozjs-build && ../js/src/configure --prefix=/usr \ --with-intl-api \ --with-system-zlib \ --with-system-icu \ --disable-jemalloc \ --enable-readline && make This package does not come with a working test suite. Now, as the root user: make install Command Explanations --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. --disable-jemalloc: This switch disables the internal memory allocator used in JS60. jemalloc causes a conflict with glibc. Contents Installed Programs Installed Libraries Installed Directories js60 and js60-config libmozjs-60.so and libjs_static.ajs /usr/include/mozjs-60 Short Descriptions js60 provides a command line interface to the JavaScript engine. js60 js60-config is used to find the JS compiler and linker flags. js60-config libmozjs-60.so contains the Mozilla JavaScript API functions. libmozjs-60.so