mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-31 20:42:34 +08:00
4716d520a0
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9451 af4574ff-66df-0310-9fd7-8a98e5e911e0
161 lines
5.4 KiB
XML
161 lines
5.4 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY SpiderMonkey-download-http
|
|
"http://ftp.mozilla.org/pub/mozilla.org/js/js185-&spidermonkey-version;.tar.gz">
|
|
<!ENTITY SpiderMonkey-download-ftp
|
|
"ftp://ftp.mozilla.org/pub/mozilla.org/js/js185-&spidermonkey-version;.tar.gz">
|
|
<!ENTITY SpiderMonkey-md5sum "a4574365938222adca0a6bd33329cb32">
|
|
<!ENTITY SpiderMonkey-size "5.9 MB">
|
|
<!ENTITY SpiderMonkey-buildsize "99 MB">
|
|
<!ENTITY SpiderMonkey-time "1.1 SBU">
|
|
]>
|
|
|
|
<sect1 id="SpiderMonkey" xreflabel="SpiderMonkey-&spidermonkey-version;">
|
|
<?dbhtml filename="SpiderMonkey.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>SpiderMonkey-&spidermonkey-version;</title>
|
|
|
|
<indexterm zone="SpiderMonkey">
|
|
<primary sortas="a-SpiderMonkey">SpiderMonkey</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to SpiderMonkey</title>
|
|
|
|
<para><application>SpiderMonkey</application> is Mozilla's JavaScript engine
|
|
written in C/C++. The most recent standalone source code release implements
|
|
JavaScript 1.8.5.</para>
|
|
|
|
&lfs70_built;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>Download (HTTP):
|
|
<ulink url="&SpiderMonkey-download-http;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download (FTP): <ulink url="&SpiderMonkey-download-ftp;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download MD5 sum: &SpiderMonkey-md5sum;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download size: &SpiderMonkey-size;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated disk space required: &SpiderMonkey-buildsize;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated build time: &SpiderMonkey-time;</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">SpiderMonkey Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required"><xref linkend="nspr"/>,
|
|
<xref linkend="python2"/> and
|
|
<xref linkend="zip"/></para>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/SpiderMonkey"/></para>
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of SpiderMonkey</title>
|
|
|
|
<para>Install <application>SpiderMonkey</application> by running the
|
|
following commands:</para>
|
|
|
|
<screen><userinput>cd js/src &&
|
|
sed -i 's#s \($(SHLIB_\(ABI\|EXACT\)_VER)\)#s $(notdir \1)#' Makefile.in &&
|
|
./configure --prefix=/usr --enable-threadsafe --with-system-nspr &&
|
|
make</userinput></screen>
|
|
|
|
<para>To test the results, issue: <command>make check</command>.</para>
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem>
|
|
user:</para>
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para><command>sed -i 's#s \($(SHLIB_\(ABI\|EXACT\)_VER)\)#s $(notdir \1)#'
|
|
Makefile.in</command>: This sed fixes
|
|
the symlinks for <filename>libmozjs185.so</filename> so that they are
|
|
relative and not absolute symlinks.</para>
|
|
|
|
<para><parameter>--enable-threadsafe</parameter>: This switch enables
|
|
support for multiple threads.</para>
|
|
|
|
<para><parameter>--with-system-nspr</parameter>: This parameter forces the
|
|
package to link to the system version of <application>nspr</application>
|
|
instead of using its included, and now old, version.</para>
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Program</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>js-config</seg>
|
|
<seg>libmozjs185-1.0.a and libmozjs185.so</seg>
|
|
<seg>/usr/include/js</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="js-config">
|
|
<term><command>js-config</command></term>
|
|
<listitem>
|
|
<para>does this .....</para>
|
|
<indexterm zone="SpiderMonkey js-config">
|
|
<primary sortas="b-js-config">js-config</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="libmozjs185-1">
|
|
<term><filename class="libraryfile">libmozjs185-1.0.a</filename></term>
|
|
<listitem>
|
|
<para>contains functions that .....</para>
|
|
<indexterm zone="SpiderMonkey libmozjs185-1">
|
|
<primary sortas="c-libmozjs185-1">libmozjs185-1.0.a</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="libmozjs185">
|
|
<term><filename class="libraryfile">libmozjs185.so</filename></term>
|
|
<listitem>
|
|
<para>contains functions that .....</para>
|
|
<indexterm zone="SpiderMonkey libmozjs185">
|
|
<primary sortas="c-libmozjs185">libmozjs185.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</sect2>
|
|
</sect1>
|