Updated 2012-05-08 23:21:55 by AMG
 ## before running this script install wget rlwrap gcc gmake unzip > this version for openbsd 5.1 amd64

 mkdir /home/apps
 cd /home/apps
 wget http://prdownloads.sourceforge.net/tcl/tcl8.6b2-src.tar.gz
 tar xzf tcl8.6b2-src.tar.gz
 cd tcl8.6b2/unix/
 ./configure --prefix=/home/apps/tcl && gmake && gmake install
 cd /home/apps
 wget http://downloads.sourceforge.net/project/tcllib/tcllib/1.14/tcllib-1.14.zip
 unzip tcllib-1.14.zip
 cd tcllib-1.14
 /home/apps/tcl/bin/tclsh8.6 installer.tcl
 echo  'rlwrap /home/apps/tcl/bin/tclsh8.6' > /usr/local/bin/tcl
 chmod 755 /usr/local/bin/tcl

 ### answer yes to the install tcllib question, and check your new install!
 $  tcl
 % info patchlevel