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