[6eb166fa] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 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 |
|
---|
[c92ba3b] | 7 | <!ENTITY libuv-download-http "https://dist.libuv.org/dist/v&libuv-version;/libuv-v&libuv-version;.tar.gz">
|
---|
[6eb166fa] | 8 | <!ENTITY libuv-download-ftp " ">
|
---|
[d60cd837] | 9 | <!ENTITY libuv-md5sum "fade1235edaef8dbc688956cc42b3bd4">
|
---|
[6eb166fa] | 10 | <!ENTITY libuv-size "1.1 MB">
|
---|
[b5689ba] | 11 | <!ENTITY libuv-buildsize "12 MB (add 11 MB for tests)">
|
---|
[d60cd837] | 12 | <!ENTITY libuv-time "0.1 SBU (add 0.4 SBU for tests)">
|
---|
[6eb166fa] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libuv" xreflabel="libuv-&libuv-version;">
|
---|
| 16 | <?dbhtml filename="libuv.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>libuv-&libuv-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="libuv">
|
---|
| 26 | <primary sortas="a-libuv">libuv</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to libuv</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | The <application>libuv</application> package is a
|
---|
[ac4d403] | 34 | multi-platform support library with a focus on asynchronous I/O.
|
---|
[6eb166fa] | 35 | </para>
|
---|
| 36 |
|
---|
[048b9a46] | 37 | &lfs83_checked;
|
---|
[6eb166fa] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&libuv-download-http;"/>
|
---|
| 44 | </para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&libuv-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
| 53 | Download MD5 sum: &libuv-md5sum;
|
---|
| 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Download size: &libuv-size;
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Estimated disk space required: &libuv-buildsize;
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>
|
---|
| 68 | Estimated build time: &libuv-time;
|
---|
| 69 | </para>
|
---|
| 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 | <!--
|
---|
| 73 | <bridgehead renderas="sect3">libuv Dependencies</bridgehead>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 76 | <para role="required">
|
---|
| 77 | <xref linkend="???"/>
|
---|
| 78 | </para>
|
---|
| 79 |
|
---|
| 80 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 81 | <para role="optional">
|
---|
| 82 | <xref linkend="???"/>
|
---|
| 83 | </para>
|
---|
| 84 | -->
|
---|
| 85 | <para condition="html" role="usernotes">User Notes:
|
---|
| 86 | <ulink url="&blfs-wiki;/libuv"/>
|
---|
| 87 | </para>
|
---|
| 88 | </sect2>
|
---|
| 89 |
|
---|
| 90 | <sect2 role="installation">
|
---|
| 91 | <title>Installation of libuv</title>
|
---|
| 92 |
|
---|
| 93 | <para>
|
---|
| 94 | Install <application>libuv</application> by running the following
|
---|
| 95 | commands:
|
---|
| 96 | </para>
|
---|
[6d8b45a3] | 97 | <!--
|
---|
| 98 | Don't use cmake here to avoid circular dependency
|
---|
[6eb166fa] | 99 |
|
---|
[b5689ba] | 100 | <screen><userinput>sed -i "/TARGETS uv_a ARCHIVE/d" CMakeLists.txt &&
|
---|
| 101 |
|
---|
| 102 | mkdir build &&
|
---|
| 103 | cd build &&
|
---|
| 104 |
|
---|
| 105 | cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
|
---|
| 106 | make </userinput></screen>
|
---|
[6d8b45a3] | 107 | -->
|
---|
[b5689ba] | 108 |
|
---|
[6d8b45a3] | 109 | <screen><userinput>sh autogen.sh &&
|
---|
| 110 | ./configure --prefix=/usr --disable-static &&
|
---|
| 111 | make </userinput></screen>
|
---|
| 112 | <!--
|
---|
[6eb166fa] | 113 | <para>
|
---|
[b5689ba] | 114 | If you want to run the tests, add -DBUILD_TESTING=true to
|
---|
| 115 | the cmake line above and after building run:
|
---|
| 116 | <command>make test</command>.
|
---|
[6eb166fa] | 117 | </para>
|
---|
[6d8b45a3] | 118 | -->
|
---|
| 119 | <para>
|
---|
| 120 | If you want to run the tests, run: <command>make check</command>.
|
---|
| 121 | </para>
|
---|
[6eb166fa] | 122 |
|
---|
| 123 | <para>
|
---|
| 124 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 125 | </para>
|
---|
| 126 |
|
---|
| 127 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 128 |
|
---|
| 129 | </sect2>
|
---|
| 130 |
|
---|
[6d8b45a3] | 131 | <!--
|
---|
[6eb166fa] | 132 | <sect2 role="commands">
|
---|
| 133 | <title>Command Explanations</title>
|
---|
| 134 |
|
---|
[b5689ba] | 135 | <para>
|
---|
| 136 | <command>sed ...</command>: This command disables installation
|
---|
| 137 | of the static library.
|
---|
| 138 | </para>
|
---|
| 139 |
|
---|
[6eb166fa] | 140 | </sect2>
|
---|
[6d8b45a3] | 141 | -->
|
---|
[6eb166fa] | 142 | <sect2 role="content">
|
---|
| 143 | <title>Contents</title>
|
---|
| 144 |
|
---|
| 145 | <segmentedlist>
|
---|
| 146 | <segtitle>Installed Programs</segtitle>
|
---|
| 147 | <segtitle>Installed Library</segtitle>
|
---|
[5a66d6ac] | 148 | <segtitle>Installed Directory</segtitle>
|
---|
[6eb166fa] | 149 |
|
---|
| 150 | <seglistitem>
|
---|
| 151 | <seg>
|
---|
| 152 | None
|
---|
| 153 | </seg>
|
---|
| 154 | <seg>
|
---|
| 155 | libuv.so
|
---|
| 156 | </seg>
|
---|
| 157 | <seg>
|
---|
[5a66d6ac] | 158 | /usr/include/uv
|
---|
[6eb166fa] | 159 | </seg>
|
---|
| 160 | </seglistitem>
|
---|
| 161 | </segmentedlist>
|
---|
[5a66d6ac] | 162 |
|
---|
[6eb166fa] | 163 | <variablelist>
|
---|
| 164 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 165 | <?dbfo list-presentation="list"?>
|
---|
| 166 | <?dbhtml list-presentation="table"?>
|
---|
| 167 |
|
---|
| 168 | <varlistentry id="libuv.so">
|
---|
| 169 | <term><filename class="libraryfile">libuv.so</filename></term>
|
---|
| 170 | <listitem>
|
---|
| 171 | <para>
|
---|
[5a66d6ac] | 172 | contains API functions for asynchronous I/O operations
|
---|
[6eb166fa] | 173 | </para>
|
---|
| 174 | <indexterm zone="libuv libuv.so">
|
---|
| 175 | <primary sortas="c-libuv.so">libuv.so</primary>
|
---|
| 176 | </indexterm>
|
---|
| 177 | </listitem>
|
---|
| 178 | </varlistentry>
|
---|
| 179 |
|
---|
| 180 | </variablelist>
|
---|
[5a66d6ac] | 181 |
|
---|
[6eb166fa] | 182 | </sect2>
|
---|
| 183 |
|
---|
| 184 | </sect1>
|
---|