473,387 Members | 1,501 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 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 4284
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.