source: general/genlib/libxml2.xml@ 0af6ce1

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 0af6ce1 was 0af6ce1, checked in by Randy McMurchy <randy@…>, 17 years ago

Added a note to the GNOME Panel instructions saying that the libxml2 Python module must be available

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

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