Both of your responses were correct. Thanks. Once I simply used ppm, I could install the DBD-ODBC module without incident. I can now access my database fine.

However, when I execute the following code:

#!/usr/bin/perl -w use DBI; my @drivers = DBI->available_drivers; die 'no drivers installed' unless @drivers; for my $driver (@drivers) { print "driver:\t$driver\n"; my @dsns = DBI->data_sources($driver); for my $dsn (@dsns) { print "dsn:\t$dsn\n"; } }

I get the following output:

C:\Perl\source>perl dbtest.pl driver: ExampleP dsn: dbi:ExampleP:dir=. driver: ODBC dsn: DBI:ODBC:MS Access Database dsn: DBI:ODBC:Excel Files dsn: DBI:ODBC:dBASE Files dsn: DBI:ODBC:Visual FoxPro Tables dsn: DBI:ODBC:Visual FoxPro Database dsn: DBI:ODBC:testdb driver: Proxy install_driver(Proxy) failed: Can't locate RPC/PlClient.pm in @INC (@I +NC contain s: C:/Perl/lib C:/Perl/site/lib .) at C:/Perl/site/lib/DBD/Proxy.pm li +ne 28. BEGIN failed--compilation aborted at C:/Perl/site/lib/DBD/Proxy.pm lin +e 28. Compilation failed in require at (eval 3) line 3. Perhaps a module that DBD::Proxy requires hasn't been fully installed at dbtest.pl line 10 C:\Perl\source>

Any ideas on what's going on with the Proxy driver? Should I be concerned about this?


In reply to Re: Re: newbie wants to install DBI for ActiveState by Anonymous Monk
in thread newbie wants to install DBI for ActiveState by Anonymous Monk

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.