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 "592c275728c29d193fdba8009165990b">
|
---|
10 | <!ENTITY nspr-size "1.2 MB">
|
---|
11 | <!ENTITY nspr-buildsize "16.5 MB">
|
---|
12 | <!ENTITY nspr-time "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 | &lfs67_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 &&
|
---|
80 | cd mozilla/nsprpub &&
|
---|
81 | ./configure --prefix=/usr \
|
---|
82 | --with-mozilla \
|
---|
83 | --with-pthreads &&
|
---|
84 | make</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 &&
|
---|
91 | cp -v -LR dist/include/nspr /usr/include &&
|
---|
92 | rm -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>
|
---|