Annotation of sql/oracle/INSTALL, revision 1.5
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 Oracle driver?
1.1 parser 5:
1.2 paf 6: You sould have Oracle client software and include files installed.
1.1 parser 7:
1.2 paf 8: As most UNIX libraries Parser3 Oracle driver follows the "standard":
9:
10: cd $D/parser3project
1.3 paf 11: mkdir sql
12: cd sql
1.2 paf 13: gunzip -c parser3oracle-x.x.tar.gz | tar xvf -
14: cd parser3oracle-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 directories with your
20: Oracle client software include files, specify them with
21: --with-oracleoci-inc[=DIR] DIR is the Oracle OCI includes directory
22: --with-oraclepublic-inc[=DIR] DIR is the Oracle public includes directory
23: options.
24:
25: 2.What is the process to install Parser3 Oracle driver?
26:
27: make install
28:
29: Installation layout:
30: $prefix/lib/
31: libparser3oracle.x -- driver's dynamic library
32:
33: NOTE:
34: make sure that Parser3 main configuration file,
1.5 ! misha 35: $prefix/etc/auto.p
1.2 paf 36: has in $SQL[...] configuration section a line like this:
37:
38: oracle $sqldriversdir/libparser3oracle.so /u01/app/oracle/product/8.1.5/lib/libclntsh.so?ORACLE_HOME=/u01/app/oracle/product/8.1.5&ORA_NLS33=/u01/app/oracle/product/8.1.5/ocommon/nls/admin/data
39:
40: which specifies
41: protocol name
42: path to Parser 'libparser3oracle' dynamic library
43: path to Oracle client 'libclntsh' dynamic library
44: [you sould have it from from your Oracle client installation]
45: which sould be followed by ? and parameters in form 'key=value' separated by '&'
46: ORACLE_HOME=path to your Oracle home directory
47: ORA_NLS33=path to your Oracle nls directory
48:
49:
50: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
51:
1.5 ! misha 52: $Id: INSTALL,v 1.4 2005/11/22 16:38:20 paf Exp $
E-mail: