I. Tcl Detection and Installation
If ./configure does not correctly detect the location of your Tcl
library and header file, or if you experience errors related to Tcl
during linking, preform these steps:
1. Depending on what shell your using:
bash/ksh:
export LD_LIBRARY_PATH=<path to DIRECTORY containing Tcl library>:${LD_LIBRARY_PATH}
csh/tcsh/tclsh:
setenv LD_LIBRARY_PATH <path to DIRECTORY containing Tcl library>:${LD_LIBRARY_PATH}
Note that some OS's use a different environment variable to tell
ld where to look for a library. See the notes for your specific OS
above (if applicable).
2. Run the following command from your Eggdrop compilation directory
(this is all one command):
./configure --with-tclinc='<full path to tcl.h>'
--with-tcllib='<full path to Tcl library>'
3. Continue compiling the bot as outlined in Section A., starting
with 'make config'.
If you do not have Tcl installed on your system, you can compile it in
your /home directory. Download Tcl from Tcl's SourceForge project page
at
http://www.sourceforge.net/projects/tcl/, or from ActiveState at
ftp://tcl.activestate.com/pub/tcl/tcl8_4/. Read Tcl's README file for
help with compiling and installing it. After you compile Tcl, follow
the steps above to allow Eggdrop to detect Tcl.