Re: DBI-DBD::ORACLE EROR
- From: scoles@xxxxxxxxxxx (John Scoles)
- Date: Tue, 29 Jan 2008 07:39:35 -0500
It would be nice to see the output for the Makefile.PL as well
Looks like either one of few things
1) you do not have the full oracle 9 client installed
2) you do not have the ORACLE_HOME= or LD_LIBRARY_PATH set correctly
3) you do not have execute permissions on the *.h files
Have a look at the README.linux.txt and try some of the suggestions there as well
cheers
John Scoles
Mohammed, Shafi wrote:
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.
- Follow-Ups:
- Re: DBI-DBD::ORACLE EROR
- From: Alexander V Alekseev
- Re: DBI-DBD::ORACLE EROR
- References:
- DBI-DBD::ORACLE EROR
- From: Shafi Mohammed
- DBI-DBD::ORACLE EROR
- Prev by Date: DBD::ODBC 1.15 released to CPAN
- Next by Date: Re: DBI-DBD::ORACLE EROR
- Previous by thread: DBI-DBD::ORACLE EROR
- Next by thread: Re: DBI-DBD::ORACLE EROR
- Index(es):
Relevant Pages
|
|