source: general/genlib/nspr.xml@ 9029db2

10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 9029db2 was 9029db2, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Tag most of General Libraries and dependencies

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

  • Property mode set to 100644
File size: 6.8 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 "a546926d3c8e887be02c668c1293da92">
10 <!ENTITY nspr-size "1.0 MB">
11 <!ENTITY nspr-buildsize "9.5 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 &lfs101_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 The testsuite is designed for testing changes to nss or nspr and is
97 not particularly useful for checking a released version (e.g. it needs
98 to be run on a non-optimized build with both nss and nspr directories
99 existing alongside each other). For further details, see the User Notes
100 for nss at <ulink url="&blfs-wiki;/nss"/>
101 </para>
102
103 <para>
104 Now, as the <systemitem class="username">root</systemitem> user:
105 </para>
106
107<screen role="root"><userinput>make install</userinput></screen>
108 </sect2>
109
110 <sect2 role="commands">
111 <title>Command Explanations</title>
112
113 <para>
114 <command>sed -ri 's#^(RELEASE_BINS =).*#\1#'
115 pr/src/misc/Makefile.in</command>: This sed disables installing two unneeded
116 scripts.
117 </para>
118
119 <para>
120 <command>sed -i 's#$(LIBRARY) ##' config/rules.mk</command>: This sed disables
121 installing the static libraries.
122 </para>
123
124 <para>
125 <parameter>--with-mozilla</parameter>: This parameter adds Mozilla support
126 to the libraries (required if you want to build any other Mozilla
127 products and link them to these libraries).
128 </para>
129
130 <para>
131 <parameter>--with-pthreads</parameter>: This parameter forces use of the
132 system pthread library.
133 </para>
134
135 <para>
136 <parameter>$([ $(uname -m) = x86_64 ] &amp;&amp; echo
137 --enable-64bit)</parameter>: The --enable-64bit parameter is
138 <emphasis>required</emphasis> on an x86_64 system to prevent
139 <command>configure</command> failing with a claim that this is a system
140 without pthread support. The [ $(uname -m) = x86_64 ] test ensures it has
141 no effect on a 32 bit system.
142 </para>
143
144 </sect2>
145
146 <sect2 role="content">
147 <title>Contents</title>
148
149 <segmentedlist>
150 <segtitle>Installed Programs</segtitle>
151 <segtitle>Installed Libraries</segtitle>
152 <segtitle>Installed Directories</segtitle>
153
154 <seglistitem>
155 <seg>
156 nspr-config
157 </seg>
158 <seg>
159 libnspr4.so, libplc4.so and libplds4.so
160 </seg>
161 <seg>
162 /usr/include/nspr
163 </seg>
164 </seglistitem>
165 </segmentedlist>
166
167 <variablelist>
168 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
169 <?dbfo list-presentation="list"?>
170 <?dbhtml list-presentation="table"?>
171
172 <varlistentry id="nspr-config">
173 <term><command>nspr-config</command></term>
174 <listitem>
175 <para>
176 provides compiler and linker options to other packages that use
177 <application>NSPR</application>
178 </para>
179 <indexterm zone="nspr nspr-config">
180 <primary sortas="b-nspr-config">nspr-config</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184
185 <varlistentry id="libnspr4">
186 <term><filename class="libraryfile">libnspr4.so</filename></term>
187 <listitem>
188 <para>
189 contains functions that provide platform independence for non-GUI
190 operating system facilities such as threads, thread synchronization,
191 normal file and network I/O, interval timing and calendar time,
192 basic memory management and shared library linking
193 </para>
194 <indexterm zone="nspr libnspr4">
195 <primary sortas="c-libnspr4">libnspr4.so</primary>
196 </indexterm>
197 </listitem>
198 </varlistentry>
199
200 <varlistentry id="libplc4">
201 <term><filename class="libraryfile">libplc4.so</filename></term>
202 <listitem>
203 <para>
204 contains functions that implement many of the features offered by
205 libnspr4
206 </para>
207 <indexterm zone="nspr libplc4">
208 <primary sortas="c-libplc4">libplc4.so</primary>
209 </indexterm>
210 </listitem>
211 </varlistentry>
212
213 <varlistentry id="libplds4">
214 <term><filename class="libraryfile">libplds4.so</filename></term>
215 <listitem>
216 <para>
217 contains functions that provide data structures
218 </para>
219 <indexterm zone="nspr libplds4">
220 <primary sortas="c-libplds4">libplds4.so</primary>
221 </indexterm>
222 </listitem>
223 </varlistentry>
224
225 </variablelist>
226
227 </sect2>
228
229</sect1>
Note: See TracBrowser for help on using the repository browser.