Hi, I have installed Oracle 9i client and now am trying to install DBD::Oracle.

When I run perl Makefile.PL, everything seems ok except for these 2 errors:

/opt/oracle/oracle_9i/bin/sqlplus: cannot execute binary file

and Checking for functioning wait.ph Scalar found where operator expected at (eval 205) line 1, near "'int' $__val" (Missing operator before $__val?)

When I run make, these errors pop up:

Oracle.xs:191: warning: unused variable `startp' {standard input}: Assembler messages: {standard input}:2: Warning: Unrecognized .section attribute: want a,w,x {standard input}:2: Warning: Unrecognized .section attribute: want a,w,x {standard input}:2: Error: Rest of line ignored. First ignored character is `,'. {standard input}:11: Warning: Unrecognized .section attribute: want a,w,x {standard input}:11: Warning: Unrecognized .section attribute: want a,w,x {standard input}:11: Error: Rest of line ignored. First ignored character is `,'. {standard input}:4725: Warning: Unrecognized .section attribute: want a,w,x {standard input}:4725: Error: Rest of line ignored. First ignored character is `,'. make: *** Oracle.o Error 1

and when I go to run make install, the same erros from make pop up. I thought these errors were minor, but when I ran the test.pl, it says:

install_driver(Oracle) failed: Can't locate loadable object for module DBD::Oracle in @INC Compilation failed in require at (eval 1) line 3. Perhaps a module that DBD::Oracle requires hasn't been fully installed at /home/oracle/DBD-Oracle-1.16/blib/lib/Oraperl.pm line 58 Compilation failed in require at test.pl line 37. BEGIN failed--compilation aborted at test.pl line 37.

I don't really know the reason why DBD::Oracle to install proper...whether it may be caused by the client for Oracle 9i or something else. Any help would be much appreciated. Thanks!

In reply to DBD::Oracle installation by nguye103

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.