source: general/genlib/libxml2.xml@ 6473e74

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 6473e74 was 6473e74, checked in by Randy McMurchy <randy@…>, 18 years ago

Removed excess EOL whitespace from all package instructions except for the 'x' chapters

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

  • Property mode set to 100644
File size: 6.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY libxml2-download-http "http://xmlsoft.org/sources/libxml2-&libxml2-version;.tar.gz">
8 <!ENTITY libxml2-download-ftp "ftp://xmlsoft.org/libxml2-&libxml2-version;.tar.gz">
9 <!ENTITY libxml2-size "4.4 MB">
10 <!ENTITY libxml2-md5sum "1db8d06b4f49a665a8f47dc6d94450e6">
11 <!ENTITY libxml2-buildsize "83.3 MB (additional 183 MB to run the test suite)">
12 <!ENTITY libxml2-time "1.3 SBU (additional 0.8 SBU to run the test suite)">
13]>
14
15<sect1 id="libxml2" xreflabel="libxml2-&libxml2-version;">
16 <?dbhtml filename="libxml2.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 <keywordset>
22 <keyword role="package">libxml2-&libxml2-version;.tar</keyword>
23 <keyword role="ftpdir">libxml2</keyword>
24 </keywordset>
25 </sect1info>
26
27 <title>libxml2-&libxml2-version;</title>
28
29 <indexterm zone="libxml2">
30 <primary sortas="a-Libxml2">Libxml2</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to libxml2</title>
35
36 <para>The <application>libxml2</application> package contains
37 XML libraries. These are useful for parsing XML files.</para>
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>Download (HTTP): <ulink url="&libxml2-download-http;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download (FTP): <ulink url="&libxml2-download-ftp;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download MD5 sum: &libxml2-md5sum;</para>
49 </listitem>
50 <listitem>
51 <para>Download size: &libxml2-size;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated disk space required: &libxml2-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time: &libxml2-time;</para>
58 </listitem>
59 </itemizedlist>
60
61 <bridgehead renderas="sect3">libxml2 Dependencies</bridgehead>
62
63 <bridgehead renderas="sect4">Optional (Required to Run the Full Suite of
64 Tests)</bridgehead>
65 <para role="optional"><xref linkend="python"/> and
66 <xref linkend="wget"/></para>
67
68 <bridgehead renderas="sect4">Optional</bridgehead>
69 <para role="optional"><xref linkend="libxslt"/> (used for the test suite
70 if found, but not required) and <xref linkend="python"/> (will install a
71 <application>Python</application> library module if found)</para>
72
73 <note>
74 <para>Some packages which utilize
75 <application>libxml2</application> (such as
76 <application>GNOME Doc Utils</application>) need the
77 <application>Python</application> module installed to function
78 properly.</para>
79 </note>
80
81 </sect2>
82
83 <sect2 role="installation">
84 <title>Installation of libxml2</title>
85
86 <para>Install <application>libxml2</application> by running the following
87 commands:</para>
88
89<screen><userinput>./configure --prefix=/usr &amp;&amp;
90make</userinput></screen>
91
92 <para>To test the results, issue: <command>make check</command>.</para>
93
94 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
95
96<screen role="root"><userinput>make install</userinput></screen>
97
98 </sect2>
99
100 <sect2 role="commands">
101 <title>Command Explanations</title>
102
103 <para><parameter>--with-history</parameter>: If this option is used, it
104 enables <application>readline</application> support when running
105 xmlcatalog in shell mode.</para>
106
107 <caution>
108 <para>When using history support, <command>make check</command> will
109 hang forever if either <filename>/etc/inputrc</filename> or
110 <filename>~/.inputrc</filename> has the option
111 <option>show-all-if-ambiguous</option> turned on.</para>
112 </caution>
113
114 </sect2>
115
116 <sect2 role="content">
117 <title>Contents</title>
118
119 <segmentedlist>
120 <segtitle>Installed Programs</segtitle>
121 <segtitle>Installed Libraries</segtitle>
122 <segtitle>Installed Directories</segtitle>
123
124 <seglistitem>
125 <seg>xml2-config, xmlcatalog, and xmllint</seg>
126 <seg>libxml2.[so,a] and optionally, the libxml2mod.[so,a]
127 <application>Python</application> module</seg>
128 <seg>/usr/include/libxml2, /usr/share/doc/libxml2-&libxml2-version;,
129 /usr/share/doc/libxml2-python-&libxml2-version; and
130 /usr/share/gtk-doc/html/libxml2</seg>
131 </seglistitem>
132 </segmentedlist>
133
134 <variablelist>
135 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
136 <?dbfo list-presentation="list"?>
137 <?dbhtml list-presentation="table"?>
138
139 <varlistentry id="xml2-config">
140 <term><command>xml2-config</command></term>
141 <listitem>
142 <para>determines the compile and linker flags that should be used to
143 compile and link programs that use
144 <filename class='libraryfile'>libxml2</filename>.</para>
145 <indexterm zone="libxml2 xml2-config">
146 <primary sortas="b-xml2-config">xml2-config</primary>
147 </indexterm>
148 </listitem>
149 </varlistentry>
150
151 <varlistentry id="xmlcatalog">
152 <term><command>xmlcatalog</command></term>
153 <listitem>
154 <para>is used to monitor and manipulate XML
155 and SGML catalogs.</para>
156 <indexterm zone="libxml2 xmlcatalog">
157 <primary sortas="b-xmlcatalog">xmlcatalog</primary>
158 </indexterm>
159 </listitem>
160 </varlistentry>
161
162 <varlistentry id="xmllint">
163 <term><command>xmllint</command></term>
164 <listitem>
165 <para>parses XML files and outputs reports (based
166 upon options) to detect errors in XML coding.</para>
167 <indexterm zone="libxml2 xmllint">
168 <primary sortas="b-xmllint">xmllint</primary>
169 </indexterm>
170 </listitem>
171 </varlistentry>
172
173 <varlistentry id="libxml2-lib">
174 <term><filename class='libraryfile'>libxml2.[so,a]</filename></term>
175 <listitem>
176 <para> libraries provide the functions for programs to parse files
177 that use the XML format.</para>
178 <indexterm zone="libxml2 libxml2-lib">
179 <primary sortas="c-libxml2">libxml2.[so,a]</primary>
180 </indexterm>
181 </listitem>
182 </varlistentry>
183
184 </variablelist>
185
186 </sect2>
187
188</sect1>
Note: See TracBrowser for help on using the repository browser.