develooper Front page | perl.dbi.users | Postings from January 2008

DBI-DBD::ORACLE EROR

Thread Next
From:
Mohammed, Shafi
Date:
January 29, 2008 04:27
Subject:
DBI-DBD::ORACLE EROR

Hello ,

 

Now I want to use DBI for my current project.

Here I have trying to install DBD::ORACLE PACKAGE it is thronging error.
And it is now allowing to install this package.

 

Please help us in installing this package.

 

Please tell me what are the steps to be taken care while installing this
packages.

 

I am getting following error while installing this package.

 

 

While executing the perl Makefile.PL is getting executed  and the make
is failing with the following error.

# make

cp Oracle.pm blib/lib/DBD/Oracle.pm

cp mkta.pl blib/lib/DBD/mkta.pl

cp oraperl.ph blib/lib/oraperl.ph

cp dbdimp.h blib/arch/auto/DBD/Oracle/dbdimp.h

cp ocitrace.h blib/arch/auto/DBD/Oracle/ocitrace.h

cp Oraperl.pm blib/lib/Oraperl.pm

cp Oracle.h blib/arch/auto/DBD/Oracle/Oracle.h

cp mk.pm blib/arch/auto/DBD/Oracle/mk.pm

cp lib/DBD/Oracle/GetInfo.pm blib/lib/DBD/Oracle/GetInfo.pm

        /usr/bin/perl -p -e "s/~DRIVER~/Oracle/g"
/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/auto/DBI/Driver
..xst > Oracle.xsi

        /usr/bin/perl /opt/perl_32/lib/5.8.8/ExtUtils/xsubpp  -typemap
/opt/perl_32/lib/5.8.8/ExtUtils/typemap -typemap typemap  Oracle.xs >
Oracle.xsc && mv Oracle.xsc Oracle.c

        cc -c  -I/opt/app/oracle/product/9.2.0.6/rdbms/demo -I.
-I/opt/app/oracle/product/9.2.0.6/precomp/public
-I/opt/app/oracle/product/9.2.0.6/rdbms/public
-I/opt/app/oracle/product/9.2.0.6/rdbms/demo
-I/opt/app/oracle/product/9.2.0.6/plsql/public
-I/opt/app/oracle/product/9.2.0.6/network/public
-I/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/auto/DBI
-D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE
-Wl,+vnocompatwarnings +Z -DUSE_SITECUSTOMIZE -DNO_HASH_SEED
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fast +Onolimit
+Opromote_indirect_calls +DAportable +DS2.0    -DVERSION=\"1.20\"
-DXS_VERSION=\"1.20\" +Z
"-I/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE"  -DUTF8_SUPPORT
-DNEW_OCI_INIT -DORA_OCI_VERSION=\"9.2.0.6\" Oracle.c

cpp: "Oracle.h", line 37: error 4036: Can't open include file 'oci.h'.

cpp: "Oracle.h", line 39: error 4036: Can't open include file
'ocidfn.h'.

cpp: "Oracle.h", line 40: error 4036: Can't open include file 'orid.h'.

cpp: "Oracle.h", line 41: error 4036: Can't open include file 'ori.h'.

*** Error exit code 1

 

Stop.

 

 

 

I am waiting for your reply.

 

I have Perl version V5.8.8

DBI version is 1.51

 



This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.


Thread Next


Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About