source: general/genlib/nspr.xml@ 1bcc7586

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gimp3 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 1bcc7586 was 1bcc7586, checked in by Ken Moffat <ken@…>, 7 years ago

nspr-4.17 and nss-3.33.

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

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