I am trying to install the Java::Import module on my Win32 system for Perl 5.10. But I can't seem to get it install from cpan. Here is the error I get when I try to install it via 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
I tried to look at the cpan-testers & seems like there is bug for compilation errors since 2006. Has any one ever been able to install this module? There seems to be another module called Inline::Java. Am I better off using that one instead?