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

Oh wise ones,
please enlighten me about the requirements for using ppm under Windows XP with limited user rights, as the program does not even execute for me, whatever I try.

These are my settings:
C:\Programs\Perl\bin>path PATH=C:\Program Files\Apache Software Foundation\maven-1.0\bin;C:\Prog +ram Files\apache-ant-1.6.1\bin; C:\Programs\j2sdk1.4.2\bin;C:\Programs\Perl\bin\;C:\PROGRA~1\REFLEC~1; +C:\WINDOWS\system32;C:\WINDOWS; C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tool +s\BINN; U:\UnxUtils\usr\local\wbin;U:\UnxUtils\bin;U:\UnxUtils\bin\mc;C:\Docum +ents and Settings\jfaehrma\jython-2.1 C:\Programs\Perl\bin>ls GET dprofpp.bat perlbug.bat psed.bat GET.bat enc2xs.bat perlcc.bat pstruct.bat HEAD exetype.bat perldoc.bat ptked HEAD.bat find2perl.bat perlglob.bat ptked.bat IISScriptMap.pl gedi perlglob.exe ptksh POST gedi.bat perlivp.bat ptksh.bat POST.bat h2ph.bat piconv.bat reloc_perl PerlEz.dll h2xs.bat pl2bat.bat reloc_perl.bat PerlIS.dll instmodsh.bat pl2pm.bat runperl.bat PerlMsg.dll libnetcfg.bat pod2html.bat s2p.bat PerlSE.dll lwp-download pod2latex.bat search.bat SOAPsh.bat lwp-download.bat pod2man.bat splain.bat SOAPsh.pl lwp-mirror pod2text.bat stubmaker.bat XMLRPCsh.bat lwp-mirror.bat pod2usage.bat stubmaker.pl XMLRPCsh.pl lwp-request podchecker.bat tkjpeg a2p.exe lwp-request.bat podselect.bat tkjpeg.bat c2ph.bat lwp-rget ppm.bat widget config.pl lwp-rget.bat ppm3-bin widget.bat cpan.bat perl.exe ppm3-bin.cfg wperl.exe crc32 perl5.8.4.exe ppm3.bat xsubpp.bat crc32.bat perl58.dll prove.bat C:\Programs\Perl\bin>cat ppm3-bin.cfg ActivePerl 5.8.4.810: % path: C:\Programs\Perl\site\lib\ppm-conf\ppminst.bat port: 14533 type: Local
This is what I tried so far:
C:\Programs\Perl\bin>ppm 'C:\Programs\Perl\bin\ppm3-bin' is not recognized as an internal or ex +ternal command, operable program or batch file. C:\Programs\Perl\bin>ppm3.bat 'C:\Programs\Perl\bin\ppm3-bin' is not recognized as an internal or ex +ternal command, operable program or batch file. C:\Programs\Perl\bin>ppm.bat 'C:\Programs\Perl\bin\ppm3-bin' is not recognized as an internal or ex +ternal command, operable program or batch file. C:\Programs\Perl\bin>ppm3-bin 'ppm3-bin' is not recognized as an internal or external command, operable program or batch file.
I can not use perl -MCPAN -e shell as I am behind a corporate firewall. Manual installation becomes painfull with the more complex stuff like DBI.
Any ideas what might be wrong?

Thanks and regards,
jonix
  • Comment on 'ppm3-bin' is not recognized as an internal or external command, operable program or batch file
  • Select or Download Code

Replies are listed 'Best First'.
Re: 'ppm3-bin' is not recognized as an internal or external command, operable program or batch file
by PodMaster (Abbot) on Nov 22, 2005 at 14:27 UTC
    What are the permissions for C:\Programs\Perl\bin\ppm3-bin? Try using pl2bat C:\Programs\Perl\bin\ppm3-bin. Try reinstalling PPM3.

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

      You are right - using pl2bat on ppm3-bin did the trick, thank you very much!

      Update:
      The manually downloaded DBI and ODBC driver modules installed like a charm, I had my first Win32::ODBC scripts converted soon :)
Re: 'ppm3-bin' is not recognized as an internal or external command, operable program or batch file
by ikegami (Patriarch) on Nov 22, 2005 at 14:28 UTC
    You're missing ppm3-bin.bat, which appears to be obtained by using pl2bat.bat on ppm3-bin.
      Which usually happens during installation :)
        Thanks for you tip, it really works! Now I can run my ppm :o)