Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

Hello monks, I apologize for continuing to harp on this question; I've posted a similar question here as Where is Perl/Tk? is offline?, got many suggestions but none have panned out.

The situation:

  • I wrote a perl script several years ago with the Tk module.
  • My users use ActiveState Perl on Win7, and that repository no longer carries the module.
  • For a while I was able to refer users to the repository, but that seems to be down. The command used to install:
    ppm install
  • I can see the module on cpan, but don't know how to install it on win7. Yes I've read the instructions, but always get things like:
    c:\> cpan App::cpanminus ... lots of messages... c:\> cpan Tk ... lots of messages... Writing Makefile for Tk 'nmake' is not recognized as an internal or external command, operable program or batch file. SREZIC/Tk-804.030.tar.gz nmake -- NOT OK CPAN: YAML::XS loaded ok (v0.35) Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible
  • When I run ppm repo I see the following (I've disabled bribes as it hangs):
    id pkgs name
    1 16730 ActiveState Package Repository
    2 0 cpan
    3 n/a bribes
    4 13 wxperl
    So it looks like cpan is showing zero packages.
  • Tk does not appear in the user's list if they run the ppm gui.
  • There have been suggestions to migrate to Tkx but that seems like it would be many days of recoding and retesting with an unfamiliar module. (It's a pretty complicated script.)

I can download the module from cpan Tk-804.030.tar.gz but don't know how to install it on windows. Is there a 'ppm' command I can use on that gz file, locally?

I can't ask my users to install something like cygwin; I'd prefer to have tum run it from the basic win7 command line.

Sorry if this all sounds lame, but can anyone help me through this?

thanks, Scott

In reply to Unable to install Tk module on Win7 by slugger415

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, 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, 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.
  • Log In?

    What's my password?
    Create A New User
    Jar. Jar!...

    How do I use this? | Other CB clients
    Other Users?
    Others musing on the Monastery: (5)
    As of 2017-08-19 22:44 GMT
    Find Nodes?
      Voting Booth?
      Who is your favorite scientist and why?

      Results (312 votes). Check out past polls.