Re: I am not able to install Oracle DBD on Windows 2000 / Perl 5.8.X behind a proxy server
by crabbdean (Pilgrim) on Mar 04, 2004 at 09:53 UTC
|
| [reply] |
|
++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). | [reply] [d/l] [select] |
|
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.
| [reply] |
|
|
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
| [reply] |
|
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
| [reply] |
Re: I am not able to install Oracle DBD on Windows 2000 / Perl 5.8.X behind a proxy server
by neniro (Priest) on Mar 04, 2004 at 17:43 UTC
|
SET HTTP_Proxy=http://192.168.0.x:8080/
best regards,
neniro | [reply] [d/l] |
|
Hey, that worked :)
I suppose I had a typo in my settings by the other way.
Many thanks at all...
Update: But I still can not install packages.. (see my other posting above)
| [reply] |
Re: I am not able to install Oracle DBD on Windows 2000 / Perl 5.8.X behind a proxy server
by rdfield (Priest) on Mar 04, 2004 at 10:29 UTC
|
Activestate don't distribute DBD::Oracle for 5.8, only 5.6. You'll have to google to find someone who can (perhaps make a request to crazyinsomniac/PodMaster). | [reply] |
|
| [reply] |
|
Not particularly useful if DBD::Oracle isn't installed and you're trying to use an Oracle database.
| [reply] |
|
And this is unfortunately why we have to stick with 5.6 on all of our Wintel servers. According to ths post you can get the dbi-oracle ppd here
| [reply] |