source: general/genlib/libuv.xml@ a1b1e9d4

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.4 9.0 9.1 bdubbs/svn kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since a1b1e9d4 was a1b1e9d4, checked in by Bruce Dubbs <bdubbs@…>, 5 years ago

Revert libuv build method to avoid circular dependency

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@20864 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.5 KB
Line 
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<!--
98Don't use cmake here to avoid circular dependency
99
100<screen><userinput>sed -i "/TARGETS uv_a ARCHIVE/d" CMakeLists.txt &amp;&amp;
101
102mkdir build &amp;&amp;
103cd build &amp;&amp;
104
105cmake -DCMAKE_INSTALL_PREFIX=/usr .. &amp;&amp;
106make </userinput></screen>
107-->
108
109<screen><userinput>sh autogen.sh &amp;&amp;
110./configure --prefix=/usr --disable-static &amp;&amp;
111make </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 Now, as the <systemitem class="username">root</systemitem> user:
121 </para>
122
123<screen role="root"><userinput>make install</userinput></screen>
124
125 </sect2>
126
127<!--
128 <sect2 role="commands">
129 <title>Command Explanations</title>
130
131 <para>
132 <command>sed ...</command>: This command disables installation
133 of the static library.
134 </para>
135
136 </sect2>
137-->
138 <sect2 role="content">
139 <title>Contents</title>
140
141 <segmentedlist>
142 <segtitle>Installed Programs</segtitle>
143 <segtitle>Installed Library</segtitle>
144 <segtitle>Installed Directory</segtitle>
145
146 <seglistitem>
147 <seg>
148 None
149 </seg>
150 <seg>
151 libuv.so
152 </seg>
153 <seg>
154 /usr/include/uv
155 </seg>
156 </seglistitem>
157 </segmentedlist>
158
159 <variablelist>
160 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
161 <?dbfo list-presentation="list"?>
162 <?dbhtml list-presentation="table"?>
163
164 <varlistentry id="libuv.so">
165 <term><filename class="libraryfile">libuv.so</filename></term>
166 <listitem>
167 <para>
168 contains API functions for asynchronous I/O operations
169 </para>
170 <indexterm zone="libuv libuv.so">
171 <primary sortas="c-libuv.so">libuv.so</primary>
172 </indexterm>
173 </listitem>
174 </varlistentry>
175
176 </variablelist>
177
178 </sect2>
179
180</sect1>
Note: See TracBrowser for help on using the repository browser.