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