Here we will see how to install Tkabber and the required dependencies on different operating systems and distributions.
We will suppose you have administrative privileges on the machine (for installing packages) and a minimum knowledge in dealing with your operating system (or interest in learning :).
This tutorial will include instructions for installing the different packages on different systems. Contributions are welcome.
If you find errors, problems or want to contribute please add a comment.
Shorcuts
On some distributions there are shortcuts you can take to install programs in a fast way.
using apt
apt-get install tkabber
using emerge
emerge tkabber
Complete process
-
Install Tcl
from source
using apt
apt-get install tcl
using rpm on Mandrake
urpmi tcl sudo ln -s /usr/lib/tclConfig.sh /usr/lib/tcl8.4 sudo ln -s /usr/lib/tclxConfig.sh /usr/lib/tcl8.4 sudo ln -s /usr/include/tcl8.4.5/generic/tcl.h /usr/include/tcl8.4.5/
tclsh % exit
-
Install Tk
from source
using apt
apt-get install tk
using rpm on Mandrake
urpmi tk sudo ln -s /usr/lib/tkConfig.sh /usr/lib/tk8.4 sudo ln -s /usr/lib/tkxConfig.sh /usr/lib/tk8.4 sudo ln -s /usr/include/tk8.4.5/generic/tk.h /usr/include/tk8.4.5/
tclsh % package require Tk 8.6 % exit
-
Install BWidget
from source
Download the package from Sourceforge. Now uncompress it:
tar -xzvf BWidget-1.9.8.tar.gz
You must know where Tcl is installed. Type this to get a clue:whereis tcl tcl: /usr/lib/tcl8.6 /usr/include/tcl8.6
If it gives you multiple paths, select the one that contains the 'lib' word. Now copy the directory:cp -fR BWidget-1.9.8/ /usr/lib/tcl8.6/
using apt
apt-get install bwidget
tclsh % package require BWidget 1.9.8
-
Install Tcllib
from source
using apt
apt-get install tcllib
using rpm on Mandrake
urpmi tcllib
tclsh % package require uri 1.2.4
-
Install Tkabber
from official package
First you must download the package from the Download page. Now uncompress it:
tar -Jxf tkabber-1.1.tar.xz
And finally install it:cd tkabber-1.1 make install
from Fossil
To download Tkabber from the Tkabber's Fossil repository:
fossil clone https://chiselapp.com/user/sgolovan/repository/tkabber tkabber.fossil fossil clone https://chiselapp.com/user/sgolovan/repository/tclxmpp tclxmpp.fossil mkdir tkabber cd tkabber fossil open ../tkabber.fossil mkdir tclxmpp cd tclxmpp fossil open --nested ../../tclxmpp.fossil
You will find a directory on the same folder you ran the commands. Now you can follow the general instructions for completing the installation.using apt
apt-get install tkabber
Other libs?
Tkabber itself is not a problem, but additional stuff -- tkXwin bites me. Everything up to make install works fine, but following test fails:
$ tclsh
% package require tkXwin
I'm runnding on Debian stable and use ./configure --prefix=/usr/local/stow/tkXwin --add-the-messy-paths-to-tcl
then I "stow" that, so libraries appear in /usr/local/lib/.
Any clues? (Setup some paths?)
Read other tutorials on the T
Read other tutorials on the Tkabber Book. There's one about TkXwin.
I've read them. I do everythi
I've read them. I do everything the same way, except using --prefix=/usr/local/stow/tkXwin and then stowing that, so I can easily manage installed programs...
MDK install
Going through the tutorials again .. here are the Mandrake commands..
1.
urpmi tcl
2.
urpmi Tk
3.
Follow the source example.
4.
urpmi tcllib
5.
Follow the source example.
MDK install
Forgot to mention the relinks
sudo ln -s /usr/lib/tclConfig.sh /usr/lib/tcl8.4
sudo ln -s /usr/lib/tclxConfig.sh /usr/lib/tcl8.4
sudo ln -s /usr/lib/tkConfig.sh /usr/lib/tk8.4
sudo ln -s /usr/lib/tkxConfig.sh /usr/lib/tk8.4
sudo ln -s /usr/include/tcl8.4.5/generic/tcl.h /usr/include/tcl8.4.5/
sudo ln -s /usr/include/tk8.4.5/generic/tk.h /usr/include/tk8.4.5/
Gentoo Shortcut
emerge tkabber