我正在尝试在我的 Win32 系统上为 Perl 5.10安装Java::Import模块。但我似乎无法从 cpan 安装它。这是我尝试通过 CPAN 安装它时遇到的错误:
gcc -c -I"src" -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_I
MPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -mms-bitfields -
O2 "-DXS_VERSION=\"0.03\"" "-DVERSION=\"0.03\"" -I"C:\Perl\lib\CORE" -I"\include" -o "lib\Java\Wrapper.o" "lib\Java\Wrapper
.c"
Access is denied.
error building dll file from 'lib\Java\Wrapper.c' at c:/perl/lib/ExtUtils/CBuilder/Platform/Windows.pm line 143.
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2'
Stop.
RUSEKD/Java-Import-0.03.tar.gz
nmake test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports RUSEKD/Java-Import-0.03.tar.gz
Running make install
make test had returned bad status, won't install without force
我试图查看 cpan-testers 并且似乎自 2006 年以来存在编译错误的错误。有没有人能够安装这个模块?似乎还有另一个名为Inline::Java的模块。我最好改用那个吗?