%general-entities; ]> $LastChangedBy$ $Date$ libxml2-&libxml2-version; libxml2 Introduction to libxml2 The libxml2 package contains libraries and utilities used for parsing XML files. &lfs77_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &libxml2-md5sum; Download size: &libxml2-size; Estimated disk space required: &libxml2-buildsize; Estimated build time: &libxml2-time; Additional Downloads Optional Testsuite: - This enables make check to do complete testing. libxml2 Dependencies Recommended or (to build and install a Python library module, additionally it is required to run the full suite of tests) Some packages which utilize libxml2 (such as GNOME Doc Utils) need the Python module installed to function properly and some packages will not build properly if the Python module is not available. User Notes: Installation of libxml2 Apply two upstream fixes, which correct bugs in xmlcatalog and in the entity substitution mechanism: sed \ -e /xmlInitializeCatalog/d \ -e 's/((ent->checked =.*&&/(((ent->checked == 0) ||\ ((ent->children == NULL) \&\& (ctxt->options \& XML_PARSE_NOENT))) \&\&/' \ -i parser.c Install libxml2 by running the following commands: ./configure --prefix=/usr --disable-static --with-history && make If you downloaded the testsuite, issue the following command: tar xf ../xmlts&testsuite-version;.tar.gz To test the results, issue: make check > ../check.log. A summary of the results can be obtained with grep -E '^Total|expected' ../check.log. Now, as the root user: make install Command Explanations --with-history: This switch enables Readline support when running xmlcatalog or xmllint in shell mode. : Add this switch if you want libxml2 to use Python3 instead of Python2. Contents Installed Programs Installed Libraries Installed Directories xml2-config, xmlcatalog and xmllint libxml2.so and optionally, the libxml2mod.so Python module /usr/include/libxml2, /usr/share/doc/libxml2-&libxml2-version;, /usr/share/doc/libxml2-python-&libxml2-version; and /usr/share/gtk-doc/html/libxml2 Short Descriptions xml2-config determines the compile and linker flags that should be used to compile and link programs that use libxml2. xml2-config xmlcatalog is used to monitor and manipulate XML and SGML catalogs. xmlcatalog xmllint parses XML files and outputs reports (based upon options) to detect errors in XML coding. xmllint libxml2.so provides functions for programs to parse files that use the XML format. libxml2.so