Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^4: Unable to install Tk module for Strawberry Perl

by syphilis (Archbishop)
on Apr 14, 2024 at 07:11 UTC ( [id://11158860]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Unable to install Tk module for Strawberry Perl
in thread Unable to install Tk module for Strawberry Perl

../pTk/mTk/xlib/X11/X.h:182:34: error: ...

<UPDATE>: A patched Tk-804.036 source has now become available at:
https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/patched_cpan_modules/Tk-804.036_001.tar.gz
It's probably simpler to just grab, unpack and build it.
</UPDATE>

In an attempt to make things simpler, I have placed a corrected version of Tk-804.036/pTk/mTk/xlib/Xll/X.h on my scratchpad.

Replace the existing contents of pTk/mTk/xlib/Xll/X.h with that scratchpad code (in either the Tk-804.036 source from cpan, or the current Tk source from Tk's github repo) and Tk should build, test, and install just fine.

Note that this scratchpad version is obtained by applying the patch I linked to in https://github.com/eserte/perl-tk/issues/104. The patch can be downloaded directly from https://github.com/eserte/perl-tk/files/14965386/win32_patch.txt.

I should also point out that I can take no credit for this patch, as it merely combines solutions provided by @chrstphrchvz at https://github.com/eserte/perl-tk/compare/master...gh-87 and https://github.com/eserte/perl-tk/issues/92.

Cheers,
Rob
  • Comment on Re^4: Unable to install Tk module for Strawberry Perl

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-05-19 04:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found