[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 " ">
|
---|
[7aa91c69] | 9 | <!ENTITY talloc-md5sum "3376a86bdf9dd4abc6b8d8d645390902">
|
---|
| 10 | <!ENTITY talloc-size "648 KB">
|
---|
| 11 | <!ENTITY talloc-buildsize "10 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 |
|
---|
[9029db2] | 38 | &lfs101_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
|
---|
[03bb997] | 79 | <xref linkend="libxslt"/> (To generate man pages),
|
---|
[136321c7] | 80 | <!-- not accepted anymore
|
---|
[03bb997] | 81 | <xref linkend="python2"/> (To build Python-2 module),
|
---|
[136321c7] | 82 | --> <xref linkend="gdb"/>,
|
---|
[03bb997] | 83 | <xref linkend="git"/>,
|
---|
[7aa91c69] | 84 | <xref linkend="libnsl"/>,
|
---|
| 85 | <xref linkend="libtirpc"/>,
|
---|
| 86 | <xref linkend="valgrind"/>, and
|
---|
| 87 | <xref linkend="xfsprogs"/>
|
---|
[03bb997] | 88 | <!-- These are all looked for at build time, but might not actually be used.-->
|
---|
[c7ce750a] | 89 | </para>
|
---|
| 90 |
|
---|
| 91 | <para condition="html" role="usernotes">
|
---|
| 92 | User Notes: <ulink url="&blfs-wiki;/talloc"/>
|
---|
| 93 | </para>
|
---|
[eeb29511] | 94 | </sect2>
|
---|
| 95 |
|
---|
| 96 | <sect2 role="installation">
|
---|
[c7ce750a] | 97 | <title>Installation of Talloc</title>
|
---|
[eeb29511] | 98 |
|
---|
[c7ce750a] | 99 | <para>
|
---|
| 100 | Install <application>Talloc</application> by running the following
|
---|
| 101 | commands:
|
---|
| 102 | </para>
|
---|
[eeb29511] | 103 |
|
---|
[386756fd] | 104 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[eeb29511] | 105 | make</userinput></screen>
|
---|
| 106 |
|
---|
[c7ce750a] | 107 | <para>
|
---|
[55944f9] | 108 | To check the results, issue <command>make check</command>.
|
---|
[c7ce750a] | 109 | </para>
|
---|
[eeb29511] | 110 |
|
---|
[c7ce750a] | 111 | <para>
|
---|
| 112 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 113 | </para>
|
---|
[eeb29511] | 114 |
|
---|
| 115 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 116 |
|
---|
| 117 | </sect2>
|
---|
[4a2b534] | 118 | <!--
|
---|
[f10d931] | 119 | <sect2 role="commands">
|
---|
| 120 | <title>Command Explanations</title>
|
---|
| 121 |
|
---|
| 122 |
|
---|
| 123 | </sect2>
|
---|
[4a2b534] | 124 | -->
|
---|
[f10d931] | 125 |
|
---|
[eeb29511] | 126 | <sect2 role="content">
|
---|
| 127 | <title>Contents</title>
|
---|
| 128 |
|
---|
| 129 | <segmentedlist>
|
---|
[c3c56b2] | 130 | <segtitle>Installed Programs</segtitle>
|
---|
[eeb29511] | 131 | <segtitle>Installed Libraries</segtitle>
|
---|
[c3c56b2] | 132 | <segtitle>Installed Directories</segtitle>
|
---|
[eeb29511] | 133 |
|
---|
| 134 | <seglistitem>
|
---|
[c3c56b2] | 135 | <seg>
|
---|
| 136 | None
|
---|
| 137 | </seg>
|
---|
[c7ce750a] | 138 | <seg>
|
---|
[d94bd7f4] | 139 | libpytalloc-util.&python3-lib-suffix;.so,
|
---|
[7aa91c69] | 140 | <!--libpytalloc-util.so,-->
|
---|
[f10d931] | 141 | libtalloc.so,
|
---|
[51a8ab3] | 142 | <!-- NOTE: The below is Optional now. -->
|
---|
[f10d931] | 143 | talloc.so (Python-2 Module) and
|
---|
[d94bd7f4] | 144 | talloc.&python3-lib-suffix;.so (Python-3 Module)
|
---|
[c7ce750a] | 145 | </seg>
|
---|
[c3c56b2] | 146 | <seg>
|
---|
| 147 | None
|
---|
| 148 | </seg>
|
---|
[eeb29511] | 149 | </seglistitem>
|
---|
| 150 | </segmentedlist>
|
---|
| 151 |
|
---|
| 152 | <variablelist>
|
---|
| 153 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 154 | <?dbfo list-presentation="list"?>
|
---|
| 155 | <?dbhtml list-presentation="table"?>
|
---|
| 156 |
|
---|
[c7ce750a] | 157 | <varlistentry id="libtalloc">
|
---|
| 158 | <term><filename class="libraryfile">libtalloc.so</filename></term>
|
---|
[eeb29511] | 159 | <listitem>
|
---|
[c7ce750a] | 160 | <para>
|
---|
[614fce8e] | 161 | contains a replacement for the <application>Glibc</application>
|
---|
[4c24eb0a] | 162 | malloc function
|
---|
[c7ce750a] | 163 | </para>
|
---|
| 164 | <indexterm zone="talloc libtalloc">
|
---|
| 165 | <primary sortas="c-libtalloc">libtalloc.so</primary>
|
---|
[eeb29511] | 166 | </indexterm>
|
---|
| 167 | </listitem>
|
---|
| 168 | </varlistentry>
|
---|
| 169 |
|
---|
| 170 | </variablelist>
|
---|
| 171 |
|
---|
| 172 | </sect2>
|
---|
| 173 |
|
---|
| 174 | </sect1>
|
---|