Annotation of parser3/INSTALL, revision 1.48.2.1

1.48.2.1! paf         1: Alexander Petrosian <paf@design.ru> (http://paf.design.ru)
        !             2: $Id: INSTALL,v 1.48 2005/12/16 10:19:38 paf Exp $
1.1       paf         3: 
1.33      paf         4: 1.What is the process to compile Parser3?
                      5: 
1.48.2.1! paf         6:   Just start ./buildall-with-xml script and you would get $HOME/parser3install/bin/parser3 binary.
        !             7:   In case you do not need XML support, use ./buildall-without-xml
1.33      paf         8: 
1.3       paf         9: 
1.10      paf        10:   NOTE:
1.48.2.1! paf        11:   On some platforms there is special version of libgc patched to support some
        !            12:   local piece of subtlety.
        !            13:   Official libgc does not work there, use special version instead.
        !            14:   (OpenBSD reported to be one of those)
1.7       paf        15: 
1.10      paf        16:   NOTE:
1.48.2.1! paf        17:   On some systems there are no "make" and you should run 'gmake', change buildall script accordingly then.
1.10      paf        18: 
1.2       paf        19: 2.What is the process to install Parser3?
                     20: 
                     21:   make install
                     22: 
1.1       paf        23:   Installation layout:
                     24:     $prefix/bin/
                     25:       parser3             -- CGI and command line Parser3 interpreter
1.22      paf        26:       auto.p.dist         -- configuration file sample, 
                     27:                              copy it to auto.p and adjust to your needs
1.1       paf        28:     $prefix/etc/
                     29:       parser3.charsets/   -- charset definition files
1.2       paf        30:         koi8-r.cfg        -- cyrillic charset [KOI8-R encoding]
1.33      paf        31:         windows-1250.cfg  -- central europian charset [windows-1250 encoding]
1.5       paf        32:         windows-1251.cfg  -- cyrillic charset [windows-1251 encoding]
                     33:         windows-1257.cfg  -- baltic charset [windows-1257 encoding]
1.2       paf        34: 
1.48.2.1! paf        35: 3.I have heard about $mail:receive experimental support, how do I use it?
        !            36:   You need two more libraries
1.41      paf        37:       glib >= 1.2.10
1.39      paf        38:       gmime >= 1.0.1 [http://spruce.sourceforge.net/gmime/sources/v1.0/gmime-1.0.8.tar.gz]
1.24      paf        39:     on your system, and specify path to them to Parser3 configure script.
                     40: 
1.31      paf        41:     glib:
1.24      paf        42: 
1.44      paf        43:     cd $HOME/parser3project/src
1.41      paf        44:     #on freebsd5 this is reported to work: ftp://ftp.gtk.org/pub/gtk/v1.1/glib-1.1.16.tar.gz
1.45      paf        45:     wget --passive-ftp ftp://ftp.gtk.org/pub/gtk/v1.2/glib-1.2.10.tar.gz
1.44      paf        46:     gunzip -c glib-1.2.10.tar.gz | tar vxf -
1.41      paf        47:     cd glib-1.2.10
1.43      paf        48:     ./configure --prefix=$HOME/parser3project/gnome --silent
1.24      paf        49:     make install
                     50: 
1.31      paf        51:     gmime:
1.24      paf        52: 
                     53:     cd gmime-x.x.x
1.43      paf        54:     ./configure --prefix=$HOME/parser3project/gnome
1.24      paf        55:     make install
                     56: 
1.48.2.1! paf        57:     You need to change buildall script to add this to parser3 configure line:
1.43      paf        58:         --with-static-mailreceive=$HOME/parser3project/gnome
1.24      paf        59: 
                     60:     NOTE:
                     61:     In case your glib as installed into some other prefix,
                     62:     specify it's configuration file with
                     63:         --with-glib-config=/path/to/your/glib-config
                     64:     NOTE:
                     65:     In case you are using SHARED mime library, you may want to link in direct path to it,
1.33      paf        66:     use this key to specify which linker key to use do do that:
1.9       paf        67:         --with-pathlink=LKEY    put dynamic libraries paths to binary
                     68:                                 using linker key (-R, -rpath-link)
                     69: 
1.18      paf        70: 4.
                     71: 
                     72:   In case you're not root on machine you're installing Parser,
                     73:   we recommend you to do:
1.43      paf        74:   ./configure --prefix=$HOME/parser3install
                     75:   and afterwards copy $HOME/parser3install/bin/parser3 to your CGI directory
1.18      paf        76:   or make a symlink [if your web server configured to follow symlinks].
                     77: 
                     78:   You can disable any exec operations by setting
                     79:   --disable-execs
                     80:   option to configure.
                     81:   file::exec, file::cgi and mail:send (unix version) methods would be disabled.
                     82: 
1.29      paf        83:   You can enable reading and executing files, not belonging to group+user 
                     84:   other then effective by setting
                     85:   --disable-safe-mode
1.18      paf        86:   option to configure.
                     87:   
                     88:   You can disable user-configured sendmail commands by forcing it, setting
1.41      paf        89:   --with=sendmail="COMMAND"
                     90:   option to configure, for example:
                     91:   --with-sendmail="/usr/sbin/sendmail -i -t -f postmaster"
1.26      paf        92: 
                     93:   In case you are experiencing problem with gcc runtime exception handling,
                     94:   try to configure with
                     95:   --with-sjlj-exceptions
                     96:   option.  
1.18      paf        97: 
1.33      paf        98:   By default libstdc++ is linked statically, you can re-enable dynamic libstdc++ linkage by specifying
                     99:   --with-dynamic-stdcpp
                    100:   option to configure.  
                    101: 
                    102: 
1.18      paf       103:   Some root config options can be specified at configure time, and would override autodetects.
                    104: 
                    105:   List of enabled charsets:
                    106:   --with-charsets=CHARSET[,CHARSET,...]  Enables charsets in root config (windows-1251,
                    107:                           windows-1250 windows-1257 koi8-r; Default is windows-1251)
                    108:   SQL clients:
1.21      paf       109:   --with-mysql-client=mysqlclientlib?params
                    110:   --with-pgsql-client=pgsqlclientlib?params
                    111:   --with-oracle-client=oracleclientlib?params
1.18      paf       112:   
1.37      paf       113: 5.
                    114:   If you need to build apache 1.3 parser module, get source distribution of apache 1.3,
                    115:   run configure there, then run parser configure with one more option:
                    116:   --with-apache13=Apache13 source distribution directory
                    117:   after 'make' go to that directory and run
                    118: 
                    119:   ./p3runConfigure <any additional options to apache configure to pass>
                    120:   
                    121:   example:
1.46      paf       122:   ./p3runConfigure --prefix=$HOME/apache13install --enable-module=rewrite
1.37      paf       123: 
                    124:   WARNING: if you want to use apache configure option --enable-shared=max, do this:
                    125:   ./p3runConfigure --enable-shared=max --disable-shared=mod_parser3.c

E-mail: