INSTALL 1.9 KB

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