C:/cpanrun/depot/main/contrib-patched/perl/CPAN/src/Tk-PNG does not start with C:/cpanrun/build/5-10-0/site/lib i.e. building outside Tk itself Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lpng Note (probably harmless): No library found for -lz Finding dependencies for PNG.xs Finding dependencies for imgPNG.c Cannot find 'png.h' assume made Writing Makefile for Tk::PNG Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. cp PNG.pm blib\lib\Tk\PNG.pm C:\cpanrun\build\5-10-0\bin\perl.exe C:\cpanrun\build\5-10-0\lib\ExtUtils\xsubpp -typemap C:\cpanrun\build\5-10-0\lib\ExtUtils\typemap -typemap C:/cpanrun/build/5-10-0/site/lib/Tk/typemap PNG.xs > PNG.xsc && C:\cpanrun\build\5-10-0\bin\perl.exe -MExtUtils::Command -e mv PNG.xsc PNG.c cl -c -IC:/cpanrun/build/5-10-0/site/lib/Tk -I/usr/local/include -IC:/cpanrun/build/5-10-0/site/lib/Tk/pTk/mTk/xlib -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"2.005\" -DXS_VERSION=\"804.028\" "-IC:\cpanrun\build\5-10-0\lib\CORE" PNG.c PNG.c c:\cpanrun\build\5-10-0\site\lib\Tk\pTk\Lang.h(33) : warning C4117: macro name '__FUNCTION__' is reserved, '#define' ignored PNG.xs(23) : error C2143: syntax error : missing '{' before '*' PNG.xs(23) : error C2143: syntax error : missing '{' before '*' PNG.xs(33) : error C2065: 'TkintplatdeclsVtab' : undeclared identifier PNG.xs(33) : error C2059: syntax error : ')' PNG.xs(33) : error C2223: left of '->tabSize' must point to struct/union PNG.xs(33) : error C2065: 'TkplatdeclsVtab' : undeclared identifier PNG.xs(33) : error C2059: syntax error : ')' PNG.xs(33) : error C2223: left of '->tabSize' must point to struct/union NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop.