This text is about how to download, compile and install TekUI window manager.
Requirements: Linux system, Lua 5.4.
I'm using following script to download and install TekUI.
#!/bin/bash
## Installs "tekUI" widgets kit v1.12.
##
## tekUI home page: http://tekui.neoscientists.org/
##
## Requirements
##
## Linux
## Lua v5.4
##
## Usage
##
## Just run.
##
## 99% there will be compilation error.
## Look for specific message.
## Then uncomment following line.
##
## Test
##
## lua -l tek.ui
##
## Last checked
##
## 2024-02-26 (LinuxMint 21, Lua 5.4)
##
url="http://tekui.neoscientists.org/releases/tekui-1.12-r1.tgz"
cd /tmp
curl -R -O $url
tar zxf $(basename $url)
cd $(basename $url .tgz)
sudo make LUAVER=5.4 all install clean
## fatal error: stdio.h: No such file or directory
# sudo apt install build-essential
## fatal error: X11/X.h: No such file or directory
# sudo apt install libx11-dev
## fatal error: X11/Xft/Xft.h: No such file or directory
# sudo apt install libxft-dev
## fatal error: ft2build.h: No such file or directory
# sudo ln -s /usr/include/freetype2/freetype /usr/include/freetype
# sudo ln -s /usr/include/freetype2/ft2build.h /usr/include/ft2build.h
## fatal error: X11/extensions/XShm.h: No such file or directory
# sudo apt install libxext-dev
## /usr/bin/ld: cannot find -lXxf86vm
# sudo apt install libxxf86vm-dev
Most likely sudo make
will fail with one of errors. Look for specific error in commented tail of script, uncomment next block, rerun.
lua -l tek.ui
sudo rm -rf /usr/local/lib/lua/5.4/tek
sudo rm -rf /usr/local/share/lua/5.4/tek