Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

83.2. tcl-9.0.4

The Tcl scripting language — the interpreter yosys and weechat embed

9.0.4-1 · TCL · 8.1 SBU · 28.3 MiB, 970 files · 41_system, 260 of 1047 · ports/core/lang/tcl

Homepage: https://www.tcl.tk/

Depends on: zlib, libtommath, tzdata.

Required by (9): bwidget, gpsman, linuxcnc, openmsx, python3-tkinter, R, tk, weechat, yosys.

Sources: tcl-9.0.4.tar.gz (11.3 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install tcl'

build.sh:

cd unix

./configure \
	--prefix=/usr \
	--libdir=/usr/lib \
	--mandir=/usr/share/man \
	--enable-64bit \
	--with-system-libtommath \
	--with-tzdata=no \
	--disable-rpath
LD_LIBRARY_PATH="$PWD${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" make
make DESTDIR=$PKG install

make DESTDIR=$PKG install-private-headers

ln -sf tclsh9.0 $PKG/usr/bin/tclsh

Programs: sqlite3_analyzer, tclsh, tclsh9.0.

Libraries: libtcl9.0.so, libtclstub.a.

Directories: /usr/lib/itcl4.3.8, /usr/lib/sqlite3.53.0, /usr/lib/tcl9, /usr/lib/tdbc1.1.13, /usr/lib/tdbcmysql1.1.13, /usr/lib/tdbcodbc1.1.13, /usr/lib/tdbcpostgres1.1.13, /usr/lib/thread3.0.6, /usr/share/licenses/tcl.