source: general/prog/spidermonkey.xml@ d615263

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 d615263 was d615263, checked in by Andrew Benton <andy@…>, 10 years ago

SpiderMonkey tweaks

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

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