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 |
|
---|
7 | <!ENTITY libuv-download-http "https://dist.libuv.org/dist/v&libuv-version;/libuv-v&libuv-version;.tar.gz">
|
---|
8 | <!ENTITY libuv-download-ftp " ">
|
---|
9 | <!ENTITY libuv-md5sum "a06eb31fe41c446ace34dc1d1d335964">
|
---|
10 | <!ENTITY libuv-size "1.1 MB">
|
---|
11 | <!ENTITY libuv-buildsize "12 MB (add 11 MB for tests)">
|
---|
12 | <!ENTITY libuv-time "0.1 SBU (add 0.6 SBU for tests)">
|
---|
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
|
---|
34 | multi-platform support library with a focus on asynchronous I/O.
|
---|
35 | </para>
|
---|
36 |
|
---|
37 | &lfs83_checked;
|
---|
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>
|
---|
97 | <!--
|
---|
98 | Don't use cmake here to avoid circular dependency
|
---|
99 |
|
---|
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>
|
---|
107 | -->
|
---|
108 |
|
---|
109 | <screen><userinput>sh autogen.sh &&
|
---|
110 | ./configure --prefix=/usr --disable-static &&
|
---|
111 | make </userinput></screen>
|
---|
112 | <!--
|
---|
113 | <para>
|
---|
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>.
|
---|
117 | </para>
|
---|
118 | -->
|
---|
119 | <para>
|
---|
120 | If you want to run the tests, run: <command>make check</command>.
|
---|
121 | </para>
|
---|
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 |
|
---|
131 | <!--
|
---|
132 | <sect2 role="commands">
|
---|
133 | <title>Command Explanations</title>
|
---|
134 |
|
---|
135 | <para>
|
---|
136 | <command>sed ...</command>: This command disables installation
|
---|
137 | of the static library.
|
---|
138 | </para>
|
---|
139 |
|
---|
140 | </sect2>
|
---|
141 | -->
|
---|
142 | <sect2 role="content">
|
---|
143 | <title>Contents</title>
|
---|
144 |
|
---|
145 | <segmentedlist>
|
---|
146 | <segtitle>Installed Programs</segtitle>
|
---|
147 | <segtitle>Installed Library</segtitle>
|
---|
148 | <segtitle>Installed Directory</segtitle>
|
---|
149 |
|
---|
150 | <seglistitem>
|
---|
151 | <seg>
|
---|
152 | None
|
---|
153 | </seg>
|
---|
154 | <seg>
|
---|
155 | libuv.so
|
---|
156 | </seg>
|
---|
157 | <seg>
|
---|
158 | /usr/include/uv
|
---|
159 | </seg>
|
---|
160 | </seglistitem>
|
---|
161 | </segmentedlist>
|
---|
162 |
|
---|
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>
|
---|
172 | contains API functions for asynchronous I/O operations
|
---|
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>
|
---|
181 |
|
---|
182 | </sect2>
|
---|
183 |
|
---|
184 | </sect1>
|
---|