source: general/genlib/libxml2.xml@ 1aadfdf

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 1aadfdf was 1aadfdf, checked in by Randy McMurchy <randy@…>, 18 years ago

Added a note to the libxml2 instructions to indicate some packages require the Python module

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

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