Problem installing Tk in Perl version 5.24

Posted by dzgjwb01 on 2016-08-30 10:05

Help needed in installing Tk in Perl version 5.24. Tk is not found in ppm. Tried to install it using CPAN, but I get an error doing that:

dmake.exe: Error code 129, while making 'tkres.o'
dmake.exe: Error code 255, while making 'pTk\libpTk.a'
C:\eng_apps\Perl64\site\bin\dmake.exe -- NOT OK
Failed during this command:
SREZIC/Tk-804.033.tar.gz : make NO

ActiveState Staff
Fri, 2017-02-17 11:16

Tk needs manual intervention in order for it to build in PPM. It will never appear in the first round of modules when a new Perl is released because those are always automated builds.

The same things that make Tk difficult to automate for PPM make it really hard to build it yourself. If you use Tk, you're best off to avoid the leading edge Perls and only move once a ".1" version of a release is ready.