There have been similar threads to this but (without spending HOURS searching everything) nothing that I have found here or on the web helps. I am trying to install Tk via Cpan on my W10 64 bit laptop but this fails (last details replicated below) I have tried Strawberry Perl and Active Perl but both fail the installation for basically the same reason about file/directory not found. (I am trying to install and IDE/debugger but am getting frustrated with this fault as it crops up with whatever one I choose - Geany/Padre/etc. I would have thought that the build file would have been thoroughly tested by now on W10 machines but am now not so sure ... Is the mix of "\" and "/" characters in the paths something to do with it?

.... Tk-804.033/PNG/zlib/contrib/masmx86/gvmat32c.c Tk-804.033/PNG/zlib/contrib/masmx86/bld_ml32.bat ** ETC ETC *** Tk-804.033/pod/pTk/GetUid.pod CPAN: File::Temp loaded ok (v0.2304) Couldn't move C:\Perl64\cpan\build\tmp-8764\Tk-804.033\pTk to C:\Perl6 +4\cpan\build\Tk-804.033-F8ujrd\pTk: No such file or directory at C:\P +erl64\lib/CPAN/Distribution.pm line 571. CPAN::Distribution::run_preps_on_packagedir(CPAN::Distribution +=HASH(0x10c5f0f0)) called at C:\Perl64\lib/CPAN/Distribution.pm line +388 CPAN::Distribution::get(CPAN::Distribution=HASH(0x10c5f0f0)) c +alled at C:\Perl64\lib/CPAN/Distribution.pm line 1847 CPAN::Distribution::prepare(CPAN::Distribution=HASH(0x10c5f0f0 +)) called at C:\Perl64\lib/CPAN/Distribution.pm line 2127 CPAN::Distribution::make(CPAN::Distribution=HASH(0x10c5f0f0)) +called at C:\Perl64\lib/CPAN/Distribution.pm line 3485 CPAN::Distribution::test(CPAN::Distribution=HASH(0x10c5f0f0)) +called at C:\Perl64\lib/CPAN/Distribution.pm line 3891 CPAN::Distribution::install(CPAN::Distribution=HASH(0x10c5f0f0 +)) called at C:\Perl64\lib/CPAN/Module.pm line 479 eval {...} called at C:\Perl64\lib/CPAN/Module.pm line 478 CPAN::Module::rematein(CPAN::Module=HASH(0x1511ae58), "install +") called at C:\Perl64\lib/CPAN/Module.pm line 587 CPAN::Module::install(CPAN::Module=HASH(0x1511ae58)) called at + C:\Perl64\lib/CPAN/Shell.pm line 1896 CPAN::Shell::rematein("CPAN::Shell", "install", "Tk") called a +t C:\Perl64\lib/CPAN/Shell.pm line 2063 CPAN::Shell::__ANON__("CPAN::Shell", "Tk") called at C:/Perl64 +/lib/App/Cpan.pm line 603 App::Cpan::__ANON__("Tk") called at C:/Perl64/lib/App/Cpan.pm +line 612 App::Cpan::_default(ARRAY(0xe42ee8), HASH(0x4582260)) called a +t C:/Perl64/lib/App/Cpan.pm line 516 App::Cpan::run("App::Cpan", "Tk") called at C:\Perl64\bin/cpan +.bat line 26

In reply to CPAN Tk failure on Windows 10 by gsd4me

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.