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

hi All,

I could not access mailing lists of Activestate, hence am posting in this forum seeking help.

After a days' struggle, I managed to install DBI via PPM. To day am trying to install DBD-mysql package and am getting the error given below.

ppm> install DBD-mysql

Error: server-side fetch-ppd failed: 405 Method not allowed at C:/Perl/site/lib/PPM/Repository/PPMServer.pm line 81

ppm> version

PPM - Programmer's Package Manager version 3.1

Could any one pls. help me resolve this ?

--thanks

Mars

Replies are listed 'Best First'.
Re: PPM Issues
by marto (Cardinal) on Aug 03, 2005 at 14:50 UTC
    Hi,

    405 is the http protocol error code "Method Not Allowed".
    Have a read at A guide to installing modules for Win32 by Holli.
    It describes how to configure ppm properly, and alternative methods of installing modules should the problem lie elsewhere.

    Hope this helps,

    Martin
Re: PPM Issues
by inman (Curate) on Aug 03, 2005 at 14:54 UTC
    Have you looked at PPM & PMM problems from earlier today? It covers a number of common problems and includes instructions on how to manually download zipped PPDs and then install them using ppm.

      Thanks to Inman and marto for the pointers.

      I have been able to install DBI after setting HTTP_proxy (not in the first try but after several tries). But DBI did not install mysql driver. So am trying to install DBD-Mysql module now.

      I downloaded DBD-Mysql module from Activestate web as .zip file and unzipped to c:\temp\DBD-Mysql. Invoking "ppm install DBD-Mysql" command from this directory gives this error message :

      Error: no suitable installation target found for package DBD-Mysql.

      I also tried manually copying the files as given in the "Guide to installing PPMs" but that did not work complaining that perlCRT.dll is not available. I copied this file from the net to system path and tried to ran a test db script but perl.exe is generating errors.

      Any pointers would be welcome.

      --thanks in advance,

      Mars

        Hello Monks,

        This time with luck on my side I have been able to install DBI and DBD modules using ppm with less trouble.

        And tested out the installation to verify this and am now able to connect the mysql database(s).

        -- Mars