Re: DBI-DBD::ORACLE EROR



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.

.



Relevant Pages

  • Summary: A Raid manager 6.22.1 issue with Solaris 2.6 on E3000
    ... I will be installing 4.5FP6 BS on this machine so if there ... SUNWosafw Open Storage Array Firmware ... SUNWosamn Open Storage Array Man Pages ... Using as the package base directory. ...
    (SunManagers)
  • A Raid manager 6.22.1 issue with Solaris 2.6 on E3000
    ... SUNWosafw Open Storage Array Firmware ... SUNWosamn Open Storage Array Man Pages ... Using as the package base directory. ... Installing Open Storage Array Firmware as ...
    (SunManagers)
  • Re: Help me out!!!
    ... and saw that a package ... then perl won't see it. ... installing the module properly. ... This will download and install the module for you and make it available to ...
    (perl.beginners)
  • Summary - Installing packages inside a zone
    ... My non-global zone was a sparse root zone and hence I wasn't able to ... I see the following errors when installing packages inside a zone after ... complaining about package conflicts. ... Read-only file system ...
    (SunManagers)
  • Re: sunmanagers Digest, Vol 34, Issue 14
    ... Christopher sent me a link to ftp.cs.tu-berlin.de that has all patches sun ... Subject: SUMMARY: Setting up mail on a Solaris Server ... however I seem to be having issues finding a binary package. ... Problems while installing 108528-29 for Sol8 machine ...
    (SunManagers)