DBD-Oracle - Re: DBD::Oracle installation on unix

Posted on Mon Jun 16 21:10:48 2008 by hdd in response to 1170 (See the whole thread of 10)
Re: DBD::Oracle installation on unix
I have
1. Linux 2.6.5-7.282-bigsmp UTC 2006 i686 i686 i386 GNU/Linux

2. Perl version 5.8.3

3. while running perl Makefile.PL getting the error

Checking for functioning wait.ph
Scalar found where operator expected at (eval 209) line 1, near "'int' $__val"
(Missing operator before $__val?)


4. i am trying to install DBD::Oracle but getting the following error while make.
In file included from Oracle.xs:1:
Oracle.h:37:17: oci.h: No such file or directory
Oracle.h:39:20: ocidfn.h: No such file or directory
Oracle.h:40:18: orid.h: No such file or directory
Oracle.h:41:17: ori.h: No such file or directory
In file included from Oracle.h:53,
from Oracle.xs:1:
dbdimp.h:15: error: parse error before "OCIEnv"
dbdimp.h:15: warning: no semicolon at end of struct or union
dbdimp.h:22: error: parse error before '}' token
dbdimp.h:36: error: parse error before "OCIEnv"
dbdimp.h:36: warning: no semicolon at end of struct or union
dbdimp.h:37: warning: type defaults to `int' in declaration of `errhp'
...
...
...
Oracle.xsi:21: error: invalid application of `sizeof' to an incomplete type
Oracle.xsi:22: error: invalid application of `sizeof' to an incomplete type
Oracle.xsi:23: error: invalid application of `sizeof' to an incomplete type
make: *** [Oracle.o] Error 1


5. if some one can tell me how to install. i may be following wrong steps for installing DBD::Oracle.

6. i have already installed Oracle Administrator Client 9.2.0.4

7. ORACLE_BASE, ORACLE_HOME and LD_LIBRARY_PATH already set.



your suggestion are welcome

Thanks in advance for the support.

Direct Responses: 8222 | Write a response