summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorMike Hommey <mh@glandium.org>2004-03-25 06:59:32 +0000
committerMike Hommey <mh@glandium.org>2004-03-25 06:59:32 +0000
commitd09ab089457ae3c20cc98f9afa03379c6ebf9598 (patch)
treef34702d634972abbc1b478a4529149b548a1cd4c /INSTALL
downloadlibxml2-d09ab089457ae3c20cc98f9afa03379c6ebf9598.tar.gz
[svn-inject] Installing original source versionupstream/2.6.8
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL69
1 files changed, 69 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
new file mode 100644
index 0000000..b19cf54
--- /dev/null
+++ b/INSTALL
@@ -0,0 +1,69 @@
+Extracted from the documentation:
+ http://xmlsoft.org/FAQ.html#Compilatio
+
+Compilation
+
+ 1.What is the process to compile libxml ?
+
+ As most UNIX libraries libxml follows the "standard":
+
+ gunzip -c xxx.tar.gz | tar xvf -
+
+ cd libxml-xxxx
+
+ ./configure --help
+
+ to see the options, then the compilation/installation proper
+
+ ./configure [possible options]
+
+ make
+
+ make install
+
+ At that point you may have to rerun ldconfig or similar utility to
+ update your list of installed shared libs.
+
+ At this point you can check that the library is properly functionning
+ by running
+
+ make tests
+
+ 2.What other libraries are needed to compile/install libxml ?
+
+ Libxml does not requires any other library, the normal C ANSI API
+ should be sufficient (please report any violation to this rule you
+ may find).
+
+ However if found at configuration time libxml will detect and use
+ the following libs:
+
+ libz: a highly portable and available widely compression library
+ http://www.info-zip.org/pub/infozip/zlib/
+ iconv: a powerful character encoding conversion library. It's
+ included by default on recent glibc libraries, so it doesn't
+ need to be installed specifically on linux. It seems it's
+ now part of the official UNIX specification. Here is one
+ implementation of the library which source can be found here.
+ http://clisp.cons.org/~haible/packages-libiconv.html
+ ftp://ftp.ilog.fr/pub/Users/haible/gnu/
+
+ 3.libxml does not compile with HP-UX's optional ANSI-C compiler
+
+ this is due to macro limitations. Try to add " -Wp,-H16800 -Ae"
+ to the CFLAGS
+
+ you can also install and use gcc instead or use a precompiled version
+ of libxml, both available from the HP-UX Porting and Archive Centre
+
+ 4.make tests fails on some platforms
+
+ Sometime the regression tests results don't completely match the
+ value produced by the parser, and the makefile uses diff to print
+ the delta. On some platforms the diff return breaks the compilation
+ process, if the diff is small this is probably not a serious problem
+
+Daniel
+veillard@redhat.com
+
+$Id: INSTALL,v 1.3 2001/06/17 10:32:52 veillard Exp $