File:  [parser3project] / sql / pgsql / INSTALL
Revision 1.4: download - view: text, annotated - select for diffs - revision graph
Tue Nov 22 16:38:25 2005 UTC (20 years, 7 months ago) by paf
Branches: MAIN
CVS tags: paf_left, HEAD
no message

0.Assuming your perform your builds in $D directory 
  and suggested subdirectories.

1.What is the process to compile Parser3 PgSQL driver? 

  You sould have PgSQL client software and include files installed.

  As most UNIX libraries Parser3 PgSQL driver follows the "standard":

  cd $D/parser3project
  mkdir sql
  cd sql
  gunzip -c parser3pgsql-x.x.tar.gz | tar xvf -
  cd parser3pgsql-x.x
  ./configure --prefix=$HOME/parser3install --silent
  make


  In case configure could not find directory with your 
  PgSQL client software include files, specify it with
    --with-pgsql-inc[=DIR]      DIR is the PgSQL includes directory
  option.
  
2.What is the process to install Parser3 PgSQL driver?

  make install

  Installation layout:
    $prefix/lib/
      libparser3pgsql.x     -- driver's dynamic library

  NOTE:
  make sure that Parser3 main configuration file, 
  	$prefix/etc/parser3.conf
  has in $SQL[...] configuration section a line like this:

pgsql	$sqldriversdir/libparser3pgsql.so	/usr/local/pgsql/lib/libpq.so

  which specifies 
    protocol name
    path to Parser 'libparser3pgsql' dynamic library
    path to PgSQL client 'libpq' dynamic library
      [you sould have it from from your PgSQL client installation]

 
Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)

$Id: INSTALL,v 1.4 2005/11/22 16:38:25 paf Exp $

E-mail: