View Ticket
2024-05-14
19:15 Ticket [df2dd68dca] Error: <sys/stat.h> is not compatible with MSVC status still Closed with 4 other changes artifact: 6275740bff user: anonymous
17:47 Ticket [df2dd68dca]: 3 changes artifact: 8ed4115947 user: anonymous
2022-08-12
15:45 Closed ticket [df2dd68dca]. artifact: 1a66fb04ec user: rkeene
15:21
Remove setting _USE_32BIT_TIME_T, does not seem to be required anymore.

It was added as part of [cb7ed6affe], but now causes [df2dd68dca] check-in: b93594845d user: rkeene tags: trunk

2021-03-20
06:32 Ticket [df2dd68dca] Error: <sys/stat.h> is not compatible with MSVC status still Open with 3 other changes artifact: e0c8b18128 user: anonymous
2021-01-12
05:08 Ticket [df2dd68dca]: 3 changes artifact: 8f40f99f3e user: anonymous
2020-06-19
02:16 Ticket [df2dd68dca]: 6 changes artifact: 77ee718054 user: anonymous
2020-02-05
07:02 New ticket [df2dd68dca]. artifact: 505684acfc user: anonymous

Ticket Hash: df2dd68dcaac97e9fb5971ae6d06b5a00446e450
Title: Error: <sys/stat.h> is not compatible with MSVC
Status: Closed Type: Build Problem
Severity: Critical Priority: Immediate
Subsystem: Tcl Resolution: Open
Last Modified: 2024-05-14 19:15:01
Version Found In: 0.12.2
Description:
I created tclkit.exe in KitCreator Web Interface with the following options.
But when I executed the program, the following error was reported.

---------------------------
Fatal Error in Wish
---------------------------
<sys/stat.h> is not compatible with MSVC
---------------------------
OK   
---------------------------

KitCreator Web Interface

Status: Complete

URL: http://kitcreator.rkeene.org/kits/b00dd4f52414d34ad408e52fe27b3da50614c822/tclkit.exe

Description: Tcl 8.6.10, KitCreator 0.12.0, Platform win32, Metakit-based, Threaded, Packages: tk

User Comments:
anonymous added on 2020-06-19 02:16:40:
Here's the cause of that problem.

https://core.tcl-lang.org/tcl/whatis/797aaaf6466104ad

anonymous added on 2021-01-12 05:08:34:
According to the comment, it seems we need to build 32bit version with VC6.
If I don't have the build environment, I'd better expect Ashok to continue providing 32bit tclkit. I once used KitCreator Web interface to make the smallest tclkit (without TWAPI, with all encodings and with all TZ database.)

anonymous added on 2021-03-20 06:32:41:
problems also happens without TK.

Description: Tcl 8.6.11, KitCreator 0.12.1, Platform win32, Unthreaded, No packages

results in:

<sys/stat.h> is not compatible with MSVC
Illegal instruction

rkeene added on 2022-08-12 15:45:56:
Fixed in [b93594845d], will be in newer releases

anonymous added on 2024-05-14 17:47:38:

The issue is still present in 0.12.2 when tclX is included (and its build fails)

URL: https://kitcreator.rkeene.org/kits/d96f3129b58661050abd10a5f5f61f93e6287b8b/tclkit

Description: Tcl 8.6.12, KitCreator 0.12.2, Platform linux-i386, Unthreaded, Packages: itcl, mk4tcl, tcllib, tclx, tdom, tk

Log:

Started on Fri May 10 21:22:02 UTC 2024 Running: export KITCREATOR_PKGS=" itcl mk4tcl tcllib tclx tdom tk " Running: ./build/make-kit-linux-i386 8.6.12 --disable-threads Building tcl ... done. Building tclvfs ... done. Building zlib ... done. Building itcl ... done. Building mk4tcl ... done. Building tcllib ... done. Building tclx ... failed. Building tdom ... done. Building tk ... done. Building kitsh ... done. Failed to build: tclx WARNING: Build is likely incomplete or failed.


anonymous added on 2024-05-14 19:15:01:

Also happens for this shorter list (without tclX):

https://kitcreator.rkeene.org/kits/building/fc35e1b315dff86eb27edc5437529321ea985c18/

Description: Tcl 8.6.12, KitCreator 0.12.2, Platform win32, Unthreaded, Packages: itcl, mk4tcl, tcllib, tdom, tk

Log:

Started on Tue May 14 17:52:02 UTC 2024 Running: export KITCREATOR_PKGS=" itcl mk4tcl tcllib tdom tk " Running: ./build/make-kit-win32 8.6.12 --disable-threads Building tcl ... done. Building tclvfs ... done. Building zlib ... done. Building itcl ... done. Building mk4tcl ... done. Building tcllib ... done. Building tdom ... done. Building tk ... done. Building kitsh ... done.