libxml2-2.8.0

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10251 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Andrew Benton 2012-05-30 15:39:58 +00:00
parent a87a374213
commit 325113f85a
4 changed files with 98 additions and 78 deletions

View File

@ -3,13 +3,13 @@ $LastChangedBy$
$Date$
-->
<!ENTITY day "27"> <!-- Always 2 digits -->
<!ENTITY day "30"> <!-- Always 2 digits -->
<!ENTITY month "05"> <!-- Always 2 digits -->
<!ENTITY year "2012">
<!ENTITY copyrightdate "2001-&year;">
<!ENTITY copyholder "The BLFS Development Team">
<!ENTITY version "&year;-&month;-&day;">
<!ENTITY releasedate "May 27th, &year;">
<!ENTITY releasedate "May 30th, &year;">
<!-- <!ENTITY releasedate "November &day;st, &year;"> -->
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
@ -219,7 +219,7 @@ $Date$
<!ENTITY libunistring-version "0.9.3">
<!ENTITY libusb-version "1.0.8">
<!ENTITY libusb-compat-version "0.1.3">
<!ENTITY libxml2-version "2.7.8">
<!ENTITY libxml2-version "2.8.0">
<!ENTITY libxslt-version "1.1.26">
<!ENTITY LZO-version "2.06">
<!ENTITY nspr-version "4.9">

View File

@ -4,12 +4,14 @@
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY libxml2-download-http "http://xmlsoft.org/sources/libxml2-&libxml2-version;.tar.gz">
<!ENTITY libxml2-download-ftp "ftp://xmlsoft.org/libxml2/libxml2-&libxml2-version;.tar.gz">
<!ENTITY libxml2-md5sum "8127a65e8c3b08856093099b52599c86">
<!ENTITY libxml2-download-http
"http://xmlsoft.org/sources/libxml2-&libxml2-version;.tar.gz">
<!ENTITY libxml2-download-ftp
"ftp://xmlsoft.org/libxml2/libxml2-&libxml2-version;.tar.gz">
<!ENTITY libxml2-md5sum "c62106f02ee00b6437f0fb9d370c1093">
<!ENTITY libxml2-size "4.7 MB">
<!ENTITY libxml2-buildsize "104 MB (additional 25 MB to run the full test suite)">
<!ENTITY libxml2-time "1.0 SBU (additional 0.2 SBU to run the full test suite)">
<!ENTITY libxml2-buildsize "89 MB">
<!ENTITY libxml2-time "0.7 SBU">
]>
<sect1 id="libxml2" xreflabel="libxml2-&libxml2-version;">
@ -29,8 +31,10 @@
<sect2 role="package">
<title>Introduction to libxml2</title>
<para>The <application>libxml2</application> package contains
XML libraries. These are useful for parsing XML files.</para>
<para>
The <application>libxml2</application> package contains XML libraries.
These are useful for parsing XML files.
</para>
&lfs71_checked;
@ -59,32 +63,36 @@
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing='compact'>
<listitem>
<para>Optional Testsuite: <ulink
url="http://www.w3.org/XML/Test/xmlts20080827.tar.gz"/> - This
enables <command>make check</command> to do complete testing.</para>
<para>
Optional Testsuite:
<ulink url="http://www.w3.org/XML/Test/xmlts20080827.tar.gz"/> - This
enables <command>make check</command> to do complete testing.
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">libxml2 Dependencies</bridgehead>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional"><xref linkend="python2"/> (to build and install a
<application>Python</application> library module, additionally it is
required to run the full suite of tests)</para>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<xref linkend="python2"/> (to build and install a
<application>Python</application> library module, additionally it is
required to run the full suite of tests)
</para>
<note>
<para>Some packages which utilize
<application>libxml2</application> (such as
<application>GNOME Doc Utils</application>) need the
<application>Python</application> module installed to function
properly and some packages (such as GNOME Panel) will not build
properly if the <application>Python</application> module is not
available.</para>
<para>
Some packages which utilize <application>libxml2</application> (such as
<application>GNOME Doc Utils</application>) need the
<application>Python</application> module installed to function properly
and some packages (such as GNOME Panel) will not build properly if the
<application>Python</application> module is not available.
</para>
</note>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/libxml2"/></para>
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/libxml2"/>
</para>
</sect2>
<sect2 role="installation">
@ -94,44 +102,34 @@
<screen><userinput>tar xf ../xmlts20080827.tar.gz</userinput></screen>
<para>Install <application>libxml2</application> by running the following
commands:</para>
<para>
Install <application>libxml2</application> by running the following
commands:
</para>
<screen><userinput>./configure --prefix=/usr &amp;&amp;
<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
make</userinput></screen>
<para>To test the results, issue: <command>make check</command>. If you have
installed <application>Python</application> this will conclude by reporting
a failure in the regression tests. The extended testsuite runs near the end
of the tests, it will report a count of errors, and then report how many are
expected.</para>
<para>To test the results, issue: <command>make check</command>.</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para><parameter>--with-history</parameter>: If this option is used, it
enables <application>Readline</application> support when running
<command>xmlcatalog</command> or <command>xmllint</command> in shell
mode.</para>
<caution>
<para>When using history support, <command>make check</command> will
hang forever if either <filename>/etc/inputrc</filename> or
<filename>~/.inputrc</filename> has the option
<option>show-all-if-ambiguous</option> or
<option>show-all-if-available</option> turned on.</para>
</caution>
<para><parameter>--enable-shared --disable-static</parameter>: This pair
of switches prevents the static libraries in this package from being
built and installed.</para>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/static-libraries.xml"/>
<para>
<option>--with-history</option>: If this option is used, it enables
<application>Readline</application> support when running
<command>xmlcatalog</command> or <command>xmllint</command> in shell mode.
</para>
</sect2>
<sect2 role="content">
@ -143,12 +141,21 @@ make</userinput></screen>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>xml2-config, xmlcatalog, and xmllint</seg>
<seg>libxml2.{so,a} and optionally, the libxml2mod.{so,a}
<application>Python</application> module</seg>
<seg>/usr/include/libxml2, /usr/share/doc/libxml2-&libxml2-version;,
/usr/share/doc/libxml2-python-&libxml2-version; and
/usr/share/gtk-doc/html/libxml2</seg>
<seg>
xml2-config,
xmlcatalog and
xmllint
</seg>
<seg>
libxml2.so and optionally, the libxml2mod.so
<application>Python</application> module
</seg>
<seg>
/usr/include/libxml2,
/usr/share/doc/libxml2-&libxml2-version;,
/usr/share/doc/libxml2-python-&libxml2-version; and
/usr/share/gtk-doc/html/libxml2
</seg>
</seglistitem>
</segmentedlist>
@ -160,9 +167,11 @@ make</userinput></screen>
<varlistentry id="xml2-config">
<term><command>xml2-config</command></term>
<listitem>
<para>determines the compile and linker flags that should be used to
compile and link programs that use
<filename class='libraryfile'>libxml2</filename>.</para>
<para>
determines the compile and linker flags that should be used to
compile and link programs that use
<filename class='libraryfile'>libxml2</filename>.
</para>
<indexterm zone="libxml2 xml2-config">
<primary sortas="b-xml2-config">xml2-config</primary>
</indexterm>
@ -172,8 +181,9 @@ make</userinput></screen>
<varlistentry id="xmlcatalog">
<term><command>xmlcatalog</command></term>
<listitem>
<para>is used to monitor and manipulate XML
and SGML catalogs.</para>
<para>
is used to monitor and manipulate XML and SGML catalogs.
</para>
<indexterm zone="libxml2 xmlcatalog">
<primary sortas="b-xmlcatalog">xmlcatalog</primary>
</indexterm>
@ -183,8 +193,10 @@ make</userinput></screen>
<varlistentry id="xmllint">
<term><command>xmllint</command></term>
<listitem>
<para>parses XML files and outputs reports (based
upon options) to detect errors in XML coding.</para>
<para>
parses XML files and outputs reports (based upon options) to detect
errors in XML coding.
</para>
<indexterm zone="libxml2 xmllint">
<primary sortas="b-xmllint">xmllint</primary>
</indexterm>
@ -192,18 +204,17 @@ make</userinput></screen>
</varlistentry>
<varlistentry id="libxml2-lib">
<term><filename class='libraryfile'>libxml2.{so,a}</filename></term>
<term><filename class='libraryfile'>libxml2.so</filename></term>
<listitem>
<para> libraries provide the functions for programs to parse files
that use the XML format.</para>
<para>
provides functions for programs to parse files that use the XML
format.
</para>
<indexterm zone="libxml2 libxml2-lib">
<primary sortas="c-libxml2">libxml2.{so,a}</primary>
<primary sortas="c-libxml2">libxml2.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>

View File

@ -41,6 +41,15 @@
</listitem>
-->
<listitem>
<para>May 30th, 2012</para>
<itemizedlist>
<listitem>
<para>[abenton] - Updated LibXML2 to 2.8.0.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>May 27th, 2012</para>
<itemizedlist>

View File

@ -224,9 +224,9 @@ install -v -m644 dbus/dbus-wpa_supplicant.conf /etc/dbus-1/system.d/wpa_supplica
<note>
<para>
You will need to restart system <application>D-Bus</application> daemon before you
can use <application>WPA Supplicant</application> <application>D-Bus</application>
interface.
You will need to restart system <application>D-Bus</application> daemon
before you can use <application>WPA Supplicant</application>
<application>D-Bus</application> interface.
</para>
</note>
@ -303,7 +303,7 @@ install -v -m644 dbus/dbus-wpa_supplicant.conf /etc/dbus-1/system.d/wpa_supplica
<systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>wpa_supplicant -B -c/etc/wpa_supplicant.conf -iwlan0 -Dwext
<screen role="root"><userinput>wpa_supplicant -B -c/etc/wpa_supplicant.conf -iwlan0 -Dnl80211,wext
sleep 2 # let it settle
dhcpcd</userinput></screen>
@ -318,7 +318,7 @@ dhcpcd</userinput></screen>
<screen role="root"><userinput>ip addr add 192.168.1.6 dev wlan0
ip link set wlan0 up
wpa_supplicant -B -c/etc/wpa_supplicant.conf -iwlan0 -Dwext
wpa_supplicant -B -c/etc/wpa_supplicant.conf -iwlan0 -Dnl80211,wext
ip route add 192.168.1.1 dev wlan0
ip route add default via 192.168.1.1 dev wlan0</userinput></screen>