[eeb29511] | 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 |
|
---|
[04e597a] | 7 | <!ENTITY talloc-download-http "https://www.samba.org/ftp/talloc/talloc-&talloc-version;.tar.gz">
|
---|
[1c73261] | 8 | <!ENTITY talloc-download-ftp " ">
|
---|
[1fd59b5] | 9 | <!ENTITY talloc-md5sum "19ba14eba97d79a169fa92ea824d2b9e">
|
---|
[b5e1815e] | 10 | <!ENTITY talloc-size "432 KB">
|
---|
[1fd59b5] | 11 | <!ENTITY talloc-buildsize "7.1 MB (with tests)">
|
---|
| 12 | <!ENTITY talloc-time "0.3 SBU (with tests)">
|
---|
[eeb29511] | 13 | ]>
|
---|
| 14 |
|
---|
[880c568] | 15 | <sect1 id="talloc" xreflabel="Talloc-&talloc-version;">
|
---|
[eeb29511] | 16 | <?dbhtml filename="talloc.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[880c568] | 23 | <title>Talloc-&talloc-version;</title>
|
---|
[eeb29511] | 24 |
|
---|
| 25 | <indexterm zone="talloc">
|
---|
[880c568] | 26 | <primary sortas="a-Talloc">Talloc</primary>
|
---|
[eeb29511] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
[c7ce750a] | 30 | <title>Introduction to Talloc</title>
|
---|
[eeb29511] | 31 |
|
---|
[c7ce750a] | 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>
|
---|
[eeb29511] | 37 |
|
---|
[39a26d5] | 38 | &lfs80_checked;
|
---|
[7b74537e] | 39 |
|
---|
[eeb29511] | 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
[c7ce750a] | 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&talloc-download-http;"/>
|
---|
| 45 | </para>
|
---|
[eeb29511] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[c7ce750a] | 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&talloc-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
[eeb29511] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[c7ce750a] | 53 | <para>
|
---|
| 54 | Download MD5 sum: &talloc-md5sum;
|
---|
| 55 | </para>
|
---|
[eeb29511] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[c7ce750a] | 58 | <para>
|
---|
| 59 | Download size: &talloc-size;</para>
|
---|
[eeb29511] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[c7ce750a] | 62 | <para>
|
---|
| 63 | Estimated disk space required: &talloc-buildsize;
|
---|
| 64 | </para>
|
---|
[eeb29511] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[c7ce750a] | 67 | <para>
|
---|
| 68 | Estimated build time: &talloc-time;
|
---|
| 69 | </para>
|
---|
[eeb29511] | 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
[c7ce750a] | 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
|
---|
[f10d931] | 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)
|
---|
[c7ce750a] | 82 | </para>
|
---|
| 83 |
|
---|
| 84 | <para condition="html" role="usernotes">
|
---|
| 85 | User Notes: <ulink url="&blfs-wiki;/talloc"/>
|
---|
| 86 | </para>
|
---|
[eeb29511] | 87 | </sect2>
|
---|
| 88 |
|
---|
| 89 | <sect2 role="installation">
|
---|
[c7ce750a] | 90 | <title>Installation of Talloc</title>
|
---|
[eeb29511] | 91 |
|
---|
[c7ce750a] | 92 | <para>
|
---|
| 93 | Install <application>Talloc</application> by running the following
|
---|
| 94 | commands:
|
---|
| 95 | </para>
|
---|
[eeb29511] | 96 |
|
---|
| 97 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 98 | make</userinput></screen>
|
---|
| 99 |
|
---|
[c7ce750a] | 100 | <para>
|
---|
[55944f9] | 101 | To check the results, issue <command>make check</command>.
|
---|
| 102 | The python tests fail due to missing files.
|
---|
[c7ce750a] | 103 | </para>
|
---|
[eeb29511] | 104 |
|
---|
[c7ce750a] | 105 | <para>
|
---|
| 106 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 107 | </para>
|
---|
[eeb29511] | 108 |
|
---|
| 109 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 110 |
|
---|
| 111 | </sect2>
|
---|
| 112 |
|
---|
[f10d931] | 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 |
|
---|
[eeb29511] | 124 | <sect2 role="content">
|
---|
| 125 | <title>Contents</title>
|
---|
| 126 |
|
---|
| 127 | <segmentedlist>
|
---|
[c3c56b2] | 128 | <segtitle>Installed Programs</segtitle>
|
---|
[eeb29511] | 129 | <segtitle>Installed Libraries</segtitle>
|
---|
[c3c56b2] | 130 | <segtitle>Installed Directories</segtitle>
|
---|
[eeb29511] | 131 |
|
---|
| 132 | <seglistitem>
|
---|
[c3c56b2] | 133 | <seg>
|
---|
| 134 | None
|
---|
| 135 | </seg>
|
---|
[c7ce750a] | 136 | <seg>
|
---|
[0098ddeb] | 137 | libpytalloc-util.cpython-35m-x86-64-linux-gnu.so,
|
---|
[f10d931] | 138 | libpytalloc-util.so,
|
---|
| 139 | libtalloc.so,
|
---|
| 140 | talloc.so (Python-2 Module) and
|
---|
[0098ddeb] | 141 | talloc.cpython-35m-x86_64-linux-gnu.so (Python-3 Module)
|
---|
[c7ce750a] | 142 | </seg>
|
---|
[c3c56b2] | 143 | <seg>
|
---|
| 144 | None
|
---|
| 145 | </seg>
|
---|
[eeb29511] | 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 |
|
---|
[c7ce750a] | 154 | <varlistentry id="libtalloc">
|
---|
| 155 | <term><filename class="libraryfile">libtalloc.so</filename></term>
|
---|
[eeb29511] | 156 | <listitem>
|
---|
[c7ce750a] | 157 | <para>
|
---|
[614fce8e] | 158 | contains a replacement for the <application>Glibc</application>
|
---|
[c7ce750a] | 159 | malloc function.
|
---|
| 160 | </para>
|
---|
| 161 | <indexterm zone="talloc libtalloc">
|
---|
| 162 | <primary sortas="c-libtalloc">libtalloc.so</primary>
|
---|
[eeb29511] | 163 | </indexterm>
|
---|
| 164 | </listitem>
|
---|
| 165 | </varlistentry>
|
---|
| 166 |
|
---|
| 167 | </variablelist>
|
---|
| 168 |
|
---|
| 169 | </sect2>
|
---|
| 170 |
|
---|
| 171 | </sect1>
|
---|