Subject: | building perl Tk fails on strawberry perl |
Date: | Tue, 25 May 2010 17:27:24 +0200 |
To: | bug-Tk [...] rt.cpan.org |
From: | Ulli Horlacher <framstag [...] rus.uni-stuttgart.de> |
I have a Windows XP (32 bit) with Strawberry Perl 5.12.0.1
Installing Tk fails:
X:\perl>perl -v
This is perl 5, version 12, subversion 0 (v5.12.0) built for MSWin32-x86-multi-thread
(...)
Show quoted text
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 -DPERL_IMPLICIT_SYS
-fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX -DPERLDLL -s -O2
-DVERSION=\"804.028\" -DXS_VERSION=\"804.028\" "-IC:\strawberry\perl\
lib\CORE" -Wall -Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTO
TYPES__ tkWinScrlbr.c
gcc -c -I.. -I../pTk/mTk/xlib -I. -Ibitmaps -I../pTk/mTk/xlib -s -O2 -DWIN32 -
DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX -DPERLDLL -s -O2
-DVERSION=\"804.028\" -DXS_VERSION=\"804.028\" "-IC:\strawberry\perl\
lib\CORE" -Wall -Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTO
TYPES__ tkWinSend.c
gcc -c -I.. -I../pTk/mTk/xlib -I. -Ibitmaps -I../pTk/mTk/xlib -s -O2 -DWIN32 -
DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX -DPERLDLL -s -O2
-DVERSION=\"804.028\" -DXS_VERSION=\"804.028\" "-IC:\strawberry\perl\
lib\CORE" -Wall -Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTO
TYPES__ tkWinTest.c
tkWinTest.c: In function 'TestwineventCmd':
tkWinTest.c:337: warning: format '%d' expects type 'int', but argument 3 has typ
e 'LRESULT'
gcc -c -I.. -I../pTk/mTk/xlib -I. -Ibitmaps -I../pTk/mTk/xlib -s -O2 -DWIN32 -
DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX -DPERLDLL -s -O2
-DVERSION=\"804.028\" -DXS_VERSION=\"804.028\" "-IC:\strawberry\perl\
lib\CORE" -Wall -Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTO
TYPES__ tkWinWindow.c
gcc -c -I.. -I../pTk/mTk/xlib -I. -Ibitmaps -I../pTk/mTk/xlib -s -O2 -DWIN32 -
DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX -DPERLDLL -s -O2
-DVERSION=\"804.028\" -DXS_VERSION=\"804.028\" "-IC:\strawberry\perl\
lib\CORE" -Wall -Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTO
TYPES__ tkWinWm.c
tkWinWm.c: In function 'ReadIconOrCursorFromFile':
tkWinWm.c:1518: warning: pointer targets in passing argument 2 of 'Tcl_Read' dif
fer in signedness
tclDecls.h:676: note: expected 'char *' but argument is of type 'LPBYTE'
tkWinWm.c: In function 'TkpWmSetState':
tkWinWm.c:2214: warning: 'cmd' may be used uninitialized in this function
gcc -c -I.. -I../pTk/mTk/xlib -I. -Ibitmaps -I../pTk/mTk/xlib -s -O2 -DWIN32 -
DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX -DPERLDLL -s -O2
-DVERSION=\"804.028\" -DXS_VERSION=\"804.028\" "-IC:\strawberry\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 conflicts
tkWinX.c: In function 'TkGetServerInfo':
tkWinX.c:163: warning: format '%d' expects type 'int', but argument 3 has type '
DWORD'
tkWinX.c:163: warning: format '%d' expects type 'int', but argument 4 has type '
DWORD'
tkWinX.c:163: warning: format '%d' expects type 'int', but argument 5 has type '
DWORD'
tkWinX.c: In function 'TkWinXInit':
tkWinX.c:277: warning: implicit declaration of function 'TclWinSetInterfaces'
tkWinX.c:326: warning: cast from pointer to integer of different size
tkWinX.c:328: warning: passing argument 3 of 'GetLocaleInfoA' from 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 of type 'WCHAR *
'
tkWinX.c:329: warning: 'return' with a value, in function returning void
tkWinX.c:331: warning: 'return' with a value, in function returning void
tkWinX.c: In function 'Tk_TranslateWinEvent':
tkWinX.c:841: warning: implicit declaration of function 'Lang_WinEvent'
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
--
Ullrich Horlacher Server- und Arbeitsplatzsysteme
Rechenzentrum E-Mail: horlacher@rus.uni-stuttgart.de
Universitaet Stuttgart Tel: ++49-711-685-65868
Allmandring 30 Fax: ++49-711-682357
70550 Stuttgart (Germany) WWW: http://www.rus.uni-stuttgart.de/