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

I am trying to install modules that has database driver. I downloaded the *.tar.gz file. But when i try to install the file using PPM i am getting the following error. could'nt locate a PPD file for package DBD-ODBC-0.28.tar.gz. Can anyone help me out in this regard. Thx in advance jagan

Replies are listed 'Best First'.
Re: could'nt locate a PPD file
by {NULE} (Hermit) on Dec 11, 2001 at 06:18 UTC
    Hi krishjack,

    ppm doesn't work that way. Sound like you retrieved the module source from CPAN. In order to get ppm (from ActiveState's distribution, I presume) to install DBD::ODBC you probably have to type something (from within the ppm utility) like:

    install DBD-ODBC
    Note that not everything on CPAN is available as a .ppd file. Curses is one that I recall off the top of my head. The difference between the source tarballs and the .ppd files is that the ppd files are pre-built for your architecture.

    Good luck, feel free to post follow-up questions if this doesn't make sense to you.

    Update: Changed DBD::ODBC to DBD-ODBC. I'm not terribly familiar with ActiveState's excellent distribution. Thanks, lachoy.
    {NULE}
    --
    http://www.nule.org

      Tiny change -- that should be:

      ppm> install DBD-ODBC

      Beginners see the error message ("Cannot find DBD::ODBC") and get confused...

      Chris
      M-x auto-bs-mode

        If you can't do so because of a proxy, just set the environmentvariable HTTP_PROXY to http://yourproxy:proxyPort/, eg.
        Linux: export HTTP_PROXY=http://myproxy:8080/
        Win32: set HTTP_PROXY=http://myproxy:8080/ and try again...

        Best regards,
        perl -e "print a|r,p|d=>b|p=>chr 3**2 .7=>t and t"