source: general/genlib/libarchive.xml@ fb4fe20

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 fb4fe20 was 4f75caf, checked in by Xi Ruoyao <xry111@…>, 4 years ago

libarchive: document the test fail introduced by glibc-2.32

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

  • Property mode set to 100644
File size: 6.0 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 libarchive-download-http "https://github.com/libarchive/libarchive/releases/download/v&libarchive-version;/libarchive-&libarchive-version;.tar.xz">
8 <!ENTITY libarchive-download-ftp " ">
9 <!ENTITY libarchive-md5sum "4b216ea3015ecf8ae555a2026f9a6b73">
10 <!ENTITY libarchive-size "4.6 MB">
11 <!ENTITY libarchive-buildsize "40 MB (add 28 MB for tests)">
12 <!ENTITY libarchive-time "0.4 SBU (add 1.0 SBU for tests)">
13]>
14
15<sect1 id="libarchive" xreflabel="libarchive-&libarchive-version;">
16 <?dbhtml filename="libarchive.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>libarchive-&libarchive-version;</title>
24
25 <indexterm zone="libarchive">
26 <primary sortas="a-libarchive">libarchive</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to libarchive</title>
31
32 <para>
33 The <application>libarchive</application> library provides a single
34 interface for reading/writing various compression formats.
35 </para>
36
37 &lfs91_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&libarchive-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&libarchive-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &libarchive-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &libarchive-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &libarchive-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &libarchive-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">libarchive Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Optional</bridgehead>
76 <para role="optional">
77 <xref linkend="libxml2"/>,
78 <xref linkend="lzo"/>, and
79 <xref linkend="nettle"/>
80 <!-- <ulink url="https://facebook.github.io/zstd/">zstd</ulink> Now in LFS -->
81 </para>
82
83 <para condition="html" role="usernotes">User Notes:
84 <ulink url="&blfs-wiki;/libarchive"/>
85 </para>
86 </sect2>
87
88 <sect2 role="installation">
89 <title>Installation of libarchive</title>
90
91 <para>
92 Install <application>libarchive</application> by running the following
93 commands:
94 </para>
95
96<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
97make</userinput></screen>
98
99 <para>
100 To test the results, issue: <command>LC_ALL=C make check</command>.
101 <!-- introduced by glibc-2.32, will be fixed in next libarchive release -->
102 One test named test_write_disk_secure is known to fail.
103 </para>
104
105 <para>
106 Now, as the <systemitem class="username">root</systemitem> user:
107 </para>
108
109<screen role="root"><userinput>make install</userinput></screen>
110
111 </sect2>
112
113 <sect2 role="commands">
114 <title>Command Explanations</title>
115
116 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
117 href="../../xincludes/static-libraries.xml"/>
118
119 <para>
120 <option>--without-xml2</option>: This switch sets expat for xar archive
121 format support instead of preferred libxml2 if both packages are installed.
122 </para>
123
124 <para>
125 <option>--without-nettle</option>: This switch sets OpenSSL for crypto
126 support instead of preferred Nettle if both packages are installed.
127 </para>
128
129 </sect2>
130
131 <sect2 role="content">
132 <title>Contents</title>
133
134 <segmentedlist>
135 <segtitle>Installed Programs</segtitle>
136 <segtitle>Installed Libraries</segtitle>
137 <segtitle>Installed Directories</segtitle>
138
139 <seglistitem>
140 <seg>
141 bsdcat, bsdcpio, and bsdtar
142 </seg>
143 <seg>
144 libarchive.so
145 </seg>
146 <seg>
147 None
148 </seg>
149 </seglistitem>
150 </segmentedlist>
151
152 <variablelist>
153 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
154 <?dbfo list-presentation="list"?>
155 <?dbhtml list-presentation="table"?>
156
157 <varlistentry id="bsdcat">
158 <term><command>bsdcat</command></term>
159 <listitem>
160 <para>
161 expands files to standard output.
162 </para>
163 <indexterm zone="libarchive bsdcat">
164 <primary sortas="b-bsdcat">bsdcat</primary>
165 </indexterm>
166 </listitem>
167 </varlistentry>
168
169 <varlistentry id="bsdcpio">
170 <term><command>bsdcpio</command></term>
171 <listitem>
172 <para>
173 is a tool similar to <command>cpio</command>.
174 </para>
175 <indexterm zone="libarchive bsdcpio">
176 <primary sortas="b-bsdcpio">bsdcpio</primary>
177 </indexterm>
178 </listitem>
179 </varlistentry>
180
181 <varlistentry id="bsdtar">
182 <term><command>bsdtar</command></term>
183 <listitem>
184 <para>
185 is a tool similar to GNU <command>tar</command>.
186 </para>
187 <indexterm zone="libarchive bsdtar">
188 <primary sortas="b-bsdtar">bsdtar</primary>
189 </indexterm>
190 </listitem>
191 </varlistentry>
192
193 <varlistentry id="libarchive-lib">
194 <term><filename class="libraryfile">libarchive.so</filename></term>
195 <listitem>
196 <para>
197 is a library that can create and read several streaming
198 archive formats.
199 </para>
200 <indexterm zone="libarchive libarchive-lib">
201 <primary sortas="c-libarchive">libarchive.so</primary>
202 </indexterm>
203 </listitem>
204 </varlistentry>
205
206 </variablelist>
207
208 </sect2>
209
210</sect1>
Note: See TracBrowser for help on using the repository browser.