Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

KitCreator status

334 views
Skip to first unread message

David Zolli - Kroc

unread,
Jan 26, 2018, 12:30:22 PM1/26/18
to
Hi tclers,

Does somebody knows if Roy Keene still works on KitCreator?

Last changelog entry for trunk branche was made on 2017-10-18 and on 2017-08-18 for 0.10.2. That's pretty old!

--
David

Gerald Lester

unread,
Jan 26, 2018, 12:45:42 PM1/26/18
to
Yes he does.

Those dates are less than 3 and 6 months old -- what features or bugs
are out there that you think should be being actively worked on?

--
+----------------------------------------------------------------------+
| Gerald W. Lester, President, KNG Consulting LLC |
| Email: Gerald...@kng-consulting.net |
+----------------------------------------------------------------------+

Andreas Leitgeb

unread,
Jan 26, 2018, 1:57:48 PM1/26/18
to
Gerald Lester <Gerald...@KnG-Consulting.net> wrote:
> what features or bugs are out there that you think should be being actively worked on?

Allowing to select Tcl 8.6.8, with online kitcreator ;-)

David Zolli - Kroc

unread,
Jan 26, 2018, 1:58:00 PM1/26/18
to
Hi Gerald,

As you kown, I'm trying to provide up-to-date tclkit for Mac OS X: http://www.zolli.fr/tclkit-darwin.php

KitCreator 0.10.2 (and fossil-trunk) fails to build tclkit 8.6.8 while it works fine for 8.6.7 (but it works for tclkitsh-8.6.8).

It fails for Tk with a very strange error on Mac platform:

checking for tclsh in Tcl build directory... /Users/kroc/Programmation/Tcl/tclkit/kitcreator-0.10.2/tcl/build/tcl8.6.8/macosx/tclsh86
checking for tclsh... /usr/bin/tclsh8.5
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tkConfig.sh
config.status: creating wish.exe.manifest
Running: make
x86_64-w64-mingw32-gcc -c -D_WIN32_IE=0x0501 -O2 -fomit-frame-pointer -DUNICODE -D_UNICODE -D_ATL_XP_TARGETING -Wall -Wdeclaration-after-statement -I"./../generic" -I"." -I"./../xlib" -I"./../bitmaps" -I"/Users/kroc/Programmation/Tcl/tclkit/kitcreator-0.10.2/tcl/build/tcl8.6.8/generic" -I"/Users/kroc/Programmation/Tcl/tclkit/kitcreator-0.10.2/tcl/build/tcl8.6.8/win" -pipe -DTCL_BROKEN_MAINARGS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -DSTATIC_BUILD=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DMODULE_SCOPE=extern -DTCL_CFG_DO64BIT=1 -DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION=int -DNO_STRTOI64=1 -DNDEBUG=1 -DTCL_CFG_OPTIMIZED=1 -DHAVE_TCL_CONFIG_H -imacros tclConfig.h -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS -DBUILD_tk -DBUILD_ttk "./../generic/tkConsole.c" -o tkConsole.o
/bin/sh: x86_64-w64-mingw32-gcc: command not found
make: *** [tkConsole.o] Error 127
x86_64-w64-mingw32-gcc -c -D_WIN32_IE=0x0501 -O2 -fomit-frame-pointer -DUNICODE -D_UNICODE -D_ATL_XP_TARGETING -Wall -Wdeclaration-after-statement -I"./../generic" -I"." -I"./../xlib" -I"./../bitmaps" -I"/Users/kroc/Programmation/Tcl/tclkit/kitcreator-0.10.2/tcl/build/tcl8.6.8/generic" -I"/Users/kroc/Programmation/Tcl/tclkit/kitcreator-0.10.2/tcl/build/tcl8.6.8/win" -pipe -DTCL_BROKEN_MAINARGS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -DSTATIC_BUILD=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DMODULE_SCOPE=extern -DTCL_CFG_DO64BIT=1 -DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION=int -DNO_STRTOI64=1 -DNDEBUG=1 -DTCL_CFG_OPTIMIZED=1 -DHAVE_TCL_CONFIG_H -imacros tclConfig.h -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS -DBUILD_tk -DBUILD_ttk "./../generic/tkConsole.c" -o tkConsole.o
/bin/sh: x86_64-w64-mingw32-gcc: command not found
make: *** [tkConsole.o] Error 127

That's surprising because at the beginning I have:

checking for gcc... gcc
checking whether the C compiler works... yes

The very first errors I find in log is:

/Users/kroc/Programmation/Tcl/tclkit/kitcreator-0.10.2/tk/build/tk8.6.8/unix/../macosx/tkMacOSXXStubs.c:183:2: error: use of undeclared identifier 'NSOperatingSystemVersion'
NSOperatingSystemVersion systemVersion = [[NSProcessInfo processInfo] operatingSystemVersion];
/Users/kroc/Programmation/Tcl/tclkit/kitcreator-0.10.2/tk/build/tk8.6.8/unix/../macosx/tkMacOSXXStubs.c:184:10: error: use of undeclared identifier 'systemVersion'
major = systemVersion.majorVersion;
^
/Users/kroc/Programmation/Tcl/tclkit/kitcreator-0.10.2/tk/build/tk8.6.8/unix/../macosx/tkMacOSXXStubs.c:185:10: error: use of undeclared identifier 'systemVersion'
minor = systemVersion.minorVersion;
^
/Users/kroc/Programmation/Tcl/tclkit/kitcreator-0.10.2/tk/build/tk8.6.8/unix/../macosx/tkMacOSXXStubs.c:186:10: error: use of undeclared identifier 'systemVersion'
patch = systemVersion.patchVersion;
4 errors generated.
make: *** [tkMacOSXXStubs.o] Error 1

I've also found a warning:

checking errno.h usability... no
checking errno.h presence... yes
configure: WARNING: errno.h: present but cannot be compiled

As I guess TCT checked building works on Mac before releasing 8.6.8, I thought it was a KitCreator / tclkit specific error.

--
David

Gerald Lester

unread,
Jan 26, 2018, 3:54:49 PM1/26/18
to
Actually I did not know.

Have you attempted to contact Roy directly?

David Zolli - Kroc

unread,
Jan 26, 2018, 5:00:29 PM1/26/18
to
Yep, but he never answered much to emails. ;)

--
David

stefan

unread,
Jan 26, 2018, 5:01:26 PM1/26/18
to
> As I guess TCT checked building works on Mac before releasing 8.6.8, I thought it was a KitCreator / tclkit specific error.

Building 8.6.8 (tcl/tk) using KitCreator fossil trunk works just fine for me on 10.13.3 clang-900.0.39.2 by calling e.g.

./kitcreator 8.6.8

Adding 8.6.8 to the online builder would be an ease, just enlist it here: https://kitcreator.rkeene.org/fossil/artifact/c20645b03195a586

I got commit privileges, I will ask Roy whether it is okay to go ahead.

Stefan

imran.su...@gmail.com

unread,
Jan 26, 2018, 8:09:46 PM1/26/18
to
I want girl for love local girl

Gerald Lester

unread,
Jan 26, 2018, 10:16:01 PM1/26/18
to
On 01/26/2018 04:00 PM, David Zolli - Kroc wrote:
> Yep, but he never answered much to emails. ;)

I know he was under the weather for a while, he may be playing catchup
with income producing work.

David Zolli - Kroc

unread,
Jan 27, 2018, 3:25:58 AM1/27/18
to
stefan wrote:
> Building 8.6.8 (tcl/tk) using KitCreator fossil trunk works just fine for me on 10.13.3 clang-900.0.39.2 by calling e.g.
>
> ./kitcreator 8.6.8

It fails for me (same errors and warnings for 0.10.2 and fossil trunk).

Maybe that's because I'm on Mavericks 10.9.5 clang-600.0.57 ?

--
David

Christian Gollwitzer

unread,
Jan 28, 2018, 3:15:32 AM1/28/18
to
Am 26.01.18 um 19:57 schrieb David Zolli - Kroc:
> As you kown, I'm trying to provide up-to-date tclkit for Mac OS X: http://www.zolli.fr/tclkit-darwin.php
>
> KitCreator 0.10.2 (and fossil-trunk) fails to build tclkit 8.6.8 while it works fine for 8.6.7 (but it works for tclkitsh-8.6.8).
>
> It fails for Tk with a very strange error on Mac platform:
>
> checking for tclsh in Tcl build directory... /Users/kroc/Programmation/Tcl/tclkit/kitcreator-0.10.2/tcl/build/tcl8.6.8/macosx/tclsh86
> checking for tclsh... /usr/bin/tclsh8.5
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating tkConfig.sh
> config.status: creating wish.exe.manifest
> Running: make

> x86_64-w64-mingw32-gcc

That means you are trying to cross-compile for 64 bit Windows from OSX,
and that this specific crosscompiler is not installed. I have no
knowledge of the inner workings of KitCreator, but assuming you want to
build for OSX, instead of "x86_64-w64-mingw32-gcc" you should see either
"gcc" or "clang". Maybe you can tell KitCreator somehow explicitly that
it should use the native compiler?

Christian

David Zolli - Kroc

unread,
Jan 28, 2018, 4:02:36 AM1/28/18
to
Hi Christian,

I use exactly the same context I use witeh success for previous tclkit versions I built:

export KITCREATOR_PKGS="tk itcl mk4tcl"
export KITCREATOR_MINENCODINGS=1
export KITCREATOR_MINBUILD=1
exec ./kitcreator 8.6.8 --enable-64bit --enable-aqua --enable-kit-storage=mk4

This shouldn't try to compile for win64.

--
David

stefan

unread,
Jan 29, 2018, 6:50:13 AM1/29/18
to
> export KITCREATOR_PKGS="tk itcl mk4tcl"
> export KITCREATOR_MINENCODINGS=1
> export KITCREATOR_MINBUILD=1
> exec ./kitcreator 8.6.8 --enable-64bit --enable-aqua --enable-kit-storage=mk4

Works for me just fine (in the above setting). As Christian pointed out, the log you posted looks irritating (x-compiling?). If it helps, I can post the resulting tclkit for your convenience? Roy has not responded so far. (the Mac OS X build machine running behind the online configurator is identical to my setup.)

Stefan

David Zolli - Kroc

unread,
Jan 29, 2018, 10:15:01 AM1/29/18
to
Hi Stefan,

Thanks for your answer.

If I understand correctly the build script inside KitCreator, there is a kind of foreach loop trying to compile all platforms in some cases (tk/build.sh line 182):

for dir in "${TCLCONFIGDIRTAIL}" unix win macosx win64 __fail__; do

It seems I fall in this loop for some unkown reasons. As win64 is the last one, that's what I see the eroor I pasted at the end of my log file (but all other cases are logged before).

I think KitCreator fails to build 8.6.8 for me because I run it on an older Mac OS X version than you. I think it fails because something unsupported by clang-600.0.57 was added in source code between 8.6.7 and 8.6.8.

Anyway, I'll wait and see if TCT or Roy could (and want to) fix this. If they don't, I'll simply stop to keep my tclkit page updated.

--
David

Aldo Buratti

unread,
Feb 4, 2018, 6:16:19 PM2/4/18
to
KitCreator updated. Now supporting TclTk 8.6.8. ( It works for MacOS builds ),

jsunth...@gmail.com

unread,
Feb 5, 2018, 3:38:04 AM2/5/18
to
On Sunday, February 4, 2018 at 6:16:19 PM UTC-5, Aldo Buratti wrote:
> KitCreator updated. Now supporting TclTk 8.6.8. ( It works for MacOS builds ),

Huzzah! Thanks to all involved!

David Zolli - Kroc

unread,
Feb 5, 2018, 12:19:41 PM2/5/18
to
Le lundi 5 février 2018 00:16:19 UTC+1, Aldo Buratti a écrit :
> KitCreator updated. Now supporting TclTk 8.6.8. ( It works for MacOS builds ),

Hi Aldo,

I downloaded last trunk version but it still fail to build Tk on Mavericks:

gcc -c -Os -pipe -Wall -fno-common -DBUILD_tk -I/Users/kroc/Programmation/Tcl/tclkit/kitcreator-trunk-tip/tk/build/tk8.6.8/macosx/../unix -I/Users/kroc/Programmation/Tcl/tclkit/kitcreator-trunk-tip/tk/build/tk8.6.8/macosx/../generic -I/Users/kroc/Programmation/Tcl/tclkit/kitcreator-trunk-tip/tk/build/tk8.6.8/macosx/../bitmaps -I/Users/kroc/Programmation/Tcl/tclkit/kitcreator-trunk-tip/tcl/build/tcl8.6.8/generic -I/Users/kroc/Programmation/Tcl/tclkit/kitcreator-trunk-tip/tcl/build/tcl8.6.8/unix -I/Users/kroc/Programmation/Tcl/tclkit/kitcreator-trunk-tip/tk/build/tk8.6.8/macosx/../macosx -I/Users/kroc/Programmation/Tcl/tclkit/kitcreator-trunk-tip/tk/build/tk8.6.8/macosx/../xlib -DHAVE_TK_CONFIG_H -imacros tkConfig.h -DTCL_NO_DEPRECATED -std=gnu99 -x objective-c -DUSE_TCL_STUBS /Users/kroc/Programmation/Tcl/tclkit/kitcreator-trunk-tip/tk/build/tk8.6.8/macosx/../macosx/tkMacOSXXStubs.c
/Users/kroc/Programmation/Tcl/tclkit/kitcreator-trunk-tip/tk/build/tk8.6.8/macosx/../macosx/tkMacOSXXStubs.c:183:2: error: use of undeclared identifier 'NSOperatingSystemVersion'
NSOperatingSystemVersion systemVersion = [[NSProcessInfo processInfo] operatingSystemVersion];
^
/Users/kroc/Programmation/Tcl/tclkit/kitcreator-trunk-tip/tk/build/tk8.6.8/macosx/../macosx/tkMacOSXXStubs.c:184:10: error: use of undeclared identifier 'systemVersion'
major = systemVersion.majorVersion;
^
/Users/kroc/Programmation/Tcl/tclkit/kitcreator-trunk-tip/tk/build/tk8.6.8/macosx/../macosx/tkMacOSXXStubs.c:185:10: error: use of undeclared identifier 'systemVersion'
minor = systemVersion.minorVersion;
^
/Users/kroc/Programmation/Tcl/tclkit/kitcreator-trunk-tip/tk/build/tk8.6.8/macosx/../macosx/tkMacOSXXStubs.c:186:10: error: use of undeclared identifier 'systemVersion'
patch = systemVersion.patchVersion;
^
4 errors generated.
make: *** [tkMacOSXXStubs.o] Error 1

Thanks anyway for your work.

--
David

David Zolli - Kroc

unread,
Feb 5, 2018, 12:26:57 PM2/5/18
to
I Googled about NSOperatingSystemVersion and according this page:

https://developer.apple.com/documentation/foundation/nsoperatingsystemversion

Is available on macOS 10.10+ SDK only.

So it seems Tk 8.6.8 can't be built on Mavericks anymore. :(

--
David

Torsten

unread,
Feb 5, 2018, 2:27:34 PM2/5/18
to
I created an 8.6.8 tclkit via the Web Interface and bundled my application with the same procedure that worked for 8.6.7. The Finder refuses to start the app bundled with 8.6.8 because it would require version 10.13 and I am running 10.12.6.

I can start the app from a command line and it works!
Why does the Finder thinks it can not run the application?

Aldo Buratti

unread,
Feb 5, 2018, 5:16:48 PM2/5/18
to
I'm working with MacOS 10.13 (high Sierra).
I've just created a tcltk kit 8.6.8 (via the online web interface), then I bundled an app (see Pix : http://wiki.tcl.tk/54800 ).
Please let me now if it works with an outdated MacOS.

Aldo

David Zolli - Kroc

unread,
Feb 6, 2018, 10:04:41 AM2/6/18
to
> Please let me now if it works with an outdated MacOS.
>
> Aldo

Hi Aldo,

It works fine for me on Mavericks (10.9.5) both from Finder or command line.

--
David

Christian Gollwitzer

unread,
Feb 6, 2018, 3:15:32 PM2/6/18
to
Am 06.02.18 um 16:04 schrieb David Zolli - Kroc:
I've also just compiled kbskit with all included packages and uploaded
it here:

http://auriocus.de/kbs0.4.10/

It was compiled on Sierra, but with compatibility options back for 10.7.
It should work on Mavericks, maybe you want to test it. The -bi version
includes a lot of packages along with the basic Tcl.

Christian

Torsten

unread,
Feb 7, 2018, 1:53:59 PM2/7/18
to
Hi Aldo, hi David,

Thanks, but not for me. The Finder refuses to run it, from the command line it's ok.
I'm using a Mac mini (End 2012). I'm not a frequent Mac user, I only borrow it regularly to build my application also for macOS.
What else can I try to find out what's wrong? Is there any Finder log file where I could find more information?

David Zolli - Kroc

unread,
Feb 8, 2018, 11:05:35 AM2/8/18
to
Hi Torsten,

The only idea I have was to check if system security is well set:

- Open System Preferences

- Go to Security (first row)

- Check you can run app from everywhere (only Mac App Store apps are enabled by default, if I remember correctly).

--
David

Aldo Buratti

unread,
Feb 13, 2018, 5:22:50 PM2/13/18
to
Probably it's a security issue.

You can try with these steps:
* locate the app in Find
* right-click and select 'Open'
Now the app is saved as an exception to your security settings, and you can open it in the future by double-clicking it, just as you can any authorized app.

Torsten

unread,
Feb 14, 2018, 1:31:48 PM2/14/18
to
None of the hints helped. I solved the issue by updating to High Sierra.

There is also an issue with the 8.6.8 builds for Linux: They miss Xft, so most of the fonts are not available.
0 new messages