source: general/genlib/nspr.xml@ e19d31a

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since e19d31a was a4d9519, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Updates to libpng-1.6.10, sqlite-3.8.4.1, nspr-4.10.4, nss-3.15.5 and xfburn-0.5.0.

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

  • Property mode set to 100644
File size: 6.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 nspr-download-http
8 "http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v&nspr-version;/src/nspr-&nspr-version;.tar.gz">
9 <!ENTITY nspr-download-ftp
10 "ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v&nspr-version;/src/nspr-&nspr-version;.tar.gz">
11 <!ENTITY nspr-md5sum "db8e5c40dadcf3f71a20c01f503c573a">
12 <!ENTITY nspr-size "1.1 MB">
13 <!ENTITY nspr-buildsize "11 MB">
14 <!ENTITY nspr-time "0.1 SBU">
15]>
16
17<sect1 id="nspr" xreflabel="NSPR-&nspr-version;">
18 <?dbhtml filename="nspr.html"?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>NSPR-&nspr-version;</title>
26
27 <indexterm zone="nspr">
28 <primary sortas="a-NSPR">NSPR</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to NSPR</title>
33
34 <para>
35 <application>Netscape Portable Runtime</application> (NSPR) provides a
36 platform-neutral API for system level and libc like functions.
37 </para>
38
39 &lfs75_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&nspr-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&nspr-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &nspr-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &nspr-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &nspr-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &nspr-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <para condition="html" role="usernotes">
76 User Notes: <ulink url="&blfs-wiki;/nspr"/>
77 </para>
78 </sect2>
79
80 <sect2 role="installation">
81 <title>Installation of NSPR</title>
82
83 <para>
84 Install <application>NSPR</application> by running the following commands:
85 </para>
86
87<screen><userinput>cd nspr &amp;&amp;
88sed -ri 's#^(RELEASE_BINS =).*#\1#' pr/src/misc/Makefile.in &amp;&amp;
89sed -i 's#$(LIBRARY) ##' config/rules.mk &amp;&amp;
90
91./configure --prefix=/usr \
92 --with-mozilla \
93 --with-pthreads \
94 $([ $(uname -m) = x86_64 ] &amp;&amp; echo --enable-64bit) &amp;&amp;
95make</userinput></screen>
96
97 <para>
98 This package does not come with a test suite.
99 </para>
100
101 <para>
102 Now, as the <systemitem class="username">root</systemitem> user:
103 </para>
104
105<screen role="root"><userinput>make install</userinput></screen>
106 </sect2>
107
108 <sect2 role="commands">
109 <title>Command Explanations</title>
110
111 <para>
112 <command>sed -ri 's#^(RELEASE_BINS =).*#\1#'
113 pr/src/misc/Makefile.in</command>: This sed disables installing two unneeded
114 scripts.
115 </para>
116
117 <para>
118 <command>sed -i 's#$(LIBRARY) ##' config/rules.mk</command>: This sed disables
119 installing the static libraries.
120 </para>
121
122 <para>
123 <parameter>--with-mozilla</parameter>: This parameter adds Mozilla support
124 to the libraries (required if you want to build any other Mozilla
125 products and link them to these libraries).
126 </para>
127
128 <para>
129 <parameter>--with-pthreads</parameter>: This parameter forces use of the
130 system pthread library.
131 </para>
132
133 <para>
134 <parameter>$([ $(uname -m) = x86_64 ] &amp;&amp; echo
135 --enable-64bit)</parameter>: The --enable-64bit parameter is
136 <emphasis>required</emphasis> on an x86_64 system to prevent
137 <command>configure</command> failing with a claim that this is a system
138 without pthread support. The [ $(uname -m) = x86_64 ] test ensures it has
139 no effect on a 32 bit system.
140 </para>
141
142 </sect2>
143
144 <sect2 role="content">
145 <title>Contents</title>
146
147 <segmentedlist>
148 <segtitle>Installed Programs</segtitle>
149 <segtitle>Installed Libraries</segtitle>
150 <segtitle>Installed Directories</segtitle>
151
152 <seglistitem>
153 <seg>
154 nspr-config
155 </seg>
156 <seg>
157 libnspr4.so, libplc4.so and libplds4.so
158 </seg>
159 <seg>
160 /usr/include/nspr
161 </seg>
162 </seglistitem>
163 </segmentedlist>
164
165 <variablelist>
166 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
167 <?dbfo list-presentation="list"?>
168 <?dbhtml list-presentation="table"?>
169
170 <varlistentry id="nspr-config">
171 <term><command>nspr-config</command></term>
172 <listitem>
173 <para>
174 provides compiler and linker options to other packages that use
175 <application>NSPR</application>.
176 </para>
177 <indexterm zone="nspr nspr-config">
178 <primary sortas="b-nspr-config">nspr-config</primary>
179 </indexterm>
180 </listitem>
181 </varlistentry>
182
183 <varlistentry id="libnspr4">
184 <term><filename class='libraryfile'>libnspr4.so</filename></term>
185 <listitem>
186 <para>
187 contains functions that provide platform independence for non-GUI
188 operating system facilities such as threads, thread synchronization,
189 normal file and network I/O, interval timing and calendar time,
190 basic memory management and shared library linking.
191 </para>
192 <indexterm zone="nspr libnspr4">
193 <primary sortas="c-libnspr4">libnspr4.so</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197
198 <varlistentry id="libplc4">
199 <term><filename class='libraryfile'>libplc4.so</filename></term>
200 <listitem>
201 <para>
202 contains functions that implement many of the features offered by
203 libnspr4
204 </para>
205 <indexterm zone="nspr libplc4">
206 <primary sortas="c-libplc4">libplc4.so</primary>
207 </indexterm>
208 </listitem>
209 </varlistentry>
210
211 <varlistentry id="libplds4">
212 <term><filename class='libraryfile'>libplds4.so</filename></term>
213 <listitem>
214 <para>
215 contains functions that provide data structures.
216 </para>
217 <indexterm zone="nspr libplds4">
218 <primary sortas="c-libplds4">libplds4.so</primary>
219 </indexterm>
220 </listitem>
221 </varlistentry>
222
223 </variablelist>
224
225 </sect2>
226
227</sect1>
Note: See TracBrowser for help on using the repository browser.