%general-entities; ]> JS-&JS-version; JS Introduction to JS JS is Mozilla's JavaScript engine written in C/C++. &lfs80_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &JS-md5sum; Download size: &JS-size; Estimated disk space required: &JS-buildsize; Estimated build time: &JS-time; JS Dependencies Required , , and Optional User Notes: Installation of JS Install JS by running the following commands: cd js/src && sed -i 's/(defined\((@TEMPLATE_FILE)\))/\1/' config/milestone.pl && ./configure --prefix=/usr \ --enable-readline \ --enable-threadsafe \ --with-system-ffi \ --with-system-nspr && make To test the results, issue: make check. Now, as the root user: make install && find /usr/include/js-17.0/ \ /usr/lib/libmozjs-17.0.a \ /usr/lib/pkgconfig/mozjs-17.0.pc \ -type f -exec chmod -v 644 {} \; Command Explanations sed ... config/milestone.pl: Fix an issue caused by perl-5.22.0 and later. --enable-threadsafe: This switch enables support for multiple threads. --enable-readline: This switch enables Readline support in JS shell. --with-system-ffi: This switch forces the package to link to the system version of libffi instead of using its included, and now old, version. --with-system-nspr: This switch forces the package to link to the system version of NSPR instead of using its included, and now old, version. Contents Installed Programs Installed Libraries Installed Directory js17 and js17-config libmozjs-17.0.a and libmozjs-17.0.so /usr/include/js-17.0 Short Descriptions js17 provides a command line interface to the JavaScript engine. js17 js17-config is used to find out JS compiler and linker flags. js17-config libmozjs-17.0.so contains the Mozilla JavaScript API functions. libmozjs-17.0.so