Hi Bob,
yes, you can use Caius on CentOS, but it requires some extra work.
Caius requires Tcl 8.6, but CentOS 6 (and it seems also 7) only ships Tcl 8.5 and not all dependencies are available.
You can backport recent versions of Tcl, tcllib, tdom and Expect from Fedora.
Try this at your own risk!
Install the "development tools" group:
yum groupinstall "Development Tools"
Install some extra build dependencies for Tcl:
yum install zlib-devel expat-devel libx11-devel libXft-devel chrpath gdbm-devel
Download relevant Tcl source packages from Fedora:
mkdir ~/srpms
cd ~/srpms
wget http://fedora.aau.at/linux/releases/23/Everything/source/SRPMS/t/tcl-8.6.4-1.fc23.src.rpm
wget http://fedora.aau.at/linux/releases/23/Everything/source/SRPMS/t/tcllib-1.17-1.fc23.src.rpm
wget http://fedora.aau.at/linux/releases/23/Everything/source/SRPMS/t/tdom-0.8.2-19.fc23.src.rpm
wget http://fedora.aau.at/linux/releases/23/Everything/source/SRPMS/t/tk-8.6.4-2.fc23.src.rpm
wget http://fedora.aau.at/linux/releases/23/Everything/source/SRPMS/e/expect-5.45-20.fc23.src.rpm
wget http://fedora.aau.at/linux/releases/23/Everything/source/SRPMS/i/itcl-4.0.3-3.fc23.src.rpm
First build Tcl itself:
cd ~/srpms
rpmbuild --rebuild tcl-8.6.4-1.fc23.src.rpm
Install the resulting packages to the system:
cd ~/rpmbuild/RPMS/x86_64/
rpm -Uvh tcl-8.6.4-1.el6.x86_64.rpm tcl-devel-8.6.4-1.el6.x86_64.rpm
Now build Tk:
cd ~/srpms
rpmbuild --rebuild tk-8.6.4-2.fc23.src.rpm
Again install the packages to the system:
cd ~/rpmbuild/RPMS/x86_64/
rpm -Uvh tk-8.6.4-2.el6.x86_64.rpm tk-devel-8.6.4-2.el6.x86_64.rpm
Then continue building the remaining packages:
cd ~/srpms
rpmbuild --rebuild tcllib-1.17-1.fc23.src.rpm
rpmbuild --rebuild tdom-0.8.2-19.fc23.src.rpm
rpmbuild --rebuild expect-5.45-20.fc23.src.rpm
rpmbuild --rebuild itcl-4.0.3-3.fc23.src.rpm
Install tcllib:
cd ~/rpmbuild/RPMS/noarch
rpm -Uvh tcllib-1.17-1.el6.noarch.rpm
Install tdom, Expect and Itcl:
cd ~/rpmbuild/RPMS/x86_64/
rpm -Uvh tdom-0.8.2-19.el6.x86_64.rpm expect-5.45-20.el6.x86_64.rpm \
itcl-4.0.3-3.el6.x86_64.rpm
Now the last thing missing is the Thread package. I didn't find an SRPM of a recent version,
so compiling from source will have to do for now:
wget http://downloads.sourceforge.net/project/tcl/Thread%20Extension/2.7.3/thread2.7.3.tar.gz
tar xvf thread2.7.3.tar.gz
cd thread2.7.3
./configure \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--sysconfdir=/etc \
--datadir=/usr/share \
--includedir=/usr/include \
--libdir=/usr/lib64/tcl8.6 \
--libexecdir=/usr/libexec \
--localstatedir=/var \
--sharedstatedir=/var/lib \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--enable-threads
make install
After all this, Caius should install fine using the "install.tcl" script in the
source distribution.
Best regards,
Tobias