Annotation of sql/pgsql/INSTALL, revision 1.4

1.2       paf         1: 0.Assuming your perform your builds in $D directory 
                      2:   and suggested subdirectories.
1.1       parser      3: 
1.2       paf         4: 1.What is the process to compile Parser3 PgSQL driver? 
1.1       parser      5: 
1.2       paf         6:   You sould have PgSQL client software and include files installed.
1.1       parser      7: 
1.2       paf         8:   As most UNIX libraries Parser3 PgSQL driver follows the "standard":
                      9: 
                     10:   cd $D/parser3project
1.3       paf        11:   mkdir sql
                     12:   cd sql
1.2       paf        13:   gunzip -c parser3pgsql-x.x.tar.gz | tar xvf -
                     14:   cd parser3pgsql-x.x
1.4     ! paf        15:   ./configure --prefix=$HOME/parser3install --silent
1.2       paf        16:   make
                     17: 
                     18: 
                     19:   In case configure could not find directory with your 
                     20:   PgSQL client software include files, specify it with
                     21:     --with-pgsql-inc[=DIR]      DIR is the PgSQL includes directory
                     22:   option.
                     23:   
                     24: 2.What is the process to install Parser3 PgSQL driver?
                     25: 
                     26:   make install
                     27: 
                     28:   Installation layout:
                     29:     $prefix/lib/
                     30:       libparser3pgsql.x     -- driver's dynamic library
                     31: 
                     32:   NOTE:
                     33:   make sure that Parser3 main configuration file, 
                     34:        $prefix/etc/parser3.conf
                     35:   has in $SQL[...] configuration section a line like this:
                     36: 
                     37: pgsql  $sqldriversdir/libparser3pgsql.so       /usr/local/pgsql/lib/libpq.so
                     38: 
                     39:   which specifies 
                     40:     protocol name
                     41:     path to Parser 'libparser3pgsql' dynamic library
                     42:     path to PgSQL client 'libpq' dynamic library
                     43:       [you sould have it from from your PgSQL client installation]
                     44: 
                     45:  
                     46: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
                     47: 
1.4     ! paf        48: $Id: INSTALL,v 1.3 2002/10/07 10:51:02 paf Exp $

E-mail: