Annotation of parser3/INSTALL, revision 1.1

1.1     ! paf         1: 0.Assuming your perform your builds in $D directory 
        !             2:   and suggested subdirectories.
        !             3: 
        !             4: 1.What is the process to compile Parser3? 
        !             5: 
        !             6:   As most UNIX libraries libxml follows the "standard":
        !             7: 
        !             8:   mkdir $D/parser3project
        !             9:   cd $D/parser3project
        !            10:   gunzip -c parser3src.xxx.tar.gz | tar xvf -
        !            11:   cd parser3/src
        !            12:   ./configure --prefix=/usr/local
        !            13:   make install
        !            14: 
        !            15:   By default your would get 'parser3' binary without support of these features:
        !            16:        * cache(hashfile class) 
        !            17:        * xml(xdoc and xnode classes)
        !            18: 
        !            19:   Installation layout:
        !            20:     $prefix/bin/
        !            21:       parser3             -- CGI and command line Parser3 interpreter
        !            22:     $prefix/etc/
        !            23:       parser3.conf        -- main configuration file
        !            24:       parser3.charsets/   -- charset definition files
        !            25:         windows-1251.cfg
        !            26:         koi8-r.cfg 
        !            27: 
        !            28: 2.What other libraries are needed to compile/install libxml ? 
        !            29: 
        !            30:   * You can compile and use parser without any additional libraries.
        !            31:     That would be 'basic' version of it.
        !            32: 
        !            33: 
        !            34:   * In case you wish cache(hashfile class) support you need library
        !            35:       libdb 2.x.x >= 2.7.7
        !            36:     on your system, and specify it to Parser3 configure script.
        !            37: 
        !            38:     Installation sequence of this library to $D/BerkeleyDB:
        !            39:       cd db-2.x.x
        !            40:       cd build_unix
        !            41:       ../dist/configure --prefix=$D
        !            42:       make install
        !            43: 
        !            44: 
        !            45:     Parser3 configure option is --with-db2=$D/BerkeleyDB
        !            46: 
        !            47: 
        !            48:   * In case you wish xml(xdoc and xnode classes) support you need libraries
        !            49:       libxml2 >= 2.3.6
        !            50:       libxslt >= 1.0.9
        !            51:       glib >= 1.2.10
        !            52:       gdome2 >= 0.7.0
        !            53:     on your system, and specify path to them to Parser3 configure script.
        !            54: 
        !            55:     Sources of these two libraries must be patched prior to compile: 
        !            56:       * libxml2
        !            57:       * libxslt
        !            58: 
        !            59:     Installation sequence of these libraries to $D/gnome:
        !            60: 
        !            61:     libxml2: 
        !            62: 
        !            63:     cd libxml2-x.x.x
        !            64:     patch -p0 < $D/parser3project/parser3/src/patches/libxml_error_column_tab.patch
        !            65:     patch -p0 < $D/parser3project/parser3/src/patches/libxml_htmloutput_of_xslemptyattr_emptyquotes.patch
        !            66:     patch -p0 < $D/parser3project/parser3/src/patches/libxml_transcoder_context1.patch
        !            67:     patch -p0 < $D/parser3project/parser3/src/patches/libxml_transcoder_context2.patch
        !            68:     patch -p0 < $D/parser3project/parser3/src/patches/libxml_transcoder_context3.patch
        !            69:     patch -p0 < $D/parser3project/parser3/src/patches/libxml_transcoder_context4.patch
        !            70:     ./configure --prefix=$D/gnome
        !            71:     make install
        !            72: 
        !            73:     libxslt:
        !            74: 
        !            75:     cd libxslt-x.x.x
        !            76:     patch -p0 < $D/parser3project/parser3/src/patches/libxslt_html_output_no_charset_meta.patch
        !            77:     ./configure --with-libxml-prefix=$D/gnome --prefix=$D/gnome --without-debug --without-debugger
        !            78:     make install
        !            79: 
        !            80:     glib: [ftp://ftp.gtk.org/pub/gtk/v1.2/glib-1.2.10.tar.gz]
        !            81: 
        !            82:     cd glib-x.x.x
        !            83:     ./configure --prefix=$D/gnome 
        !            84:     make install
        !            85: 
        !            86:     gdome2:
        !            87: 
        !            88:     ./configure --with-glib-prefix=$D/gnome --disable-glibtest --with-libxml-prefix=$D/gnome --prefix=$D/gnome
        !            89:     make install
        !            90: 
        !            91:     And patch+copy these additional headers into install includes directory
        !            92: 
        !            93:        patch -p0 < $D/parser3project/parser3/src/patches/libgdome_cpp_syntax1.patch
        !            94:        patch -p0 < $D/parser3project/parser3/src/patches/libgdome_cpp_syntax2.patch
        !            95:     mkdir $D/gnome/include/libgdome/gdomecore
        !            96:     cp libgdome/gdomecore/gdome-xml-node.h $D/gnome/include/libgdome/gdomecore
        !            97:     cp libgdome/gdomecore/gdome-xml-document.h $D/gnome/include/libgdome/gdomecore
        !            98:     
        !            99: 
        !           100:     Parser3 configure option is --with-gnome-xml=$D/gnome
        !           101: 
        !           102:  
        !           103: Alexandr Petrosian(PAF) <paf@design.ru>
        !           104: 
        !           105: $Id: INSTALL,v 1.5 2002/01/30 16:30:39 paf Exp $

E-mail: