Re: cpan fails when MKS installed on Windows
by derby (Abbot) on Apr 06, 2013 at 12:07 UTC
|
Is that MKS Toolkit. If so, I'm surprised they are still around. I thought for certain cygwin would be the end of them. Out of curiosity what value does MKS Toolkit provide that cygwin does not (or for that matter running linux in VirtualBox).
| [reply] [Watch: Dir/Any] |
|
Hi derby,
I agree with you. But my organization has MKS Toolkit license and they are stick with it.
| [reply] [Watch: Dir/Any] |
|
I will randomly guess that MKS Toolkit along with Interix were written using Native API and both had full access to the Windows source code from Microsoft (read the story about Mainsoft), therefore both are faster and cleaner than Cygwin which was written on top of Win32 without detailed knowledge of Windows NT.
| [reply] [Watch: Dir/Any] |
Re: cpan fails when MKS installed on Windows
by Anonymous Monk on Apr 06, 2013 at 08:28 UTC
|
Well, if "MKS" is an alternate shell, and it runs when you type "cmd.exe", there is nothing perl related you can do to fix the problem
cmd.exe should always start cmd.exe, if it doesn't, uninstall whatever is posing as cmd.exe
OTOH, you might be able to (but it probably won't work), to recompile perl under MKS... there is such a thing as "mksperl"
| [reply] [Watch: Dir/Any] |
Re: cpan fails when MKS installed on Windows
by marto (Cardinal) on Apr 06, 2013 at 09:46 UTC
|
If you've read their documentation and still can't find a way to prevent this I suggest you contact their support.
| [reply] [Watch: Dir/Any] |
|
Thanks!!! anyway I have already contacted MKS support.
Just thought might be someone faced the same issue.
| [reply] [Watch: Dir/Any] |
Re: cpan fails when MKS installed on Windows
by BrowserUk (Patriarch) on Apr 06, 2013 at 11:41 UTC
|
| [reply] [Watch: Dir/Any] |
|
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 ?
| [reply] [Watch: Dir/Any] |
|
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
| [reply] [Watch: Dir/Any] [d/l] [select] |
|
|
|
|
|
|
|
|
Re: [Solved]: cpan fails when MKS installed on Windows
by Jim (Curate) on Jun 12, 2013 at 05:41 UTC
|
set TERM=ansi
…or some such.
But as you've already learned, your problem is solved with just…
set SHELL=
| [reply] [Watch: Dir/Any] |