G'Day Jan
     Before I got your reply I already.......
     
     ....stripped off 5.8.0. Stripped off Perl Dev Kit.

     Re installed 5.6.1 build 635.
 
     Ran PPM>install DBI  I got

ppm> install DBI
Error: No valid repositories: Error: 407 Proxy authentication
required at
C:/Perl/site/lib/PPM/Repository.pm line 84 Error: Can't locate object
  method "authenticate" via package "LWP::Authen::Ntlm" (perhaps you
  forgot to load "LWP::Authen::Ntlm"?) at
D:/Perl/site/lib/LWP/UserAgent.pm line 545, <$__ANONIO__> line 2.

     Then I changed the environment variable HTTP_proxy to a CONFIRMED proxy
address and I got:

     ppm> install DBI
Error: No valid repositories: Error: Can't locate object method
"authenticate" via package "LWP::Authen::Ntlm" (perhaps you forgot to
load "LWP::Authen::Ntlm"?) at
C:/Perl/site/lib/LWP/UserAgent.pm line 545, <$__ANONIO__> line 4.
  Error: Can't locate object method "authenticate" via package
  "LWP::Authen::Ntlm" (perhaps you forgot to load
  "LWP::Authen::Ntlm"?) at
D:/Perl/site/lib/LWP/UserAgent.pm line 545, <$__ANONIO__> line 4.

  NOTE: My D:\ drive is my CD-ROM drive with NO DISK inserted. Why would it
list D:\blah blah?

  Attached are the two files from

  C:\Perl\site\lib\ppm-conf\cmdline.cfg
  C:\Perl\site\lib\ppm-conf\repositories.cfg

  My proxy server is Microsoft Proxy Server 2.0 on Windows2000 Pro most
likely.
  It can be found here
http://www.microsoft.com/isaserver/evaluation/previousversions/default.asp
  Im a contractor at a US govt site so I need to ask the sys admin on the
civil service side the specifics.

   I trid using PPM2 and I got this:

    Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

C:\>ppm2
PPM interactive shell (2.2.0) - type 'help' for available commands.
PPM> install DBI
Install package 'DBI?' (y/N): y
Installing package 'DBI'...
Error installing package 'DBI': Could not locate a PPD file for package DBI
PPM> search DBI*
Error connecting to
'http://ppm.ActiveState.com/cgibin/PPM/ppmserver.pl?urn:/PPM
Server'.
PPM> verify
While verifying package 'Digest': Could not locate a PPD file for Digest
While verifying package 'Digest-HMAC': Could not locate a PPD file for
Digest-HM
AC
While verifying package 'Digest-MD2': Could not locate a PPD file for
Digest-MD2

While verifying package 'Digest-MD4': Could not locate a PPD file for
Digest-MD4

While verifying package 'Digest-SHA1': Could not locate a PPD file for
Digest-SH
A1
While verifying package 'MD5': Could not locate a PPD file for MD5
While verifying package 'Storable': Could not locate a PPD file for Storable
While verifying package 'Tk': Could not locate a PPD file for Tk
While verifying package 'XML-Simple': Could not locate a PPD file for
XML-Simple

PPM> search DBD*
Error connecting to
'http://ppm.ActiveState.com/cgibin/PPM/ppmserver.pl?urn:/PPM
Server'.
PPM> search DBI* --nocase --location
http://ppm.activestate.com/ppmpackages/zips
/6xx-builds-only/
Can't locate object method "authenticate" via package "LWP::Authen::Ntlm"
(perha
ps you forgot to load "LWP::Authen::Ntlm"?) at
C:/Perl/site/lib/LWP/UserAgent.pm
 line 545, <> line 9.

Also the file size for the PPM.xml was 18kb so I did not copy the ppm.xml
file I created using genconfig. But genconfig did work.

Hope somebody can help. Thanks
-----Original Message-----
From: Jan Dubois [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 6:13 PM
To: Gregory, Carlton
Cc: [EMAIL PROTECTED]
Subject: Re: Using PPM


On Wed, 26 Feb 2003 17:13:35 -0500, "Gregory, Carlton"
<[EMAIL PROTECTED]> wrote:

>Good Evening,

G'day!

>       I am trying to use PPM but cannot get past some errors.
>
>       I have looked at the docs and have boiled down some problems.
>
>       My Perl is 5.8.0 build 805. I installed the Perl Dev Kit also. I
also
>added the HTTP_proxy, HTTP_proxy_user, and HTTP_proxy_pass environment
>variables.
>
>        Despite this it seems like it would not make a connection because I
>still recieve the error:
>        C:\Perl\site\lib\PPM>ppm search DBI
>        Searching in Active Repositories
>        Error: No valid repositories: Error: 501 Protocol scheme '' is not
>supported at C:/Perl/site/lib/PPM/Repository.pm line 84

Could you send me these 2 files from your installation:

    C:\Perl\site\lib\ppm-conf\cmdline.cfg
    C:\Perl\site\lib\ppm-conf\repositories.cfg

I think the problem is with one of the repositories you are trying to use.

I would also like to know *which* proxy server (brand, version, platform)
you are using.  There seem to be some issues with proxy servers and SOAP
packets.  We are looking into this, but haven't found a real pattern yet.

[...]

>        I thought it was beacuse connection was made through the proxy
>automatically via a script. Nevertheless it does not work.
>
>        So I went to
><http://aspn.activestate.com/ASPN/Downloads/ActivePerl/PPM/>
>        downloaded DBD-Oracle. Extracted into a directory i made named
>DBDORACLE. Went to the command shell and went to that 
>    
>         directory. I typed ppm install dbd-oracle.ppd just as the README
>said to do and I got this:
>
>         C:\Perl\DBDOracle>ppm install dbd-oracle.ppd
>         Error: No valid repositories: Error: 501 Protocol scheme '' is not
>supported at C:/Perl/site/lib/PPM/Repository.pm line 84

Hmm, this definitely shouldn't happen with a local install.
        
>         So THEN I looked through the PPM doc on ActiveState's site and I
>saw something that said you could generate a minimal ppm.xml file if the
one
>you had is corrupted. I never got a message that it was corrupted so I
found
>the file and it was ZERO bytes in size. So as the documentation said I went
>to the directory where the file was located and typed 
>
>       ppm genconfig > ppm.xml and I got
>
>     Unknown or ambiguous command 'genconfig'; type 'help' for commands.

With ActivePerl 5.8, the PPM program is actually PPM3, and the old
(deprecated) PPM is now available as PPM2.  Try:

        ppm2 genconfig > ppm.xml

If you still can't get it to work, see if you can at least use PPM2
instead.  But please let me know what happens so that we can gather some
more information about the proxy issue.

Thanks,
-Jan

Attachment: cmdline.cfg
Description: Binary data

Attachment: repositories.cfg
Description: Binary data

Reply via email to