compiling current CVS version of Tcl on Win32 with: ActivePerl 5.8.4 ActiveTcl 8.4.11 MSVC-6.0
results in following error: ... cl -c -IE:/apps/Tcl-8.4.11/include -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DE S_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O 1 -DVERSION=\"0.88\" -DXS_VERSION=\"0.88\" "-IE:\perl584\lib\CORE" -DUSE_TCL_STUBS -DLIB_RUNTIME_DIR=\"E:/apps/Tcl-8 .4.11/lib\" -DTCL_LIB_FILE=\"tcl84.dll\" Tcl.c Tcl.c Tcl.xs(100) : fatal error C1083: Cannot open include file: 'dlfcn.h': No such file or directory NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. So I had to apply following: --- Tcl.xs.orig Mon Sep 12 18:40:36 2005 +++ Tcl.xs Tue Sep 27 12:30:49 2005 @@ -63,6 +63,9 @@ #if defined(WIN32) +#ifndef HMODULE +#define HMODULE void * +#endif #define WIN32_LEAN_AND_MEAN #include <windows.h> #undef WIN32_LEAN_AND_MEAN BTW file dlfcn.h is inside Tcl source distribution but it does not installed with binary installation (which is probably ok on Windows). Also, I noticed after installing ActiveTcl "include" dir is now named "include8.4", and this also prevents proper finding of header files. Best regards, Vadim.