mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 14:47:17 +08:00
3e39d340eb
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9293 af4574ff-66df-0310-9fd7-8a98e5e911e0
136 lines
4.4 KiB
XML
136 lines
4.4 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.infradead.org/~tgr/libnl/files/libnl-&libnl-version;.tar.gz">
|
|
<!ENTITY libnl-download-ftp " ">
|
|
<!ENTITY libnl-md5sum "dbbb44801e833cf9ca4fdc943f2a58ee">
|
|
<!ENTITY libnl-size "1.1 MB">
|
|
<!ENTITY libnl-buildsize "33 MB">
|
|
<!ENTITY libnl-time "0.2 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>
|
|
|
|
&lfs70_built;
|
|
|
|
<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>
|
|
|
|
<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 &&
|
|
make</userinput></screen>
|
|
|
|
<para>This package does not have a testsuite.</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>
|
|
|
|
<para><parameter>--sysconfdir=/etc</parameter>: This parameter puts the
|
|
pktloc and classid files in <filename class="directory">/etc/libnl</filename>
|
|
which is their conventional location and recommended if you are building
|
|
this package to enable <application>NetworkManager</application> on a
|
|
desktop. If you are building this package for other reasons, you might
|
|
prefer to use <parameter>--sysconfdir=/var/lib</parameter> so that these
|
|
files, which are not expected to be edited, are placed in
|
|
<filename class="directory">/var/lib/nl</filename>. The default for a
|
|
build with prefix <filename class="directory">/usr</filename> is, of course,
|
|
to create a directory <filename class="directory">/usr/etc</filename> which
|
|
is not desirable.</para>
|
|
|
|
<para><option>--enable-static=no</option>: This switch prevents the static
|
|
libraries being installed.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Library</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>None</seg>
|
|
<seg>libnl-3.{a,so}, libnl-cli-3.{a,so}, libnl-genl-3.{a,so}, libnl-nf-3.{a,so}, libnl-route-3.{a,so}</seg>
|
|
<seg>/usr/include/libnl3</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>contains functions that .....</para>
|
|
<indexterm zone="libnl libnl-lib">
|
|
<primary sortas="c-libnl">libnl-3.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|