472,971 Members | 1,854 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,971 software developers and data experts.

Problem in installing DBD::ORACLE PACKAGE

Hello All,
I have problem in installing DBD::ORACLE package.

Please can any one have experience in installing DBD::ORACLE package.

please give me some hints to install this DBD::ORACLE packages.

shafi
Jan 28 '08 #1
9 4250
numberwhun
3,509 Expert Mod 2GB
Hello All,
I have problem in installing DBD::ORACLE package.

Please can any one have experience in installing DBD::ORACLE package.

please give me some hints to install this DBD::ORACLE packages.

shafi
Well, how are you trying to install it and what errors are you getting? Without that, we cannot tell you what is happening.

Regards,

Jeff
Jan 28 '08 #2
Hello ,
First I have extracted the .gz file contents into one folder.
Then from that folder I am trying to execute this command so I am getting this error.

Perl MakeFile.pl

Error

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.

#

Please tell give me some hints to complete this installation.

shafi
Jan 29 '08 #3
Hello all,

while installing DBD::ORACLE package in machine. I am getting following errorl


I am using this command to install this package.

ppm install DBD-Oracle.ppd

This is my DBD-Oracle.ppd
<?xml version="1.0" encoding="UTF-8"?>
<SOFTPKG NAME="DBD-Oracle" VERSION="1,12,0,0">
<IMPLEMENTATION>
<CODEBASE HREF="MSWin32-x86-multi-thread\DBD-Oracle.tar.gz" />
<ARCHITECTURE NAME="MSWin32-x86-multi-thread" />
<OS NAME="MSWin32" />
</IMPLEMENTATION>
<ABSTRACT>Oracle database driver for the DBI module</ABSTRACT>
<AUTHOR>Tim Bunce (dbi-users@perl.org)</AUTHOR>
<TITLE>DBD-Oracle</TITLE>
</SOFTPKG>

Error I am gettig is :

ppm install failed: PPD does not contain code to install in this platform.

please help me in solving this issue.

shafi
Jan 29 '08 #4
numberwhun
3,509 Expert Mod 2GB
First, I would check and ensure the the files that it is complaining are missing are actually not there.

Question, I noticed you are building the module by hand. Is there a reason you aren't using the CPAN interface to install the module? It would be loads easier and save you this headache.

Regards,

Jeff
Jan 29 '08 #5
numberwhun
3,509 Expert Mod 2GB
Hello all,

while installing DBD::ORACLE package in machine. I am getting following errorl


I am using this command to install this package.

ppm install DBD-Oracle.ppd

This is my DBD-Oracle.ppd
<?xml version="1.0" encoding="UTF-8"?>
<SOFTPKG NAME="DBD-Oracle" VERSION="1,12,0,0">
<IMPLEMENTATION>
<CODEBASE HREF="MSWin32-x86-multi-thread\DBD-Oracle.tar.gz" />
<ARCHITECTURE NAME="MSWin32-x86-multi-thread" />
<OS NAME="MSWin32" />
</IMPLEMENTATION>
<ABSTRACT>Oracle database driver for the DBI module</ABSTRACT>
<AUTHOR>Tim Bunce (dbi-users@perl.org)</AUTHOR>
<TITLE>DBD-Oracle</TITLE>
</SOFTPKG>

Error I am gettig is :

ppm install failed: PPD does not contain code to install in this platform.

please help me in solving this issue.

shafi
Ok, it looks like you have abandoned the manual build of this module and decided to use PPM. Since this is the SAME issue as before, just different error, I am going to merge the two threads together.

In the future, if you are working on the same problem, but change your attack method to the problem, please keep the thread together and do not split it off into seperate threads.

Regards,

MODERATOR
Jan 29 '08 #6
What is this CPAN interface. From where i can receive this CPAN interface to install perl packages.

Please give me some details setps and instructions which are should be followed to complete this task.

shafi

First, I would check and ensure the the files that it is complaining are missing are actually not there.

Question, I noticed you are building the module by hand. Is there a reason you aren't using the CPAN interface to install the module? It would be loads easier and save you this headache.

Regards,

Jeff
Feb 4 '08 #7
numberwhun
3,509 Expert Mod 2GB
What is this CPAN interface. From where i can receive this CPAN interface to install perl packages.

Please give me some details setps and instructions which are should be followed to complete this task.

shafi
The CPAN interface is part of Perl. If you are using linux/unix then type the following at the command line:

Expand|Select|Wrap|Line Numbers
  1. perl -MCPAN -e shell
  2.  
That will put you into the CPAN shell. From there, if you have never run it, you will have to configure it so that it is setup. Just follow the on screen instructions.

To install a module, after you have completed the initial cpan setup, you would just type:

install <module::name>

For instance, it is recommended, after you complete the cpan setup, to install the cpan bundle to get the latest version. You would do that by issuing the command:

install Bundle::CPAN

Regards,

Jeff
Feb 4 '08 #8
Please some one help me installing this.
shafi
Feb 5 '08 #9
THIS ERROR I AM GETTIGN WHEN I TRY TO INSTALL
Running Mkbootstrap for DBD::Oracle ()

chmod 644 Oracle.bs

rm -f blib/arch/auto/DBD/Oracle/Oracle.so

/usr/bin/ld -Wl,+b"/opt/app/oracle/product/9.2.0/lib32:/opt/app/oracle/product/9.2.0/rdbms/lib32" -b +vnocompatwarnings -L/usr/lib/hpux32 Oracle.o dbdimp.o oci8.o -L/opt/app/oracle/product/9.2.0/rdbms/lib32/ -L/opt/app/oracle/product/9.2.0/lib32/ -lclntsh `cat /opt/app/oracle/product/9.2.0/lib32/ldflags` -lm -o blib/arch/auto/DBD/Oracle/Oracle.so

ld: Unrecognized argument: -Wl,+b/opt/app/oracle/product/9.2.0/lib32:/opt/app/oracle/product/9.2.0/rdbms/lib32

Fatal error.

*** Error exit code 1
Feb 5 '08 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: rawii | last post by:
I am running on a Sun box and am trying to install the perl tools to connect to Oracle. When I try to install the DBD::Oracle module, I get the following. Please help.. What does is mean and...
3
by: MJ23 | last post by:
Dear all, I have treid to install Oracle 8.1.7 enterprise on Linux Redhat 8 and 9 version. However, both of the linux version has the same problem. It said cannot initialize VM or say waiting...
4
by: MJ23 | last post by:
Dear all, I have treid to install Oracle 8.1.7 enterprise on Linux Redhat 8 and 9 version. However, both of the linux version has the same problem. It said cannot initialize VM or say waiting...
1
by: J Goldman | last post by:
I am trying to install Oracle 9i (9.2.0.1, 32 bit) on Windows XP Pro (version 2002, SP 1, Intel P3), but I get an error claiming that Oracle requires Service Pack 1 or greater, which it thinks my...
2
by: Cherrish Vaidiyan | last post by:
Hello all, A warm Xmas greetings to all. I have a small problem with starting up the database. Here my strategy. I have installed Oracle 9i R 2 on Red Hat 9. i created two database on this...
1
by: Diana | last post by:
Hi All, I am suddenly in a position where I need to learn to be my own Oralce DBA. I have limited experience with Oracle and haven't ever performed an install on my own. Recently someone...
0
by: Kevin McDaniel | last post by:
Has anyone ever heard of installing Oracle 9.2 on an Alpha OpenVMS box without using OUI? I know the Installation Guide says that ORACLEINS no longer exists, but I'm being told that it is STILL...
3
by: OracletoPerl | last post by:
hi to all can anyone help me out in getting DBD::Oracle for windows.. i am currently using oracle 9i and active perl state 5.8.8..
1
by: Tafungwa Takaindisa | last post by:
I am installing Oracle 9.2.0.1.0 on AIX 5.3 , the installation goes through but the linking fails @ 63% showing error msg: Error invoking target install of makefile...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.