• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1See also the generic INSTALL file for configure options
2
3Compilation
4
5  1. What is the process to compile libxml?
6
7     As most UNIX libraries libxml follows the "standard":
8
9         gunzip -c xxx.tar.gz | tar xvf -
10         cd libxml-xxxx
11
12         ./configure --help
13
14     to see the options, then the compilation/installation proper
15
16         ./configure [possible options]
17         make
18         make install
19
20     At that point you may have to rerun ldconfig or similar utility to
21     update your list of installed shared libs.
22
23     At this point you can check that the library is properly functioning
24     by running
25
26         make check
27
28     Please report test failures to the mailing list or bug tracker.
29
30  2. What other libraries are needed to compile/install libxml?
31
32     Libxml does not require any other libraries. A platform with somewhat
33     recent POSIX support should be sufficient (please report any violation
34     to this rule you may find).
35
36     However if found at configuration time, libxml will detect and use
37     the following libs:
38
39         libz: a highly portable and widely available compression library
40             https://zlib.net/
41         liblzma: another compression library
42             https://tukaani.org/xz/
43         iconv: a powerful character encoding conversion library. It's
44             part of POSIX.1-2001, so it doesn't need to be installed
45             on modern UNIX-like systems, specifically on Linux.
46             https://www.gnu.org/software/libiconv/
47         ICU: Mainly used by Chromium on Windows. Unnecessary on most
48             systems.
49
50Daniel
51veillard@redhat.com
52