source: general/genlib/npth.xml@ 72d8eb3

10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt 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 72d8eb3 was 9029db2, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Tag most of General Libraries and dependencies

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

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