For full text search on postgresql, best best is to use the postgresql-contrib package that comes with the various distributions and use tsearch2. This works great on debian. I am working on automatic install of tsearch2 based on various default install locations of RPM, DEB and a default source install of Postgresql.
Debian Tcl is thread enabled by default at least.