DBI users,

(I tried emailing this to "dbi-users@perl.org", but it bounced.)

I'm running a command that (eventually) calls a Perl script, at the end I get the following error messages:

DBD::CSV initialisation failed: Can't locate auto/DBI/setup_drive.al i +n @INC (@INC contains: /usr/local/projects/aps/MSC_R-14-1_K/lib/cmtool/module +/earl/bin/../pm /pkg/perl/5.8.6/lib/5.8.6/sun4-solaris /pkg/perl/5.8. +6/lib/5.8.6 /pkg/perl/5.8.6/lib/site_perl/5.8.6/sun4-solaris /pkg/per +l/5.8.6/lib/site_perl/5.8.6 /pkg/perl/5.8.6/lib/site_perl .) at /pkg/perl/5.8.6/lib/site_perl/5.8.6/sun4-solaris/DBD/File.pm line 4 +8 at /usr/local/projects/aps/MSC_R-14-1_K/lib/cmtool/module/earl/bin/Pr +eopCheckout.plx line 62

I have another version of this environment that uses a different Perl area, and this works, but I can't find a "setup_drive.al" file anywhere in either the working or non-working areas.

Where do I obtain this missing setup_drive.al file? Is there another DBI module I need to install?

Below are the source lines from the error thread:

PreopCheckout.plx, line 62 $DBH = DBI->connect( "DBI:CSV:f_dir=$CC::DB" ) or Ut::l_die( "Can't +connect: $DBI::errstr\n" ); DBD/File.pm, line 48: DBI->setup_driver('DBD::File'); # only needed once but harmless to rep +eat
Thanks in advance,

Randy Applegate

Software Engineer
Ericsson Inc.


In reply to Where do I obtain file DBI/setup_drive.al? by apple123

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.