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 talloc-download-http "https://www.samba.org/ftp/talloc/talloc-&talloc-version;.tar.gz">
|
---|
8 | <!ENTITY talloc-download-ftp " ">
|
---|
9 | <!ENTITY talloc-md5sum "48b8822a76797bb143e3e38ed738c320">
|
---|
10 | <!ENTITY talloc-size "432 KB">
|
---|
11 | <!ENTITY talloc-buildsize "7.7 MB (with tests)">
|
---|
12 | <!ENTITY talloc-time "0.3 SBU (with tests)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="talloc" xreflabel="Talloc-&talloc-version;">
|
---|
16 | <?dbhtml filename="talloc.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>Talloc-&talloc-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="talloc">
|
---|
26 | <primary sortas="a-Talloc">Talloc</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to Talloc</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | <application>Talloc</application> provides a hierarchical, reference
|
---|
34 | counted memory pool system with destructors. It is the core memory
|
---|
35 | allocator used in <application>Samba</application>.
|
---|
36 | </para>
|
---|
37 |
|
---|
38 | &lfs80_checked;
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 | <itemizedlist spacing="compact">
|
---|
42 | <listitem>
|
---|
43 | <para>
|
---|
44 | Download (HTTP): <ulink url="&talloc-download-http;"/>
|
---|
45 | </para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download (FTP): <ulink url="&talloc-download-ftp;"/>
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download MD5 sum: &talloc-md5sum;
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Download size: &talloc-size;</para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated disk space required: &talloc-buildsize;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated build time: &talloc-time;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect3">Talloc Dependencies</bridgehead>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
76 | <para role="optional">
|
---|
77 | <xref linkend="DocBook"/>,
|
---|
78 | <xref linkend="docbook-xsl"/> and
|
---|
79 | <xref linkend="libxslt"/> (To generate man pages),
|
---|
80 | <xref linkend="python2"/> (To build Python-2 module) and
|
---|
81 | <xref linkend="python3"/> (To build Python-3 module)
|
---|
82 | </para>
|
---|
83 |
|
---|
84 | <para condition="html" role="usernotes">
|
---|
85 | User Notes: <ulink url="&blfs-wiki;/talloc"/>
|
---|
86 | </para>
|
---|
87 | </sect2>
|
---|
88 |
|
---|
89 | <sect2 role="installation">
|
---|
90 | <title>Installation of Talloc</title>
|
---|
91 |
|
---|
92 | <para>
|
---|
93 | Install <application>Talloc</application> by running the following
|
---|
94 | commands:
|
---|
95 | </para>
|
---|
96 |
|
---|
97 | <screen><userinput>./configure --prefix=/usr &&
|
---|
98 | make</userinput></screen>
|
---|
99 |
|
---|
100 | <para>
|
---|
101 | To check the results, issue <command>make check</command>.
|
---|
102 | The python tests fail due to missing files.
|
---|
103 | </para>
|
---|
104 |
|
---|
105 | <para>
|
---|
106 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
107 | </para>
|
---|
108 |
|
---|
109 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
110 |
|
---|
111 | </sect2>
|
---|
112 |
|
---|
113 | <sect2 role="commands">
|
---|
114 | <title>Command Explanations</title>
|
---|
115 |
|
---|
116 | <para>
|
---|
117 | <option>--extra-python=PYTHON</option>: This switch enables building
|
---|
118 | selected libraries for the specified additional version of Python
|
---|
119 | (example: <option>--extra-python=/usr/bin/python3</option>).
|
---|
120 | </para>
|
---|
121 |
|
---|
122 | </sect2>
|
---|
123 |
|
---|
124 | <sect2 role="content">
|
---|
125 | <title>Contents</title>
|
---|
126 |
|
---|
127 | <segmentedlist>
|
---|
128 | <segtitle>Installed Programs</segtitle>
|
---|
129 | <segtitle>Installed Libraries</segtitle>
|
---|
130 | <segtitle>Installed Directories</segtitle>
|
---|
131 |
|
---|
132 | <seglistitem>
|
---|
133 | <seg>
|
---|
134 | None
|
---|
135 | </seg>
|
---|
136 | <seg>
|
---|
137 | libpytalloc-util.cpython-35m-x86-64-linux-gnu.so,
|
---|
138 | libpytalloc-util.so,
|
---|
139 | libtalloc.so,
|
---|
140 | talloc.so (Python-2 Module) and
|
---|
141 | talloc.cpython-35m-x86_64-linux-gnu.so (Python-3 Module)
|
---|
142 | </seg>
|
---|
143 | <seg>
|
---|
144 | None
|
---|
145 | </seg>
|
---|
146 | </seglistitem>
|
---|
147 | </segmentedlist>
|
---|
148 |
|
---|
149 | <variablelist>
|
---|
150 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
151 | <?dbfo list-presentation="list"?>
|
---|
152 | <?dbhtml list-presentation="table"?>
|
---|
153 |
|
---|
154 | <varlistentry id="libtalloc">
|
---|
155 | <term><filename class="libraryfile">libtalloc.so</filename></term>
|
---|
156 | <listitem>
|
---|
157 | <para>
|
---|
158 | contains a replacement for the <application>Glibc</application>
|
---|
159 | malloc function.
|
---|
160 | </para>
|
---|
161 | <indexterm zone="talloc libtalloc">
|
---|
162 | <primary sortas="c-libtalloc">libtalloc.so</primary>
|
---|
163 | </indexterm>
|
---|
164 | </listitem>
|
---|
165 | </varlistentry>
|
---|
166 |
|
---|
167 | </variablelist>
|
---|
168 |
|
---|
169 | </sect2>
|
---|
170 |
|
---|
171 | </sect1>
|
---|