Annotation of sql/mysql/INSTALL, revision 1.6

1.3       paf         1: 0.Assuming your perform your builds in $D directory 
                      2:   and suggested subdirectories.
1.2       paf         3: 
1.3       paf         4: 1.What is the process to compile Parser3 MySQL driver? 
1.2       paf         5: 
1.4       paf         6:   You sould have MySQL client software and include files installed.
1.2       paf         7: 
1.4       paf         8:   As most UNIX libraries Parser3 MySQL driver follows the "standard":
1.1       parser      9: 
1.3       paf        10:   cd $D/parser3project
1.5       paf        11:   mkdir sql
                     12:   cd sql
1.3       paf        13:   gunzip -c parser3mysql-x.x.tar.gz | tar xvf -
                     14:   cd parser3mysql-x.x
1.6     ! paf        15:   ./configure --prefix=$HOME/parser3install --silent
1.3       paf        16:   make
1.1       parser     17: 
1.3       paf        18: 
                     19:   In case configure could not find directory with your 
                     20:   MySQL client software include files, specify it with
1.4       paf        21:     --with-mysql-inc=DIR        DIR is the MySQL includes directory
                     22:   option.
1.3       paf        23:   
                     24: 2.What is the process to install Parser3 MySQL driver?
                     25: 
                     26:   make install
                     27: 
                     28:   Installation layout:
                     29:     $prefix/lib/
                     30:       libparser3mysql.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: mysql  $sqldriversdir/libparser3mysql.so       /usr/local/lib/mysql/libmysqlclient.so
                     38: 
                     39:   which specifies 
                     40:     protocol name
1.4       paf        41:     path to Parser 'libparser3mysql' dynamic library
                     42:     path to MySQL client 'libmysqlclient' dynamic library
                     43:       [you sould have it from from your MySQL client installation]
1.3       paf        44: 
                     45:  
1.4       paf        46: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
1.3       paf        47: 
1.6     ! paf        48: $Id: INSTALL,v 1.5 2002/10/07 10:51:01 paf Exp $

E-mail: