glfs/networking/netlibs/libnl.xml
Fernando de Oliveira 79d191ee20 Some tags anfix, thanks to Armin K.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12753 af4574ff-66df-0310-9fd7-8a98e5e911e0
2014-02-20 21:24:55 +00:00

178 lines
4.7 KiB
XML

<?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;
<!ENTITY libnl-download-http
"http://www.carisma.slowglass.com/~tgr/libnl/files/libnl-&libnl-version;.tar.gz">
<!ENTITY libnl-download-ftp " ">
<!ENTITY libnl-md5sum "6e0e7bad0674749d930dd9f285343d55">
<!ENTITY libnl-size "784 KB">
<!ENTITY libnl-buildsize "25 MB">
<!ENTITY libnl-time "0.3 SBU">
]>
<sect1 id="libnl" xreflabel="libnl-&libnl-version;">
<?dbhtml filename="libnl.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>libnl-&libnl-version;</title>
<indexterm zone="libnl">
<primary sortas="a-libnl">libnl</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to libnl</title>
<para>
The <application>libnl</application> suite is a collection of libraries
providing APIs to netlink protocol based Linux kernel interfaces.
</para>
&lfs75_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&libnl-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&libnl-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &libnl-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &libnl-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &libnl-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &libnl-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">libnl Dependencies</bridgehead>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="check"/> (for tests)
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/libnl"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of libnl</title>
<para>
Install <application>libnl</application> by running the following
commands:
</para>
<screen><userinput>./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-static &amp;&amp;
make</userinput></screen>
<para>
To test the results, issue: <command>make check</command>.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/static-libraries.xml"/>
<para>
<option>--disable-cli</option>: Use this parameter if you
don't want to install cli tools provided by the package.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
genl-ctrl-list, nl-class-add, nl-class-delete, nl-classid-lookup,
nl-class-list, nl-cls-add, nl-cls-delete, nl-cls-list,
nl-link-list, nl-pktloc-lookup, nl-qdisc-add, nl-qdisc-delete, and
nl-qdisc-list
</seg>
<seg>
libnl-3.so,
libnl-cli-3.so,
libnl-genl-3.so,
libnl-idiag-3.so,
libnl-nf-3.so, and
libnl-route-3.so
</seg>
<seg>
/etc/libnl,
/usr/include/libnl3, and
/usr/lib/libnl
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libnl-lib">
<term><filename class="libraryfile">libnl*-3.so</filename></term>
<listitem>
<para>
These libraries contain API functions used to access Netlink
interfaces in Linux kernel.
</para>
<indexterm zone="libnl libnl-lib">
<primary sortas="c-libnl">libnl*-3.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>