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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 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 1bcb942 was 1bcb942, checked in by Wayne Blaszczyk <wblaszcz@…>, 12 years ago

Updated NSPR to 4.8.9.

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

  • Property mode set to 100644
File size: 4.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 "http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v&nspr-version;/src/nspr-&nspr-version;.tar.gz">
8 <!ENTITY nspr-download-ftp "ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v&nspr-version;/src/nspr-&nspr-version;.tar.gz">
9 <!ENTITY nspr-md5sum "60770d45dc08c0f181b22cdfce5be3e8">
10 <!ENTITY nspr-size "1.2 MB">
11 <!ENTITY nspr-buildsize "21 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">Netscape Portable Runtime</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to NSPR</title>
31
32 <para><application>Netscape Portable Runtime</application> (NSPR) provides
33 a platform-neutral API for system level and libc like functions.</para>
34
35 &lfs70_checked;
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>Download (HTTP): <ulink url="&nspr-download-http;"/></para>
41 </listitem>
42 <listitem>
43 <para>Download (FTP): <ulink url="&nspr-download-ftp;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download MD5 sum: &nspr-md5sum;</para>
47 </listitem>
48 <listitem>
49 <para>Download size: &nspr-size;</para>
50 </listitem>
51 <listitem>
52 <para>Estimated disk space required: &nspr-buildsize;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated build time: &nspr-time;</para>
56 </listitem>
57 </itemizedlist>
58
59 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
60 <itemizedlist spacing='compact'>
61 <listitem>
62 <para>Required patch: <ulink
63 url="&patch-root;/nspr-&nspr-version;-pkgconfig-1.patch"/>
64 </para>
65 </listitem>
66 </itemizedlist>
67
68 <para condition="html" role="usernotes">User Notes:
69 <ulink url="&blfs-wiki;/nspr"/></para>
70
71 </sect2>
72
73 <sect2 role="installation">
74 <title>Installation of NSPR</title>
75
76 <para>Install <application>NSPR</application> by running the following
77 commands:</para>
78
79<screen><userinput>patch -Np1 -i ../nspr-&nspr-version;-pkgconfig-1.patch &amp;&amp;
80cd mozilla/nsprpub &amp;&amp;
81./configure --prefix=/usr \
82 --with-mozilla \
83 --with-pthreads &amp;&amp;
84make</userinput></screen>
85
86 <para>This package does not come with a test suite.</para>
87
88 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
89
90<screen role="root"><userinput>make install &amp;&amp;
91cp -v -LR dist/include/nspr /usr/include &amp;&amp;
92rm -v -f /usr/bin/{prerr.properties,compile-et.pl}</userinput></screen>
93
94 </sect2>
95
96 <sect2 role="commands">
97 <title>Command Explanations</title>
98
99 <para><parameter>--with-mozilla</parameter>: This parameter adds Mozilla
100 support to the libraries (required if you want to build any Mozilla
101 products).</para>
102
103 <para><parameter>--with-pthreads</parameter>: This parameter forces use of
104 the system pthreads library.</para>
105
106 <para><parameter>--enable-64bit</parameter>: This parameter is required
107 <emphasis>on an x86_64 system</emphasis> to prevent
108 <command>configure</command> failing with a claim that this is a system
109 without pthread support.</para>
110
111 </sect2>
112
113 <sect2 role="content">
114 <title>Contents</title>
115
116 <segmentedlist>
117 <segtitle>Installed Programs</segtitle>
118 <segtitle>Installed Libraries</segtitle>
119 <segtitle>Installed Directories</segtitle>
120
121 <seglistitem>
122 <seg>nspr-config</seg>
123 <seg>libnspr4.{a,so}, libplc4.{a,so}, and libplds4.{a.so}</seg>
124 <seg>/usr/include/nspr</seg>
125 </seglistitem>
126 </segmentedlist>
127
128 <variablelist>
129 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
130 <?dbfo list-presentation="list"?>
131 <?dbhtml list-presentation="table"?>
132
133 <varlistentry id="nspr-config">
134 <term><command>nspr-config</command></term>
135 <listitem>
136 <para>provides compiler and linker options to other packages that
137 use <application>NSPR</application>.</para>
138 <indexterm zone="nspr nspr-config">
139 <primary sortas="b-nspr-config">nspr-config</primary>
140 </indexterm>
141 </listitem>
142 </varlistentry>
143
144 </variablelist>
145
146 </sect2>
147
148</sect1>
Note: See TracBrowser for help on using the repository browser.