--- sql/mysql/INSTALL 2002/02/08 11:13:41 1.4 +++ sql/mysql/INSTALL 2013/07/07 16:18:39 1.9 @@ -1,38 +1,30 @@ -0.Assuming your perform your builds in $D directory - and suggested subdirectories. +1.What is the process to compile Parser3 MySQL driver? -1.What is the process to compile Parser3 MySQL driver? + MySQL client software and include files should be installed. + Parser3 sources should be in ../../parser3 directory. + Execute the following commands: - You sould have MySQL client software and include files installed. - - As most UNIX libraries Parser3 MySQL driver follows the "standard": - - cd $D/parser3project - gunzip -c parser3mysql-x.x.tar.gz | tar xvf - - cd parser3mysql-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 MySQL client software include files, specify it with --with-mysql-inc=DIR DIR is the MySQL includes directory option. - + 2.What is the process to install Parser3 MySQL driver? make install Installation layout: $prefix/lib/ - libparser3mysql.x -- driver's dynamic library + libparser3mysql.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: -mysql $sqldriversdir/libparser3mysql.so /usr/local/lib/mysql/libmysqlclient.so +mysql $sqldriversdir/libparser3mysql.so libmysqlclient.so which specifies protocol name @@ -40,7 +32,4 @@ mysql $sqldriversdir/libparser3mysql.so path to MySQL client 'libmysqlclient' dynamic library [you sould have it from from your MySQL client installation] - -Alexandr Petrosian (http://paf.design.ru) - -$Id: INSTALL,v 1.4 2002/02/08 11:13:41 paf Exp $ +$Id: INSTALL,v 1.9 2013/07/07 16:18:39 moko Exp $