--- sql/pgsql/INSTALL 2002/02/08 11:14:06 1.2 +++ sql/pgsql/INSTALL 2013/07/07 16:25:48 1.6 @@ -1,38 +1,30 @@ -0.Assuming your perform your builds in $D directory - and suggested subdirectories. +1.What is the process to compile Parser3 PgSQL driver? -1.What is the process to compile Parser3 PgSQL driver? + PgSQL client software and include files should be installed. + Parser3 sources should be in ../../parser3 directory. + Execute the following commands: - You sould have PgSQL client software and include files installed. - - As most UNIX libraries Parser3 PgSQL driver follows the "standard": - - cd $D/parser3project - gunzip -c parser3pgsql-x.x.tar.gz | tar xvf - - cd parser3pgsql-x.x - ./configure --prefix=/usr/local + ./configure --prefix=$HOME/parser3install --silent make - - In case configure could not find directory with your + 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 + --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 + libparser3pgsql.so -- 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: + make sure that Parser3 main configuration file, $prefix/bin/auto.p + has in $SQL[...] configuration section a tab-delimited line like this: -pgsql $sqldriversdir/libparser3pgsql.so /usr/local/pgsql/lib/libpq.so +pgsql $sqldriversdir/libparser3pgsql.so libpq.so which specifies protocol name @@ -40,7 +32,4 @@ pgsql $sqldriversdir/libparser3pgsql.so path to PgSQL client 'libpq' dynamic library [you sould have it from from your PgSQL client installation] - -Alexandr Petrosian (http://paf.design.ru) - -$Id: INSTALL,v 1.2 2002/02/08 11:14:06 paf Exp $ +$Id: INSTALL,v 1.6 2013/07/07 16:25:48 moko Exp $