Subject: | Tk.pm fails to build on ActivePerl 5.12 and 5.14 |
Hey Folks,
when trying to install Tk.pm using cpan on ActivePerl Version 5.12 or
5.14, build fails. The errormessage is the folloing:
------------
C:/Perl/site/bin/gcc.exe -c -I.. -I.. -I../pTk/mTk/xlib -I. -Ibitmaps -
I.. -I../pTk/mTk/xlib -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHA
VE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -
DPERL_IMPLICIT_SYS -DUSE_PERLIO -D_USE_32BIT_TIME_T -
DPERL_MSVCRT_READFIX -DHASAT
TRIBUTE -fno-strict-aliasing -mms-bitfields -DPERLDLL -O2 -
DVERSION=\"804.03\" -DXS_VERSION=\"804.03\" "-IC:\Perl\lib\CORE" -
Wal
l -Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__
ximage.c
C:/Perl/site/bin/gcc.exe -c -I.. -I.. -I../pTk/mTk/xlib -I. -Ibitmaps -
I.. -I../pTk/mTk/xlib -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHA
VE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -
DPERL_IMPLICIT_SYS -DUSE_PERLIO -D_USE_32BIT_TIME_T -
DPERL_MSVCRT_READFIX -DHASAT
TRIBUTE -fno-strict-aliasing -mms-bitfields -DPERLDLL -O2 -
DVERSION=\"804.03\" -DXS_VERSION=\"804.03\" "-IC:\Perl\lib\CORE" -
Wal
l -Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__
xutil.c
rc -fo tk.res -r -i . -i mTk\win\rc mTk\win\rc\tk.rc
dmake.exe: Error code 197, while making 'tk.res'
dmake.exe: Error code 255, while making 'pTk\libpTk.a'
SREZIC/Tk-804.030.tar.gz
C:\Perl\site\bin\dmake.exe -- NOT OK
CPAN: YAML::XS loaded ok (v0.35)
------------
When no compiler is present, ActivePerl downloads a version of MinGW
and installs it. I assume failing command tries to call to be the
windows resource compiler rc.exe. Maybe it could instead call the
command windres.exe, which is the resource compiler which is downloaded
with mingw.
Best regards,
Efewig