Have you downloaded/installed the Instant Client SDK too, which provides the required header files? If so, does ORACLE_HOME point to the proper directory?

Makefile.PL's find_headers() routine looks in a number of places:

(...) my @try = ( # search the ORACLE_HOME we're using first # --- Traditional full-install locations "$OH/rdbms/public", # prefer public over others "$OH/rdbms", "$OH/plsql", # oratypes.h sometimes here (eg HPUX 11.23 Itaniu +m Oracle 9.2.0), # --- Oracle SDK Instant Client locations "$OH/sdk/include", # --- Oracle RPM Instant Client locations "/usr/include/oracle/$client_version_full/client", # Instant C +lient for RedHat FC4 "/usr/include/oracle/$client_version_trim/client", # Instant C +lient for RedHat FC4 "/include/oracle/$client_version_full/client", # Instant Clien +t for RedHat FC3 "/include/oracle/$client_version_trim/client", # Instant Clien +t for RedHat FC3 ); unshift @try, $::opt_h if $::opt_h; @try = grep { -d $_ } @try; my %h_file; find( sub { return unless /^o(ci.{3,4}|ratypes)\.h$/i; my $dir = $File::Find::dir; $h_file{$_} ||= $dir; # record first one found print "Found $dir/$_\n" if $::opt_d; }, @try); (...)

If none of the predefined search locations exist, the @try list passed to find() will be empty, which causes File::Find to issue the "invalid top directory" error you're seeing...


In reply to Re: DBD::Oracle Install by almut
in thread DBD::Oracle Install by Citrusmoose

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.