source: general/genlib/npth.xml@ eace268c

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 eace268c was eace268c, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Update to lmdb-0.9.21.
Update to alsa-lib-1.1.4.1.
Update to libgcrypt-1.7.7.
Update to npth-1.5.

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

  • Property mode set to 100644
File size: 4.9 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 npth-download-http " ">
8 <!ENTITY npth-download-ftp "ftp://ftp.gnupg.org/gcrypt/npth/npth-&npth-version;.tar.bz2">
9 <!ENTITY npth-md5sum "9ba2dc4302d2f32c66737c43ed191b1b">
10 <!ENTITY npth-size "296 KB">
11 <!ENTITY npth-buildsize "2.5 MB (with checks)">
12 <!ENTITY npth-time "less than 0.1 SBU (with checks)">
13]>
14
15<sect1 id="npth" xreflabel="npth-&npth-version;">
16 <?dbhtml filename="npth.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>npth-&npth-version;</title>
24
25 <indexterm zone="npth">
26 <primary sortas="a-NPth">NPth</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to NPth</title>
31
32 <para>The <application>NPth</application> package contains a very portable
33 POSIX/ANSI-C based library for Unix platforms which provides non-preemptive
34 priority-based scheduling for multiple threads of execution (multithreading)
35 inside event-driven applications. All threads run in the same address space
36 of the server application, but each thread has its own individual
37 program-counter, run-time stack, signal mask and errno variable. </para>
38
39 &lfs80_checked;
40 &gcc7_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>Download (HTTP): <ulink url="&npth-download-http;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download (FTP): <ulink url="&npth-download-ftp;"/></para>
49 </listitem>
50 <listitem>
51 <para>Download MD5 sum: &npth-md5sum;</para>
52 </listitem>
53 <listitem>
54 <para>Download size: &npth-size;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated disk space required: &npth-buildsize;</para>
58 </listitem>
59 <listitem>
60 <para>Estimated build time: &npth-time;</para>
61 </listitem>
62 </itemizedlist>
63
64 <para condition="html" role="usernotes">User Notes:
65 <ulink url="&blfs-wiki;/npth"/></para>
66 </sect2>
67
68 <sect2 role="installation">
69 <title>Installation of NPth</title>
70
71 <para>Install <application>NPth</application> by running the
72 following commands:</para>
73
74<screen><userinput>./configure --prefix=/usr &amp;&amp;
75make</userinput></screen>
76
77 <para>To test the results, issue: <command>make check</command>.</para>
78
79 <para>Now, as the <systemitem class="username">root</systemitem>
80 user:</para>
81
82<screen role="root"><userinput>make install</userinput></screen>
83 </sect2>
84<!--
85 <sect2 role="commands">
86 <title>Command Explanations</title>
87
88 <para><command>sed -i 's#$(LOBJS) ...</command>: This <command>sed</command>
89 fixes a race condition in the <filename>Makefile</filename>. It allows you
90 to run <command>make</command> with multiple jobs (e.g., <command>make -j4</command>).</para>
91
92 <para><option>-\-disable-static</option>: This option stops it compiling a
93 static version of the library.</para>
94
95 <para><option>-\-mandir=/usr/share/man</option>: This option puts the man
96 pages in <filename class="directory">/usr/share/man</filename> and not
97 <filename class="directory">/usr/man</filename>.</para>
98 </sect2>-->
99
100 <sect2 role="content">
101 <title>Contents</title>
102
103 <segmentedlist>
104 <segtitle>Installed Program</segtitle>
105 <segtitle>Installed Library</segtitle>
106 <segtitle>Installed Directory</segtitle>
107
108 <seglistitem>
109 <seg>npth-config</seg>
110 <seg>libnpth.so</seg>
111 <seg>None</seg>
112 </seglistitem>
113 </segmentedlist>
114
115 <variablelist>
116 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
117 <?dbfo list-presentation="list"?>
118 <?dbhtml list-presentation="table"?>
119
120 <varlistentry id="npth-config">
121 <term><command>npth-config</command></term>
122 <listitem>
123 <para>is a utility used to configure and build applications based on
124 the npth library. It can be used to query the C compiler and
125 linker flags which are required to correctly compile and link the
126 application against the npth library.</para>
127 <indexterm zone="npth npth-config">
128 <primary sortas="b-npth-config">npth-config</primary>
129 </indexterm>
130 </listitem>
131 </varlistentry>
132
133 <varlistentry id="libnpth">
134 <term><filename class="libraryfile">libnpth.so</filename></term>
135 <listitem>
136 <para>contains the API functions used by the New Portable Threads
137 Library.</para>
138 <indexterm zone="npth libnpth">
139 <primary sortas="c-libnpth">libnpth.so</primary>
140 </indexterm>
141 </listitem>
142 </varlistentry>
143 </variablelist>
144 </sect2>
145</sect1>
Note: See TracBrowser for help on using the repository browser.