TCL/TK for Ubuntu(2011.9.14,2012.3.22)

1.enable su command

From the terminal, do
sudo passwd root
that sets up root password. Then do
su
, and do the following.

2. apt-get

Install packages.
apt-get install m4
apt-get install autoconf automake
apt-get install vim
apt-get install libgmp3-dev
apt-get install tcl8.5
apt-get install tcl8.5-dev
apt-get install tk8.5
apt-get install tk8.5-dev
apt-get install libxmu-dev
OpenGL packages.For ubuntu11.04
apt-get install libglut3
apt-get install libglut3-dev
However, for ubuntu11.10 you can
apt-get install freeglut3
apt-get install freeglut3-dev

3.ubuntu11.10

ubuntu11.10 causes some errors in the compile of small scheme.
You must change the file "ss200/src/configure.in".
In this file, you can find the line
CFLAGS=""
and change this line as
CFLAGS="-Wl,--no-as-needed"
and then do
cd ss200
./ss-install /usr

4. GMP

GNU MP package is included in recent ubuntu distributions(libgmp3c2).
The above libgmp3-dev is the dev package.
If your system has no GMP package, you can compile it from the GMP source.
Download the GMP source, and do
./configure --prefix=/usr
make
sudo make install
as usual.