i'm trying to install Tk for strawberry. i tried 3 ways, all failed.
1. ppm > install Tk Error installing package 'Tk': Read a PPD for 'Tk', but it is not + intended for this build of Perl (MSWin32-x86-multi-thread-5.12) 2. cpan > install Tk gcc -c -I.. -I../pTk/mTk/xlib -I. -Ibitmaps -I../pTk/mTk/xlib - +s -O2 -DWIN32 - DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPE +RL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX -DPERL +DLL -s -O2 -DVERSION=\"804.028\" -DXS_VERSION=\"804.028\" "-IC:\s +trawberry\perl\ lib\CORE" -Wall -Wno-implicit-int -Wno-comment -Wno-unused -D__ +USE_FIXED_PROTO TYPES__ tkWinX.c In file included from tkWinX.c:28: c:\strawberry\c\bin\../lib/gcc/i686-w64-mingw32/4.4.3/../../../.. +/i686-w64-mingw 32/include/commctrl.h:15:2: error: #error _WIN32_IE setting confl +icts tkWinX.c: In function 'TkGetServerInfo': tkWinX.c:163: warning: format '%d' expects type 'int', but argume +nt 3 has type ' DWORD' tkWinX.c:163: warning: format '%d' expects type 'int', but argume +nt 4 has type ' DWORD' tkWinX.c:163: warning: format '%d' expects type 'int', but argume +nt 5 has type ' DWORD' tkWinX.c: In function 'TkWinXInit': tkWinX.c:277: warning: implicit declaration of function 'TclWinSe +tInterfaces' tkWinX.c:326: warning: cast from pointer to integer of different +size tkWinX.c:328: warning: passing argument 3 of 'GetLocaleInfoA' fro +m incompatible pointer type c:\strawberry\c\bin\../lib/gcc/i686-w64-mingw32/4.4.3/../../../.. +/i686-w64-mingw 32/include/winnls.h:707: note: expected 'LPSTR' but argument is o +f type 'WCHAR * ' tkWinX.c:329: warning: 'return' with a value, in function returni +ng void tkWinX.c:331: warning: 'return' with a value, in function returni +ng void tkWinX.c: In function 'Tk_TranslateWinEvent': tkWinX.c:841: warning: implicit declaration of function 'Lang_Win +Event' dmake: Error code 129, while making 'tkWinX.o' dmake.EXE: Error code 255, while making 'pTk\libpTk.a' SREZIC/Tk-804.028.tar.gz C:\strawberry\c\bin\dmake.EXE -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: SREZIC/Tk-804.028.tar.gz : make NO 3. manually installing as described here: http://startperl.blogspot.co +m/2007/11/perl-module-how-to-install-perl-module.html fails with step 2 `nmake`: NMAKE : fatal error U1073: don't know +how to make 'C:/Dokumente'
my strawberry version is: Win32 strawberryperl 5.12.0.1 #1 Thu May 6 16:09:27 2010 i386
In reply to installing Tk for strawberry by cheche
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |