in reply to I am not able to install Oracle DBD on Windows 2000 / Perl 5.8.X behind a proxy server

I hear ya! I had the same problem. You have to set your environment variables for HTTP_proxy and possibly HTTP_proxy_user and HTTP_proxy_pass on your computer. (then possible reboot). Read the ActiveState doco http://aspn.activestate.com/ASPN/PPM/FAQ at the bottom of this page on how to setup PPM3.

Just be wary if your network is monitored for rogue perlscripts. When running ppm3 your firewall may pick up the attempt for a perl script to send network traffic. If your security manager is as diligent as ours he'll be tapping you on the shoulder within a matter of minutes. If he trusts you then your fine, but you may want to tell him what you are about to do.

Cheers,
Dean

Programming these days takes more than a lone avenger with a compiler. - sam
  • Comment on Re: I am not able to install Oracle DBD on Windows 2000 / Perl 5.8.X behind a proxy server

Replies are listed 'Best First'.
Re: Re: I am not able to install Oracle DBD on Windows 2000 / Perl 5.8.X behind a proxy server
by Crian (Curate) on Mar 04, 2004 at 10:00 UTC
    ++crabbdean

    Many thanks for that link :-))

    I will report any success here.

    And thanks for your warning too, I will ask our security manager before I will try this.

    Update: I have the permission to try to set these environment variables temporally. So I will try to install the package, but I still have to wait for other processes before I can reboot my computer and try it out.

    I will report later...

    Update2: I tried the shown way this morning out, but it did not work :( ppm still tells me:

    c:\temp>ppm PPM - Programmer's Package Manager version 3.0.1. Copyright (c) 2001 ActiveState SRL. All Rights Reserved. Entering interactive shell. Using Term::ReadLine::Stub as readline lib +rary. Profile tracking is not enabled. If you save and restore profiles manu +ally, your profile may be out of sync with your computer. See 'help profile' + for more information. Type 'help' to get started. ppm> search Oracle Searching in Active Repositories Error: No valid repositories: Error: 500 Can't connect to ppm.ActiveState.com:80 (connect: Unknown error) at C:/Perl/site/lib/PPM/Repository.pm line 84 Error: 500 Can't connect to ppm-ia.ActiveState.com:80 (connect: Unknown error) at C:/Perl/site/lib/PPM/Repository.pm line 84
    Any further idea what could help?

    Update3: Now it worked so far, that I can search for Modules, but when I try to install I get the message
    ppm> search File-Slurp Searching in Active Repositories 1. File-Slurp [9999.04] Efficient Reading/Writing of Complete + Files 2. File-Slurp [2004.0904] Read and write files with a single co +mmand 3. File-Slurp [9999.01] Efficient Reading/Writing of Complete + Files 4. File-Slurp [9999.02] Efficient Reading/Writing of Complete + Files 5. File-Slurp [9999.04] Efficient Reading/Writing of Complete + Files 6. File-Slurp-Tree [1.22] slurp and emit file trees as nested h +ashes 7. File-Slurp-Tree [1.22] slurp and emit file trees as nested h +ashes ppm> install 1 Package 1: ==================== Install 'File-Slurp' version 9999.04 in ActivePerl 5.8.0.805. ==================== Can't unlink file C:\TEMP/File-Slurp-9999-1456/File-Slurp-9999.04.tar. +gz: Permission denied at C:/Perl/site/lib/PPM/Repository.pm line 239 Can't remove directory C:\TEMP/File-Slurp-9999-1456: Permission denied + at C:/Perl/site/lib/PPM/Repository.pm line 239 Error: error downloading 'http://ppm.ActiveState.com/PPMPackages/5.8-w +i- ndows/MSWin32-x86-multi-thread-5.8/File-Slurp-9999.04.tar.gz': 407 Pro +xy Authentication Required


    So I guess anything is still wrog with my Proxy Authentication (but the variables are set right as far as 'set' tells me).
      Either set the environment variables on the command line (as noted in another reply) before starting PPM, or add them in the "My Computer" properties. When you open a new DOS window, the new environment variables will be in effect.
        I know this sounds stupid, but why didn't ActiveState include in their PPM FAQ that you have to reopen any DOS windows after you add this. I made the change like it said to take the proxy server into effect, but until I read this, I didn't think to close the DOS window down and reopen it.
      My only initial thought here was maybe you have access through the proxy but not to download. Or not permission to where its trying to create the temporary files and directories for install. Smells to me like a permissions problem somewhere along the line.

      I know that's not overly helpful but just my first thoughts from your error messages. Let us know how you go.

      Dean

      Programming these days takes more than a lone avenger with a compiler. - sam
      A Standard for the Transmission of IP Datagrams on Avian Carriers
      You have to set the proxy by http_proxy=http://username:paswd@proxyIP:port install is working fine for me. Sudhir sinha lssudhir@gmail.com