tce-load -i compiletc tcl8.6-dev https://sourceforge.net/projects/expect/files/Expect/5.45.4/expect5.45.4.tar.gz/download cd expect5.45.4 cp configure configure.orig sed 's:/usr/local/bin:/bin:' configure.orig > configure CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti " ./configure --prefix=/usr/local --disable-static --localstatedir=/var find . -name Makefile -type f -exec sed -i 's/-O2//g' {} \; make [0m 4.63s] sudo make SCRIPTS="" install checking for Tcl private include files... configure: error: Cannot find private header tclInt.h in /mnt/sda1/lamp64/build/tcl8.6.10