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

Hello All, I've loaded activestate perl on a Windows XP machine. I'm trying to install DBI. I found many references, including activestate documentation, that say it's as simple as launching ppm then entering "install DBI". But when I try this I get no response at all. No error message, no new prompt, just nothing. I also tried to do a "search *". To this I get a one line response of "Searching in Active Repositories" then nothing more. Any ideas? Any assistance greatly appreciated. Thanks! jdk

Replies are listed 'Best First'.
Re: Can't install DBI in Windows XP?
by flyingmoose (Priest) on Feb 26, 2004 at 18:16 UTC
    Not getting any response from PPM is often the sign of a proxy server being in the way.

    set the http_proxy environment variable if that applies and try again...

    C:\DOS\RUN>set http_proxy=http://proxy.innotech.com:8080 C:\DOS\RUN>ppm search XML

    I'd bet money on it.

      Thank you kindly for the suggestion, but that doesn't seem to work either. After setting the proxy (copy & paste of your instruction) then a search, the response is,

      Searching in Active Repositories
      Error: No valid repositories:
      Error: 500 Can't connect to proxy.innotech.com:8080 <Bad hostname 'proxy.innotech.com:8080)
      Error: 500 Can't connect to proxy.innotech.com:8080 <Bad hostname 'proxy.innotech.com:8080)

      For reference, I am behind a wireless router, if that makes any difference?

      But the problem doesn't seem to be an access issue. I just tried defining a local repository, then disabled the remote respositories. Then I downloaded the DBI file and put it in the local repository. Now when I do a search ppm lists the DBI.ppd file that it found in the local repository. Yet still, when I do "install DBI" or even "install 1" (refering to the module it just found and listed as #1), I get the same hang, no response.

      Any other thoughts? Thanks again! jdk

        FYI -- You don't work for innotech. Innotech was the company featured in "Office Space", perhaps the greatest Software Development Spoof of all time, that (if you work in Software) actually strikes pretty close to home. You should watch it -- they show it on Comedy Central quite a bit.

        What I mean to say is, that was an example -- The proxy actually has to be inside your organization.

        they took my stapler...

        Just want to add that your proxy server most certainly need a user name and password. There are three parameters you need to set: http_proxy, http_proxy_user and http_proxy_pass.

        You need to find out the proxy server used by your company. To find out the proxy server, check the proxy settings of your Internet Explorer.

        If the proxy in your internet explorer is set to automatic, it means your network is using the WPAD (Windows Proxy Auto Discovery) protocol. Open the internet explorer, and type in: http://wpad/wpad.dat, which will download the proxy configuration script. Read the script to get the proxy server settings.

        Have you tried it with the .ppd extension? I mean something like ppm>install DBI.ppd.
Re: Can't install DBI in Windows XP?
by dws (Chancellor) on Feb 26, 2004 at 19:01 UTC
Re: Can't install DBI in Windows XP?
by blue_cowdawg (Monsignor) on Feb 26, 2004 at 18:24 UTC

        Any ideas? Any assistance greatly appreciated.

    I think flyingmoose may have hit a bullseye with this one. I just was successful install DBI under the conditions you just described. In fact I celebrated by installing DBD::mysql right after that.


    Peter L. Berghold -- Unix Professional
    Peter at Berghold dot Net
       Dog trainer, dog agility exhibitor, brewer of fine Belgian style ales. Happiness is a warm, tired, contented dog curled up at your side and a good Belgian ale in your chalice.
Re: Can't install DBI in Windows XP?
by Anonymous Monk on Feb 27, 2004 at 13:15 UTC
    which repositories have you installed? You can find it out by running "ppm rep"