source: general/genlib/libxml2.xml@ 4f26c54

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 4f26c54 was 4f26c54, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Adding automatized scripts generation related tags. Genlib chapter.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5340 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.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="ftptdir">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 --with-history &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>: Enables
104 <application>readline</application> support.</para>
105
106 </sect2>
107
108 <sect2 role="content">
109 <title>Contents</title>
110
111 <segmentedlist>
112 <segtitle>Installed Programs</segtitle>
113 <segtitle>Installed Libraries</segtitle>
114 <segtitle>Installed Directories</segtitle>
115
116 <seglistitem>
117 <seg>xml2-config, xmlcatalog, and xmllint</seg>
118 <seg>libxml2.[so,a] and optionally, the libxml2mod.[so,a]
119 <application>Python</application> module</seg>
120 <seg>/usr/include/libxml2, /usr/share/doc/libxml2-&libxml2-version;,
121 /usr/share/doc/libxml2-python-&libxml2-version; and
122 /usr/share/gtk-doc/html/libxml2</seg>
123 </seglistitem>
124 </segmentedlist>
125
126 <variablelist>
127 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
128 <?dbfo list-presentation="list"?>
129 <?dbhtml list-presentation="table"?>
130
131 <varlistentry id="xml2-config">
132 <term><command>xml2-config</command></term>
133 <listitem>
134 <para>determines the compile and linker flags that should be used to
135 compile and link programs that use
136 <filename class='libraryfile'>libxml2</filename>.</para>
137 <indexterm zone="libxml2 xml2-config">
138 <primary sortas="b-xml2-config">xml2-config</primary>
139 </indexterm>
140 </listitem>
141 </varlistentry>
142
143 <varlistentry id="xmlcatalog">
144 <term><command>xmlcatalog</command></term>
145 <listitem>
146 <para>is used to monitor and manipulate XML
147 and SGML catalogs.</para>
148 <indexterm zone="libxml2 xmlcatalog">
149 <primary sortas="b-xmlcatalog">xmlcatalog</primary>
150 </indexterm>
151 </listitem>
152 </varlistentry>
153
154 <varlistentry id="xmllint">
155 <term><command>xmllint</command></term>
156 <listitem>
157 <para>parses XML files and outputs reports (based
158 upon options) to detect errors in XML coding.</para>
159 <indexterm zone="libxml2 xmllint">
160 <primary sortas="b-xmllint">xmllint</primary>
161 </indexterm>
162 </listitem>
163 </varlistentry>
164
165 <varlistentry id="libxml2-lib">
166 <term><filename class='libraryfile'>libxml2.[so,a]</filename></term>
167 <listitem>
168 <para> libraries provide the functions for programs to parse files
169 that use the XML format.</para>
170 <indexterm zone="libxml2 libxml2-lib">
171 <primary sortas="c-libxml2">libxml2.[so,a]</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.