- 论坛徽章:
- 0
|
perl 版本 :ActivePerl-5.16.1.1601-MSWin32-x86-296175.msi
Perl Package Manager 中找不到对应的win32::kernel32的ppm模块。所以想在在cpan中安装。
过程如下:
cpan
install Win32::kernel32
错误信息:
In file included from API.c:28:
API.h:85: warning: malformed '#pragma pack(push[, id], <n>)' - ignored
API.h:93: warning: #pragma pack (pop) encountered without matching #pragma pack
(push, <n>)
API.c: In function `w32sv_setwstr':
API.c:150: error: `WC_NO_BEST_FIT_CHARS' undeclared (first use in this function)
API.c:150: error: (Each undeclared identifier is reported only once
API.c:150: error: for each function it appears in.)
API.c: In function `XS_Win32__API_UseMI64':
API.c:341: warning: assignment from incompatible pointer type
API.c: In function `XS_Win32__API_SafeReadWideCString':
API.c:701: error: `WC_NO_BEST_FIT_CHARS' undeclared (first use in this function)
dmake.exe: Error code 129, while making 'API.o'
COSIMO/Win32-API-0.72.tar.gz
C:\Perl\site\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:
COSIMO/Win32-API-0.72.tar.gz : make NO
到底是什么情况?
|
|