cool 1 easy thing to do
cp the files to /usr from /usr/local
then ldconfig
presto working tcl
to know if you need to do this try to rune a eggdrop if it says something like can not connect to data base error [ 127 ] i believe then this is right for you ...
This method should work everywhere:
1. Download and compile tcl in your home directory:
cd tcl8.x.x/unix
./configure --prefix=/home/your_login/tcl
make
make install
2. Export shell variables (it depends on shell which your using, i'm using bash):
export PATH="$PATH:/home/your_login/tcl/bin"
export LD_LIBRARY_PATH="/home/your_login/tcl/lib"
(those lines can be added to .bashrc)
Eggdrop should now compile and start without problems. If configure will warn about missing tcl libraries and headers add --with-tclib=/home/your_login/tcl/lib --with-tclinc=/home/your_login/tcl/include
that is, better install TCL libs in standard places; the only one you'd have write access to if you aren't admin would be ~/lib; thus you won't have to add non-standard binary location to your PATH (usually, ~/bin is already included)
Well, in bash you can also use $HOME variable to get your home directory. Sometimes it is not possible to install Tcl in standard location, admin dont like it, or don't want to upgrade Tcl, when user for example need newest version of libraries. I did not used ~/ as home directory path, becase some scripts, program don't recognize it properly.