Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Install Perl DBD::Oracle on Linux

Posted on 2010-11-25
4
927 Views
Last Modified: 2012-05-10
Hello,
I would like to install the Oracle driver for Perl DBI DBD::Oracle on Suse Linux. I need assistance with that. Can some one please help or point me to some document that describe how to achieve that' ?
0
Comment
Question by:tamirmilo
  • 2
4 Comments
 
LVL 8

Expert Comment

by:kivan24
ID: 34212814
0
 
LVL 16

Expert Comment

by:jmatix
ID: 34213047
1. Download http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBD-Oracle-1.26.tar.gz and cd into the download directory

2. tar -zxvf DBD-Oracle-1.26.tar.gz

OR

gunzip DBD-Oracle-1.26.tar.gz
tar -xvf DBD-Oracle-1.26.tar

3. cd DBD-Oracle-1.26

4. perl Makefile.PL

5. make

6. make test

7. make install
0
 

Author Comment

by:tamirmilo
ID: 34213413
Hi,
Thank you for the response.
After running : perl Makefile.PL

DBI version 1.51 required--this is only version 1.50 at Makefile.PL line 21.
BEGIN failed--compilation aborted at Makefile.PL line 21.
which means that i need to upgrade the DBI version that comes out of the box. Can you please assist me with that? i normally use the active state PPM one for those operation on windows...
Many thanks

Tamir
0
 
LVL 16

Accepted Solution

by:
jmatix earned 500 total points
ID: 34214965
Try to install it cpan (simpler) or download the gzipped package from CPAN site (as you did for Oracle DBD and do the same procedure as above.

To install using cpan shell:

cpan<ENTER>

You get get the cpan shell prompt. At the shell prompt:

install DBI<ENTER>


0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question