mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-25 07:42:13 +08:00
4d7d99dcc8
Update to fuse-3.2.6. Update to gnupg-2.2.10. Update to p11-kit-0.23.14. Update to sysstat-11.6.5. Update to nspr-4.20. Update to xfsprogs-4.18.0. git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@20461 af4574ff-66df-0310-9fd7-8a98e5e911e0
226 lines
6.5 KiB
XML
226 lines
6.5 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 "&mozilla-http;/nspr/releases/v&nspr-version;/src/nspr-&nspr-version;.tar.gz">
|
|
<!ENTITY nspr-download-ftp " ">
|
|
<!ENTITY nspr-md5sum "1c198c7e73f6b0e2bb9153a644ba246b">
|
|
<!ENTITY nspr-size "1.1 MB">
|
|
<!ENTITY nspr-buildsize "10 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">NSPR</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>
|
|
|
|
&lfs83_checked;
|
|
|
|
<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>
|
|
|
|
<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>cd nspr &&
|
|
sed -ri 's#^(RELEASE_BINS =).*#\1#' pr/src/misc/Makefile.in &&
|
|
sed -i 's#$(LIBRARY) ##' config/rules.mk &&
|
|
|
|
./configure --prefix=/usr \
|
|
--with-mozilla \
|
|
--with-pthreads \
|
|
$([ $(uname -m) = x86_64 ] && echo --enable-64bit) &&
|
|
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</userinput></screen>
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para>
|
|
<command>sed -ri 's#^(RELEASE_BINS =).*#\1#'
|
|
pr/src/misc/Makefile.in</command>: This sed disables installing two unneeded
|
|
scripts.
|
|
</para>
|
|
|
|
<para>
|
|
<command>sed -i 's#$(LIBRARY) ##' config/rules.mk</command>: This sed disables
|
|
installing the static libraries.
|
|
</para>
|
|
|
|
<para>
|
|
<parameter>--with-mozilla</parameter>: This parameter adds Mozilla support
|
|
to the libraries (required if you want to build any other Mozilla
|
|
products and link them to these libraries).
|
|
</para>
|
|
|
|
<para>
|
|
<parameter>--with-pthreads</parameter>: This parameter forces use of the
|
|
system pthread library.
|
|
</para>
|
|
|
|
<para>
|
|
<parameter>$([ $(uname -m) = x86_64 ] && echo
|
|
--enable-64bit)</parameter>: The --enable-64bit parameter is
|
|
<emphasis>required</emphasis> on an x86_64 system to prevent
|
|
<command>configure</command> failing with a claim that this is a system
|
|
without pthread support. The [ $(uname -m) = x86_64 ] test ensures it has
|
|
no effect on a 32 bit system.
|
|
</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.so, libplc4.so and libplds4.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>
|
|
|
|
<varlistentry id="libnspr4">
|
|
<term><filename class='libraryfile'>libnspr4.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
contains functions that provide platform independence for non-GUI
|
|
operating system facilities such as threads, thread synchronization,
|
|
normal file and network I/O, interval timing and calendar time,
|
|
basic memory management and shared library linking.
|
|
</para>
|
|
<indexterm zone="nspr libnspr4">
|
|
<primary sortas="c-libnspr4">libnspr4.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="libplc4">
|
|
<term><filename class='libraryfile'>libplc4.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
contains functions that implement many of the features offered by
|
|
libnspr4
|
|
</para>
|
|
<indexterm zone="nspr libplc4">
|
|
<primary sortas="c-libplc4">libplc4.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="libplds4">
|
|
<term><filename class='libraryfile'>libplds4.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
contains functions that provide data structures.
|
|
</para>
|
|
<indexterm zone="nspr libplds4">
|
|
<primary sortas="c-libplds4">libplds4.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|