Hi Ben,
Thanks for answering, but I'm still completely clueless. This time I've wiped out VS2013 and installed VS2010 (Ultimate) and tried
again - still the same.
When I switched from ActivePerl to Strawberry, I got slightly different error code :
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
copy/b nul:+ win-mac.h autoconf.h
nul
win-mac.h
1 file(s) copied.
copy/b nul:+ osconf.hin osconf.h
nul
osconf.hin
1 file(s) copied.
copy /y krb5\krb5.h+k5-int.h+krb5\clpreauth_plugin.h private-and-public-
decls
krb5\krb5.h
k5-int.h
krb5\clpreauth_plugin.h
1 file(s) copied.
perl -w .\../util/def-check.pl private-and-public-decls .\../lib/krb5_32.def _error_table' at .\../util/def-check.pl line 175, <GEN0> line 8448. NMAKE : fatal error U1077: 'C:\Strawberry\perl\bin\perl.EXE' : return code '0x19'
Stop.
NMAKE : fatal error U1077: 'for' : return code '0x1'
Stop.
awk - I've renamed awk script from the Windows\SUA\bin into awk.exe and copied into C:\awk (available in PATH).
When I run awk from SDK 7.1 command prompt, it seems everything is fine :
c:\Users\User\Downloads\krb5\src>awk
Usage: awk [-f programfile | 'program'] [-Ffieldsep] [-v var=value] [files]
procedure - Here's the complete procedure I'm using :
- installed VS2010 Ultimate
- installed SDK 7.1
- installed latest updates from Windows Update
- installed the latest subsystem for UNIX-based apps for Windows 7 (hmm, instructions at
- installed WiX 3.5 using the installer (not binary package)
- updated PATH so candle.exe is available
candle.exe - also works from cmd prompt :
c:\Users\User\Downloads\krb5\src>candle.exe --help
Microsoft (R) Windows Installer Xml Compiler version 3.5.2519.0
Copyright (C) Microsoft Corporation. All rights reserved.
usage: candle.exe [-?] [-nologo] [-out outputFile] sourceFile [sourceFile ...]
[@responseFile]
-arch set platform defaults for package, components, etc.
values: x86, x64, or ia64 (default: x86)
...
source code - tried both master and kfw-4.0.1-final branches (which one should I use?). Result is the same.
vs cmd prompt - tried to use VS command prompt instead of SDK 7.1 cmd - again the same error
From the error it looks like I'm missing something as def-check.pl script fails to find _error_table, but have no clue why (where should I get _error_table from?).
Please help.