http://www.perlmonks.org?node_id=1015747


in reply to Re: Where is Perl/Tk? bribes.org is offline?
in thread Where is Perl/Tk? bribes.org is offline?

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Re^2: Where is Perl/Tk? bribes.org is offline?

Replies are listed 'Best First'.
Re^3: Where is Perl/Tk? bribes.org is offline?
by blue_cowdawg (Monsignor) on Jan 28, 2013 at 19:07 UTC
        I don't believe Tk is on CPAN any longer.

    It isn't?


    Peter L. Berghold -- Unix Professional
    Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg

      Curious. I wonder why I'm getting this message then, when running 'cpan Tk':

      Going to read 'C:\Perl64\cpan\Metadata'
        Database was generated on Mon, 28 Jan 2013 12:06:54 GMT
      Warning: Cannot install tk, don't know what it is.
      Try the command
      
          i /tk/
      
      to find objects with matching identifiers.
      CPAN: Time::HiRes loaded ok (v1.9721)
      

      Is there an easy way a Windows user could install this package? Pardon my ignorance but I'm not up on running make builds on Windows (7).

      thanks!

      Hmm, never mind, might have been an uppercase (read: user) error.

      But am now getting this:

      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
      Running make test
        Can't test without successful make
      Running make install
        Make had returned bad status, install seems impossible
      

        Something must be up with your environment. Here's what I get:

        $ cpan cpan shell -- CPAN exploration and modules installation (v1.960001) Enter 'h' for help. cpan[1]> install Tk Going to read '/home/pberghold/.cpan/Metadata' Database was generated on Wed, 16 Jan 2013 02:41:03 GMT Fetching with LWP: http://cpan.belfry.net/authors/01mailrc.txt.gz Going to read '/home/pberghold/.cpan/sources/authors/01mailrc.txt.gz' ...................................................................... +......DONE Fetching with LWP: http://cpan.belfry.net/modules/02packages.details.txt.gz Going to read '/home/pberghold/.cpan/sources/modules/02packages.detail +s.txt.gz' Database was generated on Tue, 29 Jan 2013 01:29:02 GMT .............. ..............................................................DONE Fetching with LWP: http://cpan.belfry.net/modules/03modlist.data.gz Going to read '/home/pberghold/.cpan/sources/modules/03modlist.data.gz +' ...................................................................... +......DONE Going to write /home/pberghold/.cpan/Metadata Tk is up to date (804.030). cpan[2]>
        Granted, mine's already installed.


        Peter L. Berghold -- Unix Professional
        Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
Re^3: Where is Perl/Tk? bribes.org is offline?
by Anonymous Monk on Jan 29, 2013 at 08:08 UTC

    I don't believe Tk is on CPAN any longer.

    CPAN is forever :) Well, backpan is forever

    Did you try it?

    Go ahead and try it; feel silly?

      sorry I don't know what to do with that site. And I do feel a little silly, yes.

        Try  cpan Tk copy/paste, do not retype, copy/paste
Re^3: Where is Perl/Tk? bribes.org is offline?
by jandrew (Chaplain) on Jan 29, 2013 at 23:00 UTC

    If you are running Activestate perl your Tk build from CPAN won't go as well as if you are running Strawberry perl.

    Check out the Tutorial from holli regarding ppm modules and repositories. There are a number of useful Activestate style workarounds there. You will also need to know what version of make your system has. Type the following into a command prompt.

    perl -V:make