Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Perl5.26 installing Tk module manually

by vinoth.ree (Monsignor)
on May 10, 2021 at 23:59 UTC ( [id://11132364]=note: print w/replies, xml ) Need Help??


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

Hi Marshall

I was doing the same, instead of 5.26 I built 5.28 including Tk module, after install 5.28 and when using Tk mode I hit the handshake error, may be I can try your package, could you please share the package link, so I will download and try out?. Thanks in advance.


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

Replies are listed 'Best First'.
Re^3: Perl5.26 installing Tk module manually
by Marshall (Canon) on May 11, 2021 at 00:59 UTC
    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.

      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...
      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;.
Re^3: Perl5.26 installing Tk module manually
by Marshall (Canon) on May 12, 2021 at 09:19 UTC
    I don't know what went wrong. But the public 5.28 build already included Tk. The 5.26 public build had Tkx but not Tk.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11132364]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-26 08:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found