Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Problem installing DBI

by Vanesa (Initiate)
on Jun 10, 2002 at 01:48 UTC ( #173015=perlquestion: print w/replies, xml ) Need Help??

Vanesa has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I need to install DBI & DBD::ODBC but I'm getting an error message whenever I do that in PPM. Here's the error message:
PPM> install DBI Install package 'DBI?' (y/N): y Error installing package "DBI": Could not locate a PPD file for packag +e DBI. PPM> install DBD::ODBC Install package 'DBD-ODBC?' (y/N): y Error installing package "DBD-ODBC": Could not locate a PPD file for p +ackage DBD-ODBC.
Any kind of help I will really appreciate. Vana

Replies are listed 'Best First'.
Re: Problem installing DBI
by c-era (Curate) on Jun 10, 2002 at 01:55 UTC
    You may want to check your internet connection. Are you behind a firewall, or going through a proxy? Those can affect your ability to use your ppm settings.

    If you are still having problems, post your settings (type 'set' at the ppm prompt).

      Thank you for sugestion. I am going to check. Vana
Re: Problem installing DBI
by perigeeV (Hermit) on Jun 10, 2002 at 02:00 UTC

    You're probably behind a firewall or proxy. Try the pertinent FAQ.

      Also check so that your repositories are set up properly, that can cause the same effect as firewalls, I've noticed.

      Type "help repository" or "help rep" to get some available commands, at least in PPM3.

      If you type "rep", you should get a list like this one:

      1. ActiveState PPM2 Repository * 2. ActiveState Package Repository
      with possibly more entries. Make sure you have such entries, and that one of them has a star ('*') in front of it.

      If not, try to choose one of them with "rep set", or if needed, add a new one with "rep add" as per the help. Also try to set different ones to see if one might be down. I've had these entries damaged upon occassion, and it also behaved real badly then. :)

      If you need to add one, try to add "ActiveState Package Repository" with the URL "".

      Then again, if this is a firewall issue, then none of this will help. :)

      A reinstall might also possibly be not quicker, but easier and potentially repairing other things too.

      You have moved into a dark place.
      It is pitch black. You are likely to be eaten by a grue.
      I check connection with intrnet afther that I was able to start installing DBI. When I finished that and I added data base file alias to DSN and I tested but I still have problem. I got message like this:
      install_driver(ODBC) failed: Can't locate DBD/ in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib.) at (eval 1) liene3. Perhaps the DBD::ODBC perl module hasn't been fully installed or perhaps the capitalisation of 'ODBC' isn't right. Available drivers: ExampleP, Proxy.
        I'd try reinstalling. If you still are having a problem, make sure that you only have one copy of active state perl installed (I've seen something simular on a pc with three copies of perl installed).

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://173015]
Approved by erikharrison
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2022-05-27 19:40 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (97 votes). Check out past polls.