Almost the same as README

TEA can be built in two modes. The original one requires only GTK+ 2.4 (or higher) and libAspell (optionally). The second mode is more advanced. To enable it, use:
./configure --enable-chai
This mode activates using of GtkSourceView library and some other GNOME-related libs - GnomeVFS and LibGconf (modern versions).

Why two modes? It allows to build TEA at distros, where GtkSourceView is not installed (for example on some live-CD's). What is a difference between modes? With GtkSourceView TEA has a better syntax highlighting and an access to GtkSourceView features (the visible right margin, etc.)  

If you want the Aspell support (for spell-cheking), you need to install the libaspellXX-devel package (where XX is the number of version) before you run ./configure. And what about the version? The modern one - that is the answer.

To install TEA:

./configure or ./configure --enable-chai 
make
make install

To uninstall:

make uninstall

Notes:

1. If you want the Aspell support (for spell-cheking), you should install libaspellXX-devel package (where XX is the number of version) before you run ./configure. And what about the version? The modern one - that is the answer.

2. If you are not the Debian-package maintainer, do not use the "--enable-debian" option for the configure-script. So if you have Debian, and want to build TEA from the source, run the ./configure without parameters.