----- Original Message ----- 
From: "SANDHYA PAWAR" <[EMAIL PROTECTED]>
To: "Sisyphus" <[EMAIL PROTECTED]>
Sent: Wednesday, June 28, 2006 11:18 PM
Subject: RE: Inline::java question


>
> C:\Perl\lib\Inline>nmake
>
> Microsoft (R) Program Maintenance Utility   Version 1.50
> Copyright (c) Microsoft Corp 1988-94. All rights reserved.
>
>         NMAKE -f Makefile all -nologo
>         link -out:..\blib\arch\auto\Inline\Java\JNI\JNI.dll -dll -nologo
> -nodefa
> ultlib -debug -opt:ref,icf  -libpath:"C:\Perl\lib\CORE"  -machine:x86
> JNI.obj
> C:\Perl\lib\CORE\perl58.lib C:\J2SDK1.4.2\lib\jvm.lib -def:JNI.def
> 'link' is not recognized as an internal or external command,
> operable program or batch file.
> NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code
> '0x1'
> Stop.
> NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code
> '0x2'
> Stop.
>

'link.exe' should be in the same folder as both 'cl.exe' and 'nmake.exe' (is
it there ?) - seems odd that 'cl.exe' and 'nmake.exe' are being found, but
not 'link.exe'.

Start in a fresh shell.
Run vcvars32.bat
cd to \Perl\lib\inline
Run nmake clean
Then start again, running (in order):
   perl Makefile.PL J2SDK=C:\J2SDK1.4.2
   nmake java
   nmake test
   nmake install

Cheers,
Rob

Reply via email to