source: general/genlib/libxml2.xml@ 3116315

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 3116315 was c5854c2, checked in by Randy McMurchy <randy@…>, 17 years ago

Fixed the broken HTML download URL in the libxml2 instructions

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

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