source: general/prog/spidermonkey.xml@ 9fbd6a5

10.0 10.1 11.0 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 9fbd6a5 was 9fbd6a5, checked in by Ken Moffat <ken@…>, 10 years ago

Fix typo in spidermonkey version number.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9253 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY SpiderMonkey-download-http "https://ftp.mozilla.org/pub/mozilla.org/js/js185-&spidermonkey-version;.tar.gz">
8 <!ENTITY SpiderMonkey-download-ftp " ">
9 <!ENTITY SpiderMonkey-md5sum "a4574365938222adca0a6bd33329cb32">
10 <!ENTITY SpiderMonkey-size "5.9 MB">
11 <!ENTITY SpiderMonkey-buildsize "99 MB">
12 <!ENTITY SpiderMonkey-time "1.1 SBU">
13]>
14
15<sect1 id="SpiderMonkey" xreflabel="SpiderMonkey-&spidermonkey-version;">
16 <?dbhtml filename="SpiderMonkey.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>SpiderMonkey-&spidermonkey-version;</title>
24
25 <indexterm zone="SpiderMonkey">
26 <primary sortas="a-SpiderMonkey">SpiderMonkey</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to SpiderMonkey</title>
31
32 <para><application>SpiderMonkey</application> is Mozilla's JavaScript engine
33 written in C/C++. The most recent standalone source code release implements
34 JavaScript 1.8.5.</para>
35
36 &lfs70_built;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&SpiderMonkey-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&SpiderMonkey-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &SpiderMonkey-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &SpiderMonkey-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &SpiderMonkey-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &SpiderMonkey-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
61 <itemizedlist spacing='compact'>
62 <listitem>
63 <para>Recommended Patch: <ulink
64 url="&patch-root;/js185-&spidermonkey-version;-DESTDIR-1.patch"/></para>
65 </listitem>
66 </itemizedlist>
67
68 <bridgehead renderas="sect3">SpiderMonkey Dependencies</bridgehead>
69
70 <bridgehead renderas="sect4">Required</bridgehead>
71 <para role="required"><xref linkend="nspr"/>,
72 <xref linkend="python"/> and
73 <xref linkend="zip"/></para>
74
75 <para condition="html" role="usernotes">User Notes:
76 <ulink url="&blfs-wiki;/SpiderMonkey"/></para>
77
78 </sect2>
79
80 <sect2 role="installation">
81 <title>Installation of SpiderMonkey</title>
82
83 <para>Install <application>SpiderMonkey</application> by running the following
84 commands:</para>
85
86<screen><userinput>patch -Np1 -i ../js185-&spidermonkey-version;-DESTDIR-1.patch &amp;&amp;
87cd js/src &amp;&amp;
88./configure --prefix=/usr \
89 --enable-threadsafe \
90 --with-system-nspr &amp;&amp;
91make</userinput></screen>
92
93 <para>To test the results, issue: <command>make check</command>.</para>
94
95 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
96
97<screen role="root"><userinput>make install</userinput></screen>
98
99 </sect2>
100
101 <sect2 role="commands">
102 <title>Command Explanations</title>
103
104 <para><command>patch -Np1 -i ../js185-&spidermonkey-version;-DESTDIR-1.patch</command>:
105 If <application>SpiderMonkey</application> is installed in a DESTDIR, this patch fixes
106 the symlinks for <filename>libmozjs185.so</filename> so that they do not point to the
107 <emphasis>build</emphasis> tree.</para>
108
109 <para><parameter>--enable-threadsafe</parameter>: This switch enables support
110 for multiple threads.</para>
111
112 <para><parameter>--with-system-nspr</parameter>: This parameter forces the
113 package to link to the system version of <application>nspr</application>
114 instead of using its included, and now old, version.</para>
115
116 </sect2>
117
118 <sect2 role="content">
119 <title>Contents</title>
120
121 <segmentedlist>
122 <segtitle>Installed Program</segtitle>
123 <segtitle>Installed Libraries</segtitle>
124 <segtitle>Installed Directory</segtitle>
125
126 <seglistitem>
127 <seg>js-config</seg>
128 <seg>libmozjs185-1.0.a and libmozjs185.so</seg>
129 <seg>/usr/include/js</seg>
130 </seglistitem>
131 </segmentedlist>
132
133 <variablelist>
134 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
135 <?dbfo list-presentation="list"?>
136 <?dbhtml list-presentation="table"?>
137
138 <varlistentry id="js-config">
139 <term><command>js-config</command></term>
140 <listitem>
141 <para>does this .....</para>
142 <indexterm zone="SpiderMonkey js-config">
143 <primary sortas="b-js-config">js-config</primary>
144 </indexterm>
145 </listitem>
146 </varlistentry>
147
148 <varlistentry id="libmozjs185-1">
149 <term><filename class='libraryfile'>libmozjs185-1.0.a</filename></term>
150 <listitem>
151 <para>contains functions that .....</para>
152 <indexterm zone="SpiderMonkey libmozjs185-1">
153 <primary sortas="c-libmozjs185-1">libmozjs185-1.0.a</primary>
154 </indexterm>
155 </listitem>
156 </varlistentry>
157
158 <varlistentry id="libmozjs185">
159 <term><filename class='libraryfile'>libmozjs185.so</filename></term>
160 <listitem>
161 <para>contains functions that .....</para>
162 <indexterm zone="SpiderMonkey libmozjs185">
163 <primary sortas="c-libmozjs185">libmozjs185.so</primary>
164 </indexterm>
165 </listitem>
166 </varlistentry>
167
168 </variablelist>
169
170 </sect2>
171
172</sect1>
Note: See TracBrowser for help on using the repository browser.