Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: cpan fails when MKS installed on Windows

by BrowserUk (Patriarch)
on Apr 06, 2013 at 11:41 UTC ( [id://1027279]=note: print w/replies, xml ) Need Help??


in reply to [Solved]: cpan fails when MKS installed on Windows

Why not just start the real cmd.exe when running cpan?


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re: cpan fails when MKS installed on Windows

Replies are listed 'Best First'.
Re^2: cpan fails when MKS installed on Windows
by prashantktyagi (Scribe) on Apr 06, 2013 at 13:33 UTC
    Hi, I am already running windows cmd.exe but I guess MKS runs its own config scripts at cmd.exe startup or windows startup somewhere (not sure) .
    That is why I am searching for which script & where to turn off ?
      I guess MKS runs its own config scripts at cmd.exe startup or windows startup somewhere (not sure)

      That's an abominable state of affairs !! Is perl itself crippled by this affliction ?
      For example, does perl -e "print $^X" output C:Perl64perlbinperl.exe, or is it just the cpan shell that suffers ?

      If the problem is limited to the cpan shell you might be able to work around the problem by simply not using it.
      I *never* use the cpan shell - in fact I won't even use cpan.pm (or any of its variants) unless the module I'm trying to install has an appallingly long list of pre-requisites.

      Cheers,
      Rob

        That's an abominable state of affairs !! Is perl itself crippled by this affliction ?

        everything is affected, its a registry hack

        reg query "HKCU\Software\Microsoft\Command Processor"

        But that "feature" has got to be one of the dumbest malware/jokes msdn played

        Here is output:
        C:\Users>perl -e "print $^X" C:\Perl64\perl\bin\perl.exe C:\Users>
        But I tried without cpan shell using source. and I am able to write Makefile but dmake.exe gives same error.
        C:\Perl64\cpan\build\Perl-Tidy-20121207-joTgGx>dmake C:Perl64perlbinperl.exe: not found dmake: Error code 255, while making 'blib\lib\Perl\.exists'

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1027279]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2024-04-18 15:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found