[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 " ">
|
---|
[65bdd29] | 9 | <!ENTITY talloc-md5sum "02fb35ead70f73af2518234ef3cb1073">
|
---|
[202c424] | 10 | <!ENTITY talloc-size "660 KB">
|
---|
[65bdd29] | 11 | <!ENTITY talloc-buildsize "11 MB (with tests)">
|
---|
[7aa91c69] | 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 |
|
---|
[880c568] | 19 | <title>Talloc-&talloc-version;</title>
|
---|
[eeb29511] | 20 |
|
---|
| 21 | <indexterm zone="talloc">
|
---|
[880c568] | 22 | <primary sortas="a-Talloc">Talloc</primary>
|
---|
[eeb29511] | 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
[c7ce750a] | 26 | <title>Introduction to Talloc</title>
|
---|
[eeb29511] | 27 |
|
---|
[c7ce750a] | 28 | <para>
|
---|
| 29 | <application>Talloc</application> provides a hierarchical, reference
|
---|
| 30 | counted memory pool system with destructors. It is the core memory
|
---|
| 31 | allocator used in <application>Samba</application>.
|
---|
| 32 | </para>
|
---|
[eeb29511] | 33 |
|
---|
[15445ab] | 34 | &lfs113_checked;
|
---|
[7b74537e] | 35 |
|
---|
[eeb29511] | 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
[c7ce750a] | 39 | <para>
|
---|
| 40 | Download (HTTP): <ulink url="&talloc-download-http;"/>
|
---|
| 41 | </para>
|
---|
[eeb29511] | 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
[c7ce750a] | 44 | <para>
|
---|
| 45 | Download (FTP): <ulink url="&talloc-download-ftp;"/>
|
---|
| 46 | </para>
|
---|
[eeb29511] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[c7ce750a] | 49 | <para>
|
---|
| 50 | Download MD5 sum: &talloc-md5sum;
|
---|
| 51 | </para>
|
---|
[eeb29511] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[c7ce750a] | 54 | <para>
|
---|
| 55 | Download size: &talloc-size;</para>
|
---|
[eeb29511] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[c7ce750a] | 58 | <para>
|
---|
| 59 | Estimated disk space required: &talloc-buildsize;
|
---|
| 60 | </para>
|
---|
[eeb29511] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[c7ce750a] | 63 | <para>
|
---|
| 64 | Estimated build time: &talloc-time;
|
---|
| 65 | </para>
|
---|
[eeb29511] | 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
| 68 |
|
---|
[c7ce750a] | 69 | <bridgehead renderas="sect3">Talloc Dependencies</bridgehead>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 72 | <para role="optional">
|
---|
| 73 | <xref linkend="DocBook"/>,
|
---|
| 74 | <xref linkend="docbook-xsl"/> and
|
---|
[03bb997] | 75 | <xref linkend="libxslt"/> (To generate man pages),
|
---|
[136321c7] | 76 | <!-- not accepted anymore
|
---|
[03bb997] | 77 | <xref linkend="python2"/> (To build Python-2 module),
|
---|
[136321c7] | 78 | --> <xref linkend="gdb"/>,
|
---|
[03bb997] | 79 | <xref linkend="git"/>,
|
---|
[7aa91c69] | 80 | <xref linkend="libnsl"/>,
|
---|
| 81 | <xref linkend="libtirpc"/>,
|
---|
| 82 | <xref linkend="valgrind"/>, and
|
---|
| 83 | <xref linkend="xfsprogs"/>
|
---|
[03bb997] | 84 | <!-- These are all looked for at build time, but might not actually be used.-->
|
---|
[c7ce750a] | 85 | </para>
|
---|
| 86 |
|
---|
[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 |
|
---|
[386756fd] | 97 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[eeb29511] | 98 | make</userinput></screen>
|
---|
| 99 |
|
---|
[c7ce750a] | 100 | <para>
|
---|
[8558044] | 101 | To check the results, issue <command>make check</command>.
|
---|
[c7ce750a] | 102 | </para>
|
---|
[eeb29511] | 103 |
|
---|
[c7ce750a] | 104 | <para>
|
---|
| 105 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 106 | </para>
|
---|
[eeb29511] | 107 |
|
---|
| 108 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 109 |
|
---|
| 110 | </sect2>
|
---|
[4a2b534] | 111 | <!--
|
---|
[f10d931] | 112 | <sect2 role="commands">
|
---|
| 113 | <title>Command Explanations</title>
|
---|
| 114 |
|
---|
| 115 |
|
---|
| 116 | </sect2>
|
---|
[4a2b534] | 117 | -->
|
---|
[f10d931] | 118 |
|
---|
[eeb29511] | 119 | <sect2 role="content">
|
---|
| 120 | <title>Contents</title>
|
---|
| 121 |
|
---|
| 122 | <segmentedlist>
|
---|
[c3c56b2] | 123 | <segtitle>Installed Programs</segtitle>
|
---|
[eeb29511] | 124 | <segtitle>Installed Libraries</segtitle>
|
---|
[c3c56b2] | 125 | <segtitle>Installed Directories</segtitle>
|
---|
[eeb29511] | 126 |
|
---|
| 127 | <seglistitem>
|
---|
[c3c56b2] | 128 | <seg>
|
---|
| 129 | None
|
---|
| 130 | </seg>
|
---|
[c7ce750a] | 131 | <seg>
|
---|
[d94bd7f4] | 132 | libpytalloc-util.&python3-lib-suffix;.so,
|
---|
[7aa91c69] | 133 | <!--libpytalloc-util.so,-->
|
---|
[f10d931] | 134 | libtalloc.so,
|
---|
[65bdd29] | 135 | <!-- NOTE: The below is Optional now. Seems it is not built even
|
---|
| 136 | if python2 is installed, with the above instructions.
|
---|
| 137 | talloc.so (Python-2 Module)--> and
|
---|
[d94bd7f4] | 138 | talloc.&python3-lib-suffix;.so (Python-3 Module)
|
---|
[c7ce750a] | 139 | </seg>
|
---|
[c3c56b2] | 140 | <seg>
|
---|
| 141 | None
|
---|
| 142 | </seg>
|
---|
[eeb29511] | 143 | </seglistitem>
|
---|
| 144 | </segmentedlist>
|
---|
| 145 |
|
---|
| 146 | <variablelist>
|
---|
| 147 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 148 | <?dbfo list-presentation="list"?>
|
---|
| 149 | <?dbhtml list-presentation="table"?>
|
---|
| 150 |
|
---|
[c7ce750a] | 151 | <varlistentry id="libtalloc">
|
---|
| 152 | <term><filename class="libraryfile">libtalloc.so</filename></term>
|
---|
[eeb29511] | 153 | <listitem>
|
---|
[c7ce750a] | 154 | <para>
|
---|
[614fce8e] | 155 | contains a replacement for the <application>Glibc</application>
|
---|
[4c24eb0a] | 156 | malloc function
|
---|
[c7ce750a] | 157 | </para>
|
---|
| 158 | <indexterm zone="talloc libtalloc">
|
---|
| 159 | <primary sortas="c-libtalloc">libtalloc.so</primary>
|
---|
[eeb29511] | 160 | </indexterm>
|
---|
| 161 | </listitem>
|
---|
| 162 | </varlistentry>
|
---|
| 163 |
|
---|
| 164 | </variablelist>
|
---|
| 165 |
|
---|
| 166 | </sect2>
|
---|
| 167 |
|
---|
| 168 | </sect1>
|
---|