Open hakonhagland opened 1 year ago
It is quite possible that the old bundled zlib causes problems, and in fact I don't know if it worked on Windows since 2007 or so. On StrawberryPerl systems libpng is already available so there's no need for neither the bundled libpng nor zlib. Maybe that would be a better option for you now --- independently build and install libpng.
Probably it would be better if Tk used Alien::PNG or so as a fallback.
I have installed a debug version of perl 5.37.6 on Windows 11 using MinGW-w64 and gcc 11.3 from https://winlibs.com/ (using the MSVCRT runtime library), see https://github.com/Perl/perl5/issues/20395 for more information on this.
After applying the fix in #88 (or #89) I get the following
The complete log files: perl-makefile-log.txt, and gmake.log.txt
I checked that
libz.a
exists:Note that the command that fails is this:
which is run from directory
PNG\libpng
. Notice that the command uses-L/usr/lib
(which does not exist on Windows). It should have used something like-L../zlib
, right?