[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[3964f59] | 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 |
|
---|
[5cf7959] | 7 | <!ENTITY libaio-download-http "https://pagure.io/libaio/archive/libaio-&libaio-version;/libaio-&libaio-version;.tar.gz">
|
---|
[3964f59] | 8 | <!ENTITY libaio-download-ftp " ">
|
---|
[5cf7959] | 9 | <!ENTITY libaio-md5sum "605237f35de238dfacc83bcae406d95d">
|
---|
| 10 | <!ENTITY libaio-size "48 KB">
|
---|
[3964f59] | 11 | <!ENTITY libaio-buildsize "1.0 MB">
|
---|
| 12 | <!ENTITY libaio-time "less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libaio" xreflabel="libaio-&libaio-version;">
|
---|
| 16 | <?dbhtml filename="libaio.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>libaio-&libaio-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="libaio">
|
---|
| 22 | <primary sortas="a-libaio">libaio</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to libaio</title>
|
---|
| 27 |
|
---|
| 28 | <para>
|
---|
| 29 | The <application>libaio</application> package is an asynchronous I/O
|
---|
| 30 | facility ("async I/O", or "aio") that has a richer API and capability set
|
---|
| 31 | than the simple POSIX async I/O facility. This library, libaio, provides
|
---|
| 32 | the Linux-native API for async I/O. The POSIX async I/O facility
|
---|
| 33 | requires this library in order to provide kernel-accelerated async I/O
|
---|
| 34 | capabilities, as do applications which require the Linux-native async I/O
|
---|
| 35 | API.
|
---|
| 36 | </para>
|
---|
| 37 |
|
---|
[4c0efc3c] | 38 | &lfs122_checked;
|
---|
[3964f59] | 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&libaio-download-http;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&libaio-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download MD5 sum: &libaio-md5sum;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Download size: &libaio-size;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated disk space required: &libaio-buildsize;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>
|
---|
| 69 | Estimated build time: &libaio-time;
|
---|
| 70 | </para>
|
---|
| 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | </sect2>
|
---|
| 75 |
|
---|
| 76 | <sect2 role="installation">
|
---|
| 77 | <title>Installation of libaio</title>
|
---|
| 78 |
|
---|
[d56e7df] | 79 | <para>
|
---|
| 80 | First, disable the installation of the static library:
|
---|
| 81 | </para>
|
---|
[3964f59] | 82 |
|
---|
[49cbcfe] | 83 | <screen><userinput>sed -i '/install.*libaio.a/s/^/#/' src/Makefile</userinput></screen>
|
---|
[3964f59] | 84 |
|
---|
| 85 | <para>
|
---|
| 86 | Build <application>libaio</application> by running the following
|
---|
| 87 | command:
|
---|
| 88 | </para>
|
---|
| 89 |
|
---|
| 90 | <screen><userinput>make</userinput></screen>
|
---|
| 91 |
|
---|
| 92 | <para>
|
---|
[513f1d3] | 93 | To test the results, issue: <command>make partcheck</command>.
|
---|
[3964f59] | 94 | </para>
|
---|
| 95 |
|
---|
| 96 | <para>
|
---|
[8558044] | 97 | Now, install the package as the
|
---|
[3964f59] | 98 | <systemitem class="username">root</systemitem> user:
|
---|
| 99 | </para>
|
---|
| 100 |
|
---|
| 101 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 102 |
|
---|
| 103 | </sect2>
|
---|
| 104 | <!--
|
---|
| 105 | <sect2 role="commands">
|
---|
| 106 | <title>Command Explanations</title>
|
---|
| 107 |
|
---|
| 108 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 109 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 110 |
|
---|
| 111 | </sect2>
|
---|
| 112 | -->
|
---|
| 113 | <sect2 role="content">
|
---|
| 114 | <title>Contents</title>
|
---|
| 115 |
|
---|
| 116 | <segmentedlist>
|
---|
| 117 | <segtitle>Installed Programs</segtitle>
|
---|
| 118 | <segtitle>Installed Library</segtitle>
|
---|
| 119 | <segtitle>Installed Directories</segtitle>
|
---|
| 120 |
|
---|
| 121 | <seglistitem>
|
---|
| 122 | <seg>
|
---|
| 123 | None
|
---|
| 124 | </seg>
|
---|
| 125 | <seg>
|
---|
| 126 | libaio.so
|
---|
| 127 | </seg>
|
---|
| 128 | <seg>
|
---|
| 129 | None
|
---|
| 130 | </seg>
|
---|
| 131 | </seglistitem>
|
---|
| 132 | </segmentedlist>
|
---|
| 133 |
|
---|
| 134 | <variablelist>
|
---|
| 135 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 136 | <?dbfo list-presentation="list"?>
|
---|
| 137 | <?dbhtml list-presentation="table"?>
|
---|
| 138 |
|
---|
| 139 | <varlistentry id="libaio-lib">
|
---|
[4c24eb0a] | 140 | <term><filename class="libraryfile">libaio.so</filename></term>
|
---|
[3964f59] | 141 | <listitem>
|
---|
| 142 | <para>
|
---|
[4c24eb0a] | 143 | is the libaio library
|
---|
[3964f59] | 144 | </para>
|
---|
| 145 | <indexterm zone="libaio libaio-lib">
|
---|
| 146 | <primary sortas="c-libaio">libaio.so</primary>
|
---|
| 147 | </indexterm>
|
---|
| 148 | </listitem>
|
---|
| 149 | </varlistentry>
|
---|
| 150 |
|
---|
| 151 | </variablelist>
|
---|
| 152 |
|
---|
| 153 | </sect2>
|
---|
| 154 |
|
---|
| 155 | </sect1>
|
---|