Subject: | Build-Time Failure atop ActivePerl 5.8.7 on Win32 |
Here is the output when I type in "install Unicode::Map8" after the
"cpan> " prompt:
...
E:\Perl\bin\perl.exe E:\Perl\lib\ExtUtils\xsubpp -typemap
E:\Perl\lib\E
xtUtils\typemap -typemap typemap Map8.xs > Map8.xsc &&
E:\Perl\bin\perl.exe -ME
xtUtils::Command -e mv Map8.xsc Map8.c
cl -c -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE
-DNO_ST
RICT -DHAVE_DES_FCRYPT -DBUILT_BY_ACTIVESTATE -DNO_HASH_SEED
-DUSE_SITECUSTOMIZE
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
-DPERL_MSVCRT_READFIX
-MD -Zi -DNDEBUG -O1 -DVERSION=\"0.12\" -DXS_VERSION=\"0.12\"
"-IE:\Perl\li
b\CORE" -DPERL Map8.c
Map8.c
c1 : warning C4349: /Gf is deprecated and will not be supported in
future versio
ns of Visual C++; remove /Gf or use /GF instead
Map8.xs(164) : warning C4244: 'function' : conversion from 'IV' to
'u_short', po
ssible loss of data
Map8.xs(166) : warning C4244: '=' : conversion from 'IV' to 'U16',
possible loss
of data
Map8.xs(359) : warning C4013: 'map8_recode8' undefined; assuming extern
returnin
g int
cl -c -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE
-DNO_ST
RICT -DHAVE_DES_FCRYPT -DBUILT_BY_ACTIVESTATE -DNO_HASH_SEED
-DUSE_SITECUSTOMIZE
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
-DPERL_MSVCRT_READFIX
-MD -Zi -DNDEBUG -O1 -DVERSION=\"0.12\" -DXS_VERSION=\"0.12\"
"-IE:\Perl\li
b\CORE" -DPERL map8x.c
map8x.c
c1 : warning C4349: /Gf is deprecated and will not be supported in
future versio
ns of Visual C++; remove /Gf or use /GF instead
E:\Perl\lib\CORE\perl.h(115) : warning C4005: 'aTHX' : macro redefinition
E:\Perl\lib\CORE\XSUB.h(325) : see previous definition of 'aTHX'
D:\Vc7\include\setjmp.h(70) : warning C4005: 'setjmp' : macro redefinition
E:\Perl\lib\CORE\XSUB.h(476) : see previous definition of 'setjmp'
E:\Perl\lib\CORE\perl.h(1096) : warning C4005: 'socketpair' : macro
redefinition
E:\Perl\lib\CORE\XSUB.h(523) : see previous definition of
'socketpair'
D:\Vc7\include\stdio.h(221) : warning C4005: 'stdin' : macro redefinition
E:\Perl\lib\CORE\XSUB.h(398) : see previous definition of 'stdin'
D:\Vc7\include\stdio.h(222) : warning C4005: 'stdout' : macro redefinition
E:\Perl\lib\CORE\XSUB.h(399) : see previous definition of 'stdout'
D:\Vc7\include\stdio.h(223) : warning C4005: 'stderr' : macro redefinition
E:\Perl\lib\CORE\XSUB.h(400) : see previous definition of 'stderr'
D:\Vc7\include\stdio.h(408) : warning C4005: 'feof' : macro redefinition
E:\Perl\lib\CORE\XSUB.h(403) : see previous definition of 'feof'
D:\Vc7\include\stdio.h(409) : warning C4005: 'ferror' : macro redefinition
E:\Perl\lib\CORE\XSUB.h(404) : see previous definition of 'ferror'
D:\Vc7\include\stdio.h(412) : warning C4005: 'getc' : macro redefinition
E:\Perl\lib\CORE\XSUB.h(406) : see previous definition of 'getc'
E:\Perl\lib\CORE\perl.h(2777) : warning C4002: too many actual
parameters for ma
cro 'PerlProc_getuid'
E:\Perl\lib\CORE\perl.h(2777) : error C2143: syntax error : missing ')'
before '
->'
E:\Perl\lib\CORE\perl.h(2777) : error C2143: syntax error : missing '{'
before '
->'
E:\Perl\lib\CORE\perl.h(2777) : error C2059: syntax error : '->'
E:\Perl\lib\CORE\perl.h(2777) : error C2059: syntax error : ')'
E:\Perl\lib\CORE\perl.h(2778) : warning C4002: too many actual
parameters for ma
cro 'PerlProc_geteuid'
E:\Perl\lib\CORE\perl.h(2778) : error C2143: syntax error : missing ')'
before '
->'
E:\Perl\lib\CORE\perl.h(2778) : error C2143: syntax error : missing '{'
before '
->'
E:\Perl\lib\CORE\perl.h(2778) : error C2059: syntax error : '->'
E:\Perl\lib\CORE\perl.h(2778) : error C2059: syntax error : ')'
E:\Perl\lib\CORE\perl.h(2779) : warning C4002: too many actual
parameters for ma
cro 'PerlProc_getgid'
E:\Perl\lib\CORE\perl.h(2779) : error C2143: syntax error : missing ')'
before '
->'
E:\Perl\lib\CORE\perl.h(2779) : error C2143: syntax error : missing '{'
before '
->'
E:\Perl\lib\CORE\perl.h(2779) : error C2059: syntax error : '->'
E:\Perl\lib\CORE\perl.h(2779) : error C2059: syntax error : ')'
E:\Perl\lib\CORE\perl.h(2780) : warning C4002: too many actual
parameters for ma
cro 'PerlProc_getegid'
E:\Perl\lib\CORE\perl.h(2780) : error C2143: syntax error : missing ')'
before '
->'
E:\Perl\lib\CORE\perl.h(2780) : error C2143: syntax error : missing '{'
before '
->'
E:\Perl\lib\CORE\perl.h(2780) : error C2059: syntax error : '->'
E:\Perl\lib\CORE\perl.h(2780) : error C2059: syntax error : ')'
map8x.c(24) : error C2065: 'my_perl' : undeclared identifier
map8x.c(24) : error C2223: left of '->IMem' must point to struct/union
map8x.c(24) : error C2223: left of '->IMem' must point to struct/union
map8x.c(25) : error C2223: left of '->IProc' must point to struct/union
map8x.c(25) : error C2223: left of '->IProc' must point to struct/union
map8x.c(29) : error C2223: left of '->IMem' must point to struct/union
map8x.c(29) : error C2223: left of '->IMem' must point to struct/union
map8x.c(30) : error C2223: left of '->IProc' must point to struct/union
map8x.c(30) : error C2223: left of '->IProc' must point to struct/union
map8x.c(61) : error C2223: left of '->IMem' must point to struct/union
map8x.c(61) : error C2223: left of '->IMem' must point to struct/union
map8x.c(62) : error C2223: left of '->IProc' must point to struct/union
map8x.c(62) : error C2223: left of '->IProc' must point to struct/union
map8x.c(71) : error C2223: left of '->ISock' must point to struct/union
map8x.c(71) : error C2223: left of '->ISock' must point to struct/union
map8x.c(142) : warning C4244: 'function' : conversion from 'long' to
'U8', possi
ble loss of data
map8x.c(142) : warning C4244: 'function' : conversion from 'long' to
'U16', poss
ible loss of data
map8x.c(213) : error C2223: left of '->IMem' must point to struct/union
map8x.c(213) : error C2223: left of '->IMem' must point to struct/union
map8x.c(215) : error C2223: left of '->IMem' must point to struct/union
map8x.c(215) : error C2223: left of '->IMem' must point to struct/union
map8x.c(217) : error C2223: left of '->IMem' must point to struct/union
map8x.c(217) : error C2223: left of '->IMem' must point to struct/union
NMAKE : fatal error U1077: “cl” : 返回代码“0x2”
Stop.
E:\perl\bin\nmake.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:
GAAS/Unicode-Map8-0.12.tar.gz : make NO