[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 " ">
|
---|
[a82b5f44] | 9 | <!ENTITY libuv-md5sum "7cb2fdadb61a76fc55cbbe928e322862">
|
---|
[b905a81] | 10 | <!ENTITY libuv-size "1.2 MB">
|
---|
[a82b5f44] | 11 | <!ENTITY libuv-buildsize "14 MB (add 12 MB for tests)">
|
---|
| 12 | <!ENTITY libuv-time "0.1 SBU (Using parallelism=4; 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 |
|
---|
[7697bb25] | 37 | &lfs10_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>
|
---|
[e05831c9] | 97 |
|
---|
| 98 | <caution>
|
---|
| 99 | <para>
|
---|
| 100 | The <command>sh autogen.sh</command> command below fails if the ACLOCAL
|
---|
| 101 | environment variable is set as specified in <xref linkend="xorg7"/>.
|
---|
| 102 | If it is used, ACLOCAL needs to be unset for this package and then
|
---|
| 103 | reset for other packages.
|
---|
| 104 | </para>
|
---|
| 105 | </caution>
|
---|
| 106 |
|
---|
[a1b1e9d4] | 107 | <!--
|
---|
| 108 | Don't use cmake here to avoid circular dependency
|
---|
[6eb166fa] | 109 |
|
---|
[fe80e96] | 110 | <screen><userinput>sed -i "/TARGETS uv_a ARCHIVE/d" CMakeLists.txt &&
|
---|
| 111 |
|
---|
| 112 | mkdir build &&
|
---|
| 113 | cd build &&
|
---|
| 114 |
|
---|
| 115 | cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
|
---|
[a1b1e9d4] | 116 | make </userinput></screen>
|
---|
| 117 | -->
|
---|
| 118 |
|
---|
| 119 | <screen><userinput>sh autogen.sh &&
|
---|
| 120 | ./configure --prefix=/usr --disable-static &&
|
---|
[fe80e96] | 121 | make </userinput></screen>
|
---|
[e3885b4] | 122 | <!--
|
---|
[6eb166fa] | 123 | <para>
|
---|
[fe80e96] | 124 | If you want to run the tests, add -DBUILD_TESTING=true to
|
---|
| 125 | the cmake line above and after building run:
|
---|
| 126 | <command>make test</command>.
|
---|
[6eb166fa] | 127 | </para>
|
---|
[e3885b4] | 128 | -->
|
---|
| 129 | <para>
|
---|
| 130 | If you want to run the tests, run: <command>make check</command>.
|
---|
| 131 | </para>
|
---|
[6eb166fa] | 132 |
|
---|
| 133 | <para>
|
---|
| 134 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 135 | </para>
|
---|
| 136 |
|
---|
| 137 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 138 |
|
---|
| 139 | </sect2>
|
---|
| 140 |
|
---|
[a1b1e9d4] | 141 | <!--
|
---|
[6eb166fa] | 142 | <sect2 role="commands">
|
---|
| 143 | <title>Command Explanations</title>
|
---|
| 144 |
|
---|
[fe80e96] | 145 | <para>
|
---|
| 146 | <command>sed ...</command>: This command disables installation
|
---|
| 147 | of the static library.
|
---|
| 148 | </para>
|
---|
| 149 |
|
---|
[6eb166fa] | 150 | </sect2>
|
---|
[a1b1e9d4] | 151 | -->
|
---|
[6eb166fa] | 152 | <sect2 role="content">
|
---|
| 153 | <title>Contents</title>
|
---|
| 154 |
|
---|
| 155 | <segmentedlist>
|
---|
| 156 | <segtitle>Installed Programs</segtitle>
|
---|
| 157 | <segtitle>Installed Library</segtitle>
|
---|
[5a66d6ac] | 158 | <segtitle>Installed Directory</segtitle>
|
---|
[6eb166fa] | 159 |
|
---|
| 160 | <seglistitem>
|
---|
| 161 | <seg>
|
---|
| 162 | None
|
---|
| 163 | </seg>
|
---|
| 164 | <seg>
|
---|
| 165 | libuv.so
|
---|
| 166 | </seg>
|
---|
| 167 | <seg>
|
---|
[5a66d6ac] | 168 | /usr/include/uv
|
---|
[6eb166fa] | 169 | </seg>
|
---|
| 170 | </seglistitem>
|
---|
| 171 | </segmentedlist>
|
---|
[5a66d6ac] | 172 |
|
---|
[6eb166fa] | 173 | <variablelist>
|
---|
| 174 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 175 | <?dbfo list-presentation="list"?>
|
---|
| 176 | <?dbhtml list-presentation="table"?>
|
---|
| 177 |
|
---|
| 178 | <varlistentry id="libuv.so">
|
---|
| 179 | <term><filename class="libraryfile">libuv.so</filename></term>
|
---|
| 180 | <listitem>
|
---|
| 181 | <para>
|
---|
[5a66d6ac] | 182 | contains API functions for asynchronous I/O operations
|
---|
[6eb166fa] | 183 | </para>
|
---|
| 184 | <indexterm zone="libuv libuv.so">
|
---|
| 185 | <primary sortas="c-libuv.so">libuv.so</primary>
|
---|
| 186 | </indexterm>
|
---|
| 187 | </listitem>
|
---|
| 188 | </varlistentry>
|
---|
| 189 |
|
---|
| 190 | </variablelist>
|
---|
[5a66d6ac] | 191 |
|
---|
[6eb166fa] | 192 | </sect2>
|
---|
| 193 |
|
---|
| 194 | </sect1>
|
---|