2017-11-28 11:17:06 +08:00
|
|
|
<?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;
|
|
|
|
|
2018-03-10 18:39:03 +08:00
|
|
|
<!ENTITY libuv-download-http "https://dist.libuv.org/dist/v&libuv-version;/libuv-v&libuv-version;.tar.gz">
|
2017-11-28 11:17:06 +08:00
|
|
|
<!ENTITY libuv-download-ftp " ">
|
2018-11-21 22:48:19 +08:00
|
|
|
<!ENTITY libuv-md5sum "90320330757253b07404d2a97f59c66b">
|
2017-11-28 11:17:06 +08:00
|
|
|
<!ENTITY libuv-size "1.1 MB">
|
2018-10-10 04:46:40 +08:00
|
|
|
<!ENTITY libuv-buildsize "12 MB (add 10 MB for tests)">
|
|
|
|
<!ENTITY libuv-time "0.1 SBU (add 1.3 SBU for tests)">
|
2017-11-28 11:17:06 +08:00
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="libuv" xreflabel="libuv-&libuv-version;">
|
|
|
|
<?dbhtml filename="libuv.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>libuv-&libuv-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="libuv">
|
|
|
|
<primary sortas="a-libuv">libuv</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to libuv</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
The <application>libuv</application> package is a
|
2018-08-04 21:04:53 +08:00
|
|
|
multi-platform support library with a focus on asynchronous I/O.
|
2017-11-28 11:17:06 +08:00
|
|
|
</para>
|
|
|
|
|
2018-08-15 10:28:50 +08:00
|
|
|
&lfs83_checked;
|
2017-11-28 11:17:06 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&libuv-download-http;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&libuv-download-ftp;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download MD5 sum: &libuv-md5sum;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download size: &libuv-size;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated disk space required: &libuv-buildsize;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated build time: &libuv-time;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
<!--
|
|
|
|
<bridgehead renderas="sect3">libuv Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
|
|
<para role="required">
|
|
|
|
<xref linkend="???"/>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
|
|
<para role="optional">
|
|
|
|
<xref linkend="???"/>
|
|
|
|
</para>
|
|
|
|
-->
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/libuv"/>
|
|
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of libuv</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Install <application>libuv</application> by running the following
|
|
|
|
commands:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen><userinput>sh autogen.sh &&
|
|
|
|
./configure --prefix=/usr --disable-static &&
|
|
|
|
make</userinput></screen>
|
2018-07-09 16:12:54 +08:00
|
|
|
<!--
|
|
|
|
Alternativly, if cmake is allready installed:
|
|
|
|
$ mkdir build
|
|
|
|
$ cd build
|
|
|
|
$ sed -e "/TARGETS uv_a ARCHIVE/d" -i ../CMakeLists.txt # mimic disable-static
|
|
|
|
$ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
|
|
|
|
-->
|
2017-11-28 11:17:06 +08:00
|
|
|
<para>
|
|
|
|
To execute the test suite, run <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"/>
|
|
|
|
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
href="../../xincludes/gtk-doc-rebuild.xml"/>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
-->
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Library</segtitle>
|
2018-10-04 11:50:29 +08:00
|
|
|
<segtitle>Installed Directory</segtitle>
|
2017-11-28 11:17:06 +08:00
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>
|
|
|
|
None
|
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
libuv.so
|
|
|
|
</seg>
|
|
|
|
<seg>
|
2018-10-04 11:50:29 +08:00
|
|
|
/usr/include/uv
|
2017-11-28 11:17:06 +08:00
|
|
|
</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
2018-10-04 11:50:29 +08:00
|
|
|
|
2017-11-28 11:17:06 +08:00
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="libuv.so">
|
|
|
|
<term><filename class="libraryfile">libuv.so</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2018-10-04 11:50:29 +08:00
|
|
|
contains API functions for asynchronous I/O operations
|
2017-11-28 11:17:06 +08:00
|
|
|
</para>
|
|
|
|
<indexterm zone="libuv libuv.so">
|
|
|
|
<primary sortas="c-libuv.so">libuv.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
2018-10-04 11:50:29 +08:00
|
|
|
|
2017-11-28 11:17:06 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|