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


in reply to Re^2: Perl5.26 installing Tk module manually
in thread Perl5.26 installing Tk module manually

Ok. Here is the URL to an MSI file with Perl 5.26 that includes Tk.

I think that this is the public build (Oops)
https://camel-builds.s3.amazonaws.com/ActivePerl/MSWin32-x64/20210510T230637Z/ActivePerl-5.26.3.0000-MSWin32-x64-79c273b9.msi?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAQ5FYQM547I2EFPRW%2F20210511%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210511T001912Z&X-Amz-Expires=21600&X-Amz-SignedHeaders=host&X-Amz-Signature=887e1dba0fed96ada5f53adfa2cfa4d158cfa193b116f01f274a28c85a1e1570

https://camel-builds.s3.amazonaws.com/ActivePerl/MSWin32-x64/20210510T230637Z/ActivePerl-5.26.3.0000-MSWin32-x64-79c273b9.msi?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAQ5FYQM547I2EFPRW%2F20210511%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210511T010223Z&X-Amz-Expires=21600&X-Amz-SignedHeaders=host&X-Amz-Signature=490866de848ab299baf990b326e660b9124aa2ccd8b1ed1a6f4b0ec501ac7e2b

Uninstall any AS (Active State) builds. Reboot computer. Then run this MSI. Reboot computer.
Windows LOVES to be rebooted. When I had a sun workstation, we rebooted it once per year during Christmas holidays.
Make a .pl file:

use strict; use warnings; use Tk;
That should do nothing. And if it did nothing, then Tk got loaded. Then further testing can proceed with actual Tk statements.

I seem to get different URLs from my AS account for the same download each time I do it. I'm not sure why that is. The above URL doesn't seem to be specific to my account on AS, so I think it is safe to post it.

Replies are listed 'Best First'.
Re^4: Perl5.26 installing Tk module manually
by vinoth.ree (Monsignor) on May 11, 2021 at 01:29 UTC
    Hi,

    I am still getting the same handshake error

    Event.c: loadable library and perl binaries are mismatched (got handshake key 00000008000004B0, needed 0000000000000000)

    I have started a topic in the active state community, https://community.activestate.com/t/activeperl-5-26-3-with-tk-handshake-error/6601


    All is well. I learn by answering your questions...
Re^4: Perl5.26 installing Tk module manually
by vinoth.ree (Monsignor) on May 11, 2021 at 01:49 UTC
    Hi Marshall

    I am not getting this handshake error in a perl script, and not in other scripts and I found the difference in the shebang line, when I use #!perl I get handshake error. When I use #!wperl I did n't get the handshake error it works fine as expected.


    All is well. I learn by answering your questions...
      OK. As I understand it the .MSI file I gave you worked for Perl 5.26?

      Windows does not use the shebang line for path information. However options after perl are processed.

      #!/usr/bin/perl
      is a NOOP in Windows Perl. However options after perl are processed like -w etc.
      I prefer explicit statements like use warnings;.

        Even the perl 5.28 custom built package also works!


        All is well. I learn by answering your questions...