I just installed Fedora core1 and installed the latest version of the DBI module. When I they to connect to an Oracle Database on another server(there is no local install of oracle on the server) I get an install_driver(Oracle) failed: Can't locate DBD/Oracle.pm in @INC (see the bottom for the full error.) So then I download the DBD::Oracle module and install it but I get this error when I do the perl Makefile.PL: Multiple copies of Driver.xst found in:....(see the bottom for the full error.)

I think I'm having an oracle driver problem but I do not know how to solve it. Any suggestions?

Sparky

Detailed Errors section>>>>
Script Error:
$ perl -w dbtest.pl install_driver(Oracle) failed: Can't locate DBD/Oracle.pm in @INC (@IN +C contains: /usr/lib/perl5/5.8.1/i386-linux-thread-multi /usr/lib/per +l5/5.8.1 /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/ +lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl /usr/lib/perl5/ven +dor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8 +.1 /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/ +perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8 +.1/i386-linux-thread-multi /usr/lib/perl5/5.8.1 .) at (eval 1) line 3 +. Perhaps the DBD::Oracle perl module hasn't been fully installed, or perhaps the capitalisation of 'Oracle' isn't right. Available drivers: ExampleP, Pg, Proxy, Sponge, mysql. at dbtest.pl line 7


DBI::Oracle installation Error:
# perl Makefile.PL<BR> Multiple copies of Driver.xst found in: /usr/lib/perl5/site_perl/5.8.1 +/i386-linux-thread-multi/auto/DBI /usr/lib/perl5/vendor_perl/5.8.0/i3 +86-linux-thread-multi/auto/DBI at Makefile.PL line 37 Using DBI 1.40 (for perl 5.008001 on i386-linux-thread-multi) installe +d in /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/auto/DBI Configuring DBD::Oracle ... >>> Remember to actually *READ* the README file! Especially if you have any problems. The ORACLE_HOME environment variable must be set. It must be set to hold the path to an Oracle installation directory on this machine (or a machine with a compatible architecture). See the README.clients file for more information. ABORTED!
Sparky
FMTEYEWTK

In reply to Fedora DBI Oracle install help by sparkyichi

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.