2011-01-24 06:58:10 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2015-02-08 19:18:29 +08:00
|
|
|
<!ENTITY talloc-download-http "https://www.samba.org/ftp/talloc/talloc-&talloc-version;.tar.gz">
|
2015-02-09 02:58:07 +08:00
|
|
|
<!ENTITY talloc-download-ftp " ">
|
2018-01-15 00:35:19 +08:00
|
|
|
<!ENTITY talloc-md5sum "452596f904ca2b10322bdaabf147a721">
|
|
|
|
<!ENTITY talloc-size "436 KB">
|
|
|
|
<!ENTITY talloc-buildsize "7.3 MB (with tests)">
|
2017-03-01 04:44:08 +08:00
|
|
|
<!ENTITY talloc-time "0.3 SBU (with tests)">
|
2011-01-24 06:58:10 +08:00
|
|
|
]>
|
|
|
|
|
2013-07-16 07:27:18 +08:00
|
|
|
<sect1 id="talloc" xreflabel="Talloc-&talloc-version;">
|
2011-01-24 06:58:10 +08:00
|
|
|
<?dbhtml filename="talloc.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
2013-07-16 07:27:18 +08:00
|
|
|
<title>Talloc-&talloc-version;</title>
|
2011-01-24 06:58:10 +08:00
|
|
|
|
|
|
|
<indexterm zone="talloc">
|
2013-07-16 07:27:18 +08:00
|
|
|
<primary sortas="a-Talloc">Talloc</primary>
|
2011-01-24 06:58:10 +08:00
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
2013-01-06 05:45:36 +08:00
|
|
|
<title>Introduction to Talloc</title>
|
2011-01-24 06:58:10 +08:00
|
|
|
|
2013-01-06 05:45:36 +08:00
|
|
|
<para>
|
|
|
|
<application>Talloc</application> provides a hierarchical, reference
|
|
|
|
counted memory pool system with destructors. It is the core memory
|
|
|
|
allocator used in <application>Samba</application>.
|
|
|
|
</para>
|
2011-01-24 06:58:10 +08:00
|
|
|
|
2017-08-21 11:24:54 +08:00
|
|
|
&lfs81_checked;
|
2011-12-10 09:21:48 +08:00
|
|
|
|
2011-01-24 06:58:10 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
2013-01-06 05:45:36 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&talloc-download-http;"/>
|
|
|
|
</para>
|
2011-01-24 06:58:10 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2013-01-06 05:45:36 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&talloc-download-ftp;"/>
|
|
|
|
</para>
|
2011-01-24 06:58:10 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2013-01-06 05:45:36 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &talloc-md5sum;
|
|
|
|
</para>
|
2011-01-24 06:58:10 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2013-01-06 05:45:36 +08:00
|
|
|
<para>
|
|
|
|
Download size: &talloc-size;</para>
|
2011-01-24 06:58:10 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2013-01-06 05:45:36 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &talloc-buildsize;
|
|
|
|
</para>
|
2011-01-24 06:58:10 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2013-01-06 05:45:36 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &talloc-time;
|
|
|
|
</para>
|
2011-01-24 06:58:10 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2013-01-06 05:45:36 +08:00
|
|
|
<bridgehead renderas="sect3">Talloc Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
|
|
<para role="optional">
|
|
|
|
<xref linkend="DocBook"/>,
|
|
|
|
<xref linkend="docbook-xsl"/> and
|
2017-10-16 02:23:25 +08:00
|
|
|
<xref linkend="libxslt"/> (To generate man pages), and
|
|
|
|
<xref linkend="python2"/> (To build Python-2 module)
|
2013-01-06 05:45:36 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para condition="html" role="usernotes">
|
|
|
|
User Notes: <ulink url="&blfs-wiki;/talloc"/>
|
|
|
|
</para>
|
2011-01-24 06:58:10 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
2013-01-06 05:45:36 +08:00
|
|
|
<title>Installation of Talloc</title>
|
2011-01-24 06:58:10 +08:00
|
|
|
|
2013-01-06 05:45:36 +08:00
|
|
|
<para>
|
|
|
|
Install <application>Talloc</application> by running the following
|
|
|
|
commands:
|
|
|
|
</para>
|
2011-01-24 06:58:10 +08:00
|
|
|
|
|
|
|
<screen><userinput>./configure --prefix=/usr &&
|
|
|
|
make</userinput></screen>
|
|
|
|
|
2013-01-06 05:45:36 +08:00
|
|
|
<para>
|
2016-05-08 07:06:59 +08:00
|
|
|
To check the results, issue <command>make check</command>.
|
2017-08-25 06:03:00 +08:00
|
|
|
<!-- The python tests fail due to missing files. - Not applicable
|
|
|
|
when testing for 8.1 -->
|
2013-01-06 05:45:36 +08:00
|
|
|
</para>
|
2011-01-24 06:58:10 +08:00
|
|
|
|
2013-01-06 05:45:36 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2011-01-24 06:58:10 +08:00
|
|
|
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2015-07-23 07:36:46 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
<option>--extra-python=PYTHON</option>: This switch enables building
|
|
|
|
selected libraries for the specified additional version of Python
|
|
|
|
(example: <option>--extra-python=/usr/bin/python3</option>).
|
|
|
|
</para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2011-01-24 06:58:10 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
2013-01-26 00:32:25 +08:00
|
|
|
<segtitle>Installed Programs</segtitle>
|
2011-01-24 06:58:10 +08:00
|
|
|
<segtitle>Installed Libraries</segtitle>
|
2013-01-26 00:32:25 +08:00
|
|
|
<segtitle>Installed Directories</segtitle>
|
2011-01-24 06:58:10 +08:00
|
|
|
|
|
|
|
<seglistitem>
|
2013-01-26 00:32:25 +08:00
|
|
|
<seg>
|
|
|
|
None
|
|
|
|
</seg>
|
2013-01-06 05:45:36 +08:00
|
|
|
<seg>
|
2016-03-12 10:03:51 +08:00
|
|
|
libpytalloc-util.cpython-35m-x86-64-linux-gnu.so,
|
2015-07-23 07:36:46 +08:00
|
|
|
libpytalloc-util.so,
|
|
|
|
libtalloc.so,
|
|
|
|
talloc.so (Python-2 Module) and
|
2016-03-12 10:03:51 +08:00
|
|
|
talloc.cpython-35m-x86_64-linux-gnu.so (Python-3 Module)
|
2013-01-06 05:45:36 +08:00
|
|
|
</seg>
|
2013-01-26 00:32:25 +08:00
|
|
|
<seg>
|
|
|
|
None
|
|
|
|
</seg>
|
2011-01-24 06:58:10 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
2013-01-06 05:45:36 +08:00
|
|
|
<varlistentry id="libtalloc">
|
|
|
|
<term><filename class="libraryfile">libtalloc.so</filename></term>
|
2011-01-24 06:58:10 +08:00
|
|
|
<listitem>
|
2013-01-06 05:45:36 +08:00
|
|
|
<para>
|
2016-07-08 12:44:41 +08:00
|
|
|
contains a replacement for the <application>Glibc</application>
|
2013-01-06 05:45:36 +08:00
|
|
|
malloc function.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="talloc libtalloc">
|
|
|
|
<primary sortas="c-libtalloc">libtalloc.so</primary>
|
2011-01-24 06:58:10 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|