Tcl 8.5.8
Enter the directory where source files of Tcl are located (<TCL_SRC_DIR>).
cd <TCL_SRC_DIR>/unix
Run configure command.
./configure [--enable-64bit] --enable-gcc --enable-shared
--enable-threads --prefix=<TCL_INSTALL_DIR>
If configure command is finished successfully, perform building process.
make
If building is finished successfully, perform installation of Tcl. All binary and other files of the Tcl product will be put into the directory specified by <TCL_INSTALL_DIR>.
make install
Tk 8.5.8
Enter the directory where source files of Tk are located (<TK_SRC_DIR>).
cd <TK_SRC_DIR>/unix
Run configure command, where <TCL_LIB_DIR> should be specified as <TCL_INSTALL_DIR>/lib.
./configure [--enable-64bit] --enable-gcc --enable-shared
--enable-threads --with-tcl=<TCL_LIB_DIR>
--prefix=<TK_INSTALL_DIR>
If configure command is finished successfully, perform building process.
make
If building is finished successfully, perform installation of Tk. All binary and other files of Tk product will be put into the directory specified by <TK_INSTALL_DIR> (usual approach is to specify <TK_INSTALL_DIR> same as <TCL_INSTALL_DIR>).
make install
TclX 8.4.0
Enter the directory where source files of TclX are located (<TCLX_SRC_DIR>).
cd <TCLX_SRC_DIR>
Run configure command, where <TCL_LIB_DIR> should be specified as <TCL_INSTALL_DIR>/lib and <TK_LIB_DIR> should be specified as <TK_INSTALL_DIR>/lib.
./configure [--enable-64bit] --enable-gcc --enable-shared
--enable-threads --with-tcl=<TCL_LIB_DIR>
--with-tk=<TK_LIB_DIR> --prefix=<TCLX_INSTALL_DIR>
If configure command is finished successfully, perform building process.
make
If building is finished successfully, perform installation of TclX. All binary and other files of TclX product will be put into the directory specified by <TCLX_INSTALL_DIR> (usual approach is to specify <TCLX_INSTALL_DIR> same as <TCL_INSTALL_DIR>).
make install