[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 " ">
|
---|
[d60cd837] | 9 | <!ENTITY talloc-md5sum "a56bc6add28ae0f5693eb49e19ddddcf">
|
---|
| 10 | <!ENTITY talloc-size "620 KB">
|
---|
| 11 | <!ENTITY talloc-buildsize "10 MB (with tests)">
|
---|
| 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 |
|
---|
[43b1dad3] | 38 | &lfs83_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 |
|
---|
[d60cd837] | 102 | <screen><userinput>sed -i s:../../buildtools/bin/waf:buildtools/bin/waf: Makefile &&
|
---|
| 103 | ./configure --prefix=/usr &&
|
---|
[eeb29511] | 104 | make</userinput></screen>
|
---|
| 105 |
|
---|
[c7ce750a] | 106 | <para>
|
---|
[55944f9] | 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>
|
---|
| 117 |
|
---|
[f10d931] | 118 | <sect2 role="commands">
|
---|
| 119 | <title>Command Explanations</title>
|
---|
| 120 |
|
---|
[d60cd837] | 121 | <para>
|
---|
| 122 | <command>sed -i s:[...] Makefile</command>: This command fixes a
|
---|
| 123 | packaging problem introduced with this version of Talloc.
|
---|
| 124 | </para>
|
---|
| 125 |
|
---|
[f10d931] | 126 | <para>
|
---|
| 127 | <option>--extra-python=PYTHON</option>: This switch enables building
|
---|
| 128 | selected libraries for the specified additional version of Python
|
---|
[d60cd837] | 129 | (example: <option>--extra-python=/usr/bin/python2</option>).
|
---|
[f10d931] | 130 | </para>
|
---|
| 131 |
|
---|
| 132 | </sect2>
|
---|
| 133 |
|
---|
[eeb29511] | 134 | <sect2 role="content">
|
---|
| 135 | <title>Contents</title>
|
---|
| 136 |
|
---|
| 137 | <segmentedlist>
|
---|
[c3c56b2] | 138 | <segtitle>Installed Programs</segtitle>
|
---|
[eeb29511] | 139 | <segtitle>Installed Libraries</segtitle>
|
---|
[c3c56b2] | 140 | <segtitle>Installed Directories</segtitle>
|
---|
[eeb29511] | 141 |
|
---|
| 142 | <seglistitem>
|
---|
[c3c56b2] | 143 | <seg>
|
---|
| 144 | None
|
---|
| 145 | </seg>
|
---|
[c7ce750a] | 146 | <seg>
|
---|
[0098ddeb] | 147 | libpytalloc-util.cpython-35m-x86-64-linux-gnu.so,
|
---|
[f10d931] | 148 | libpytalloc-util.so,
|
---|
| 149 | libtalloc.so,
|
---|
[d60cd837] | 150 | <!-- NOTE: The below is Optional now. -->
|
---|
[f10d931] | 151 | talloc.so (Python-2 Module) and
|
---|
[0098ddeb] | 152 | talloc.cpython-35m-x86_64-linux-gnu.so (Python-3 Module)
|
---|
[c7ce750a] | 153 | </seg>
|
---|
[c3c56b2] | 154 | <seg>
|
---|
| 155 | None
|
---|
| 156 | </seg>
|
---|
[eeb29511] | 157 | </seglistitem>
|
---|
| 158 | </segmentedlist>
|
---|
| 159 |
|
---|
| 160 | <variablelist>
|
---|
| 161 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 162 | <?dbfo list-presentation="list"?>
|
---|
| 163 | <?dbhtml list-presentation="table"?>
|
---|
| 164 |
|
---|
[c7ce750a] | 165 | <varlistentry id="libtalloc">
|
---|
| 166 | <term><filename class="libraryfile">libtalloc.so</filename></term>
|
---|
[eeb29511] | 167 | <listitem>
|
---|
[c7ce750a] | 168 | <para>
|
---|
[614fce8e] | 169 | contains a replacement for the <application>Glibc</application>
|
---|
[c7ce750a] | 170 | malloc function.
|
---|
| 171 | </para>
|
---|
| 172 | <indexterm zone="talloc libtalloc">
|
---|
| 173 | <primary sortas="c-libtalloc">libtalloc.so</primary>
|
---|
[eeb29511] | 174 | </indexterm>
|
---|
| 175 | </listitem>
|
---|
| 176 | </varlistentry>
|
---|
| 177 |
|
---|
| 178 | </variablelist>
|
---|
| 179 |
|
---|
| 180 | </sect2>
|
---|
| 181 |
|
---|
| 182 | </sect1>
|
---|