source: general/genlib/pth.xml@ 2dcc08c0

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 2dcc08c0 was 2dcc08c0, checked in by Bruce Dubbs <bdubbs@…>, 11 years ago

Update to qemu-1.6.0

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

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