Subject: | not work on win32 systems with ActiveTcl and Mingw |
I am trying to install the tcl modul in windows (32-bit) with ActivePerl
v5.10.1 built for MSWin32-x86-multi-thread, mingw 3.4.5 and ActiveTcl 8.5.
C:\Tcl-0.98>perl Makefile.PL INC="-IC:/Tcl/include" LIBS="-LC:/Tcl/lib"
Set up gcc environment - 3.4.5 (mingw-vista special r3)
tclsh=C:/Tcl/bin/tclsh.exe
tclConfig.sh=C:/Tcl/lib/tclConfig.sh
tcl_library=C:/Tcl/lib/tcl8.5
tcl_version=8.5
LIBS = -LC:/Tcl/lib -ltcl85
INC = -IC:/Tcl/include
DEFINE =
Writing Makefile for Tcl
C:\Tcl-0.98>dmake
cp Tcl.pm blib\lib\Tcl.pm
C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp -typemap
C:\Perl\lib\ExtUtils\
typemap -typemap typemap Tcl.xs > Tcl.xsc && C:\Perl\bin\perl.exe
-MExtUtils::C
ommand -e "mv" -- Tcl.xsc Tcl.c
Please specify prototyping behavior for Tcl.xs (see perlxs manual)
C:/Perl/site/bin/gcc.exe -c -IC:/Tcl/include -DNDEBUG -DWIN32
-D_CONSOLE -DNO
_STRICT -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC
-DPERL_IMPLI
CIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX
-DHASATTRIBUT
E -fno-strict-aliasing -mms-bitfields -O2 -DVERSION=\"0.98\"
-DXS_VER
SION=\"0.98\" "-IC:\Perl\lib\CORE" Tcl.c
Tcl.xs:126: error: initializer element is not constant
dmake.exe: Error code 129, while making 'Tcl.o'
any help?