mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-31 20:42:34 +08:00
838e1f5ef7
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8278 af4574ff-66df-0310-9fd7-8a98e5e911e0
142 lines
4.4 KiB
XML
142 lines
4.4 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY nspr-download-http "http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v&nspr-version;/src/nspr-&nspr-version;.tar.gz">
|
|
<!ENTITY nspr-download-ftp "ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v&nspr-version;/src/nspr-&nspr-version;.tar.gz">
|
|
<!ENTITY nspr-md5sum "c12ef68285aa631f8a335a547c434ad9">
|
|
<!ENTITY nspr-size "1.1 MB">
|
|
<!ENTITY nspr-buildsize "12.5 MB">
|
|
<!ENTITY nspr-time "less than 0.1 SBU">
|
|
]>
|
|
|
|
<sect1 id="nspr" xreflabel="NSPR-&nspr-version;">
|
|
<?dbhtml filename="nspr.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>NSPR-&nspr-version;</title>
|
|
|
|
<indexterm zone="nspr">
|
|
<primary sortas="a-NSPR">Netscape Portable Runtime</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to NSPR</title>
|
|
|
|
<para><application>Netscape Portable Runtime</application> (NSPR) provides
|
|
a platform-neutral API for system level and libc like functions.</para>
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>Download (HTTP): <ulink url="&nspr-download-http;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download (FTP): <ulink url="&nspr-download-ftp;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download MD5 sum: &nspr-md5sum;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download size: &nspr-size;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated disk space required: &nspr-buildsize;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated build time: &nspr-time;</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
<itemizedlist spacing='compact'>
|
|
<listitem>
|
|
<para>Required patch: <ulink
|
|
url="&patch-root;/nspr-&nspr-version;-pkgconfig-1.patch"/>
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/nspr"/></para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of NSPR</title>
|
|
|
|
<para>Install <application>NSPR</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput>patch -Np1 -i ../nspr-&nspr-version;-pkgconfig-1.patch &&
|
|
cd mozilla/nsprpub &&
|
|
./configure --prefix=/usr \
|
|
--with-mozilla \
|
|
--with-pthreads &&
|
|
make</userinput></screen>
|
|
|
|
<para>This package does not come with a test suite.</para>
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<screen role="root"><userinput>make install &&
|
|
cp -v -LR dist/include/nspr /usr/include &&
|
|
rm -v -f /usr/bin/{prerr.properties,compile-et.pl}</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para><parameter>--with-mozilla</parameter>: This parameter adds Mozilla
|
|
supprt to the libraries (required if you want to build any Mozilla
|
|
products).</para>
|
|
|
|
<para><parameter>--with-pthreads</parameter>: This parameter forces use of
|
|
the system pthreads library.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>nspr-config</seg>
|
|
<seg>libnspr4.{a,so}, libplc4.{a,so}, and libplds4.{a.so}</seg>
|
|
<seg>/usr/include/nspr</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="nspr-config">
|
|
<term><command>nspr-config</command></term>
|
|
<listitem>
|
|
<para>provides compiler and linker options to other packages that
|
|
use <application>NSPR</application>.</para>
|
|
<indexterm zone="nspr nspr-config">
|
|
<primary sortas="b-nspr-config">nspr-config</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|