in reply to Tk installation fails on Windows 10 with strawberry perl

I am having the same problem installing Tk on Strawberry PERL. I gather I need to get Tk-804.035, but how do I get that. CPAN seems to only have 804.34.
  • Comment on Re: Tk installation fails on Windows 10 with strawberry perl

Replies are listed 'Best First'.
Re^2: Tk installation fails on Windows 10 with strawberry perl
by Anonymous Monk on Oct 04, 2020 at 02:42 UTC
      Sorry for the ignorance. Much thanks, but now how do I install it? I am used to using PPM to do package installs.
        Much thanks, but now how do I install it?

        Just run:
        cpan -i Tk

        Duh ... the source needs to be altered, doesn't it :-(

        Download https://cpan.metacpan.org/authors/id/S/SR/SREZIC/Tk-804.035.tar.gz
        cd to your local directory in which Tk-804.035.tar.gz resides.
        Run: tar zxvf Tk-804.035.tar.gz
        Run: cd Tk-804.035
        Make the changes to encGlue.c specified in the earlier part of this thread.
        Run: perl Makefile.PL
        Run:  gmake test
        Run: gmake install

        Cheers,
        Rob