38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncExtracted from the documentation:
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync http://xmlsoft.org/FAQ.html#Compilatio
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncCompilation
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync 1.What is the process to compile libxml ?
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync As most UNIX libraries libxml follows the "standard":
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync gunzip -c xxx.tar.gz | tar xvf -
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync cd libxml-xxxx
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync ./configure --help
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync to see the options, then the compilation/installation proper
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync ./configure [possible options]
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync make
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync make install
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync At that point you may have to rerun ldconfig or similar utility to
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync update your list of installed shared libs.
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync At this point you can check that the library is properly functionning
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync by running
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync make tests
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync 2.What other libraries are needed to compile/install libxml ?
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync Libxml does not requires any other library, the normal C ANSI API
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync should be sufficient (please report any violation to this rule you
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync may find).
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync However if found at configuration time libxml will detect and use
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync the following libs:
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync libz: a highly portable and available widely compression library
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync http://www.info-zip.org/pub/infozip/zlib/
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync iconv: a powerful character encoding conversion library. It's
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync included by default on recent glibc libraries, so it doesn't
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync need to be installed specifically on linux. It seems it's
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync now part of the official UNIX specification. Here is one
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync implementation of the library which source can be found here.
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync http://clisp.cons.org/~haible/packages-libiconv.html
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync ftp://ftp.ilog.fr/pub/Users/haible/gnu/
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync 3.make tests may fail on some platforms
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync Sometime the regression tests results don't completely match the
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync value produced by the parser, and the makefile uses diff to print
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync the delta. On some platforms the diff return breaks the compilation
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync process, if the diff is small this is probably not a serious problem
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncDaniel
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsyncveillard@redhat.com
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync
38ae7e4efe803ea78b6499cd05a394db32623e41vboxsync$Id: INSTALL,v 1.4 2006/03/24 14:02:54 veillard Exp $