source: general/genlib/libxml2.xml@ e1c116d

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 e1c116d was 505bdc6, checked in by Dan Nichilson <dnicholson@…>, 18 years ago

Fixed sed in libxml2, closes #2299

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

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