blob: 3b004ae861363f01334c2baa6e6c2684211cbdba [file] [log] [blame]
Daniel Veillarde62d36c2001-05-15 08:53:16 +00001Extracted from the documentation:
2 http://xmlsoft.org/FAQ.html#Compilatio
3
4Compilation
5
6 1.What is the process to compile libxml ?
7
8 As most UNIX libraries libxml follows the "standard":
9
10 gunzip -c xxx.tar.gz | tar xvf -
11
12 cd libxml-xxxx
13
14 ./configure --help
15
16 to see the options, then the compilation/installation proper
17
18 ./configure [possible options]
19
20 make
21
22 make install
23
24 At that point you may have to rerun ldconfig or similar utility to
25 update your list of installed shared libs.
26
Daniel Veillard6d473ed2001-06-17 10:32:52 +000027 At this point you can check that the library is properly functionning
28 by running
29
30 make tests
31
Daniel Veillarde62d36c2001-05-15 08:53:16 +000032 2.What other libraries are needed to compile/install libxml ?
33
34 Libxml does not requires any other library, the normal C ANSI API
35 should be sufficient (please report any violation to this rule you
36 may find).
37
38 However if found at configuration time libxml will detect and use
39 the following libs:
40
41 libz: a highly portable and available widely compression library
42 http://www.info-zip.org/pub/infozip/zlib/
43 iconv: a powerful character encoding conversion library. It's
44 included by default on recent glibc libraries, so it doesn't
45 need to be installed specifically on linux. It seems it's
46 now part of the official UNIX specification. Here is one
47 implementation of the library which source can be found here.
48 http://clisp.cons.org/~haible/packages-libiconv.html
49 ftp://ftp.ilog.fr/pub/Users/haible/gnu/
50
Daniel Veillard2a8c4c42006-03-24 14:02:54 +000051 3.make tests may fail on some platforms
Daniel Veillarde62d36c2001-05-15 08:53:16 +000052
53 Sometime the regression tests results don't completely match the
54 value produced by the parser, and the makefile uses diff to print
55 the delta. On some platforms the diff return breaks the compilation
56 process, if the diff is small this is probably not a serious problem
57
58Daniel
59veillard@redhat.com
60
61$Id$