mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-01 13:02:35 +08:00
5ef6186dda
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10414 af4574ff-66df-0310-9fd7-8a98e5e911e0
225 lines
6.6 KiB
XML
225 lines
6.6 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 libevent-download-http
|
|
"https://github.com/downloads/libevent/libevent/libevent-&libevent-version;-stable.tar.gz">
|
|
<!ENTITY libevent-download-ftp " ">
|
|
<!ENTITY libevent-md5sum "91111579769f46055b0a438f5cc59572">
|
|
<!ENTITY libevent-size "824 KB">
|
|
<!ENTITY libevent-buildsize "20 MB">
|
|
<!ENTITY libevent-time "0.3 SBU">
|
|
]>
|
|
|
|
<sect1 id="libevent" xreflabel="libevent-&libevent-version;">
|
|
<?dbhtml filename="libevent.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>libevent-&libevent-version;</title>
|
|
|
|
<indexterm zone="libevent">
|
|
<primary sortas="a-libevent">Libevent</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to Libevent</title>
|
|
|
|
<para>
|
|
<application>Libevent</application> is an asynchronous event notification
|
|
software library. The Libevent API provides a mechanism to execute a
|
|
callback function when a specific event occurs on a file descriptor or
|
|
after a timeout has been reached. Furthermore, Libevent also supports
|
|
callbacks due to signals or regular timeouts.
|
|
</para>
|
|
|
|
&lfs71_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&libevent-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&libevent-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &libevent-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &libevent-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &libevent-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &libevent-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">Libevent Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
<para role="recommended"><xref linkend="openssl"/></para>
|
|
|
|
<para condition="html" role="usernotes">
|
|
User Notes: <ulink url="&blfs-wiki;/libevent"/>
|
|
</para>
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of Libevent</title>
|
|
|
|
<para>
|
|
Install <application>Libevent</application> by running the following
|
|
commands:
|
|
</para>
|
|
|
|
<screen><userinput>./configure --prefix=/usr --disable-static &&
|
|
make</userinput></screen>
|
|
|
|
<para>
|
|
This package does not have a working testsuite
|
|
</para>
|
|
|
|
<!-- <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"/>
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Program</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>event_rpcgen.py</seg>
|
|
<seg>
|
|
libevent_core.so,
|
|
libevent_extra.so,
|
|
libevent_openssl.so,
|
|
libevent_pthreads.so and
|
|
libevent.so
|
|
</seg>
|
|
<seg>/usr/include/event2</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<!-- Who knows what these things do?
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="event_rpcgen.py">
|
|
<term><command>event_rpcgen.py</command></term>
|
|
<listitem>
|
|
<para>
|
|
does this .....
|
|
</para>
|
|
<indexterm zone="libevent event_rpcgen.py">
|
|
<primary sortas="b-event_rpcgen.py">event_rpcgen.py</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="libevent_core">
|
|
<term><filename class="libraryfile">libevent_core.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
contains functions that .....
|
|
</para>
|
|
<indexterm zone="libevent libevent_core">
|
|
<primary sortas="c-libevent_core">libevent_core.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
|
|
<varlistentry id="libevent_extra">
|
|
<term><filename class="libraryfile">libevent_extra.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
contains functions that .....
|
|
</para>
|
|
<indexterm zone="libevent libevent_extra">
|
|
<primary sortas="c-libevent_extra">libevent_extra.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
|
|
<varlistentry id="libevent_openssl">
|
|
<term><filename class="libraryfile">libevent_openssl.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
contains functions that .....
|
|
</para>
|
|
<indexterm zone="libevent libevent_openssl">
|
|
<primary sortas="c-libevent_openssl">libevent_openssl.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
|
|
<varlistentry id="libevent_pthreads">
|
|
<term><filename class="libraryfile">libevent_pthreads.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
contains functions that .....
|
|
</para>
|
|
<indexterm zone="libevent libevent_pthreads">
|
|
<primary sortas="c-libevent_pthreads">libevent_pthreads.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
|
|
<varlistentry id="libevent-lib">
|
|
<term><filename class="libraryfile">libevent.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
contains functions that .....
|
|
</para>
|
|
<indexterm zone="libevent libevent-lib">
|
|
<primary sortas="c-libevent">libevent.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist> -->
|
|
</sect2>
|
|
</sect1>
|