Tcl Not Installed: Difference between revisions

From EggWiki
Jump to navigation Jump to search
(Created page with "When compiling, you see this error: checking for Tcl configuration... configure: error: Can't find Tcl configuration definitions. Use --with-tcl to specify a directory containing tclConfig.sh This means either Tcl is not installed on your machine, or it is installed to a location that Eggdrop doesn't know to look in. == If Tcl is not installed == If you are the administrator of the machine, install both the Tcl AND Tcl development packages. On Debian-derived OSs, th...")
 
No edit summary
Line 12: Line 12:


If you are not the administrator, ask the administrator to install the packages, or you can try [[Installing_Tcl_Locally|installing Tcl locally]]
If you are not the administrator, ask the administrator to install the packages, or you can try [[Installing_Tcl_Locally|installing Tcl locally]]
Once you have installed Tcl, [[https://www.eggheads.org/setup|try installing Eggdrop again]]


== If Tcl is installed ==
== If Tcl is installed ==

Revision as of 03:57, 20 February 2022

When compiling, you see this error:

 checking for Tcl configuration... configure: error: Can't find Tcl configuration definitions. Use --with-tcl to specify a directory containing tclConfig.sh

This means either Tcl is not installed on your machine, or it is installed to a location that Eggdrop doesn't know to look in.

If Tcl is not installed

If you are the administrator of the machine, install both the Tcl AND Tcl development packages. On Debian-derived OSs, this usually means running something similar to

 sudo apt-get install tcl tcl-dev

Use your OS package manager to find the correct package name.

If you are not the administrator, ask the administrator to install the packages, or you can try installing Tcl locally

Once you have installed Tcl, [installing Eggdrop again]

If Tcl is installed

First- seriously, is it really installed? You need the development files too, not just the base Tcl install. If you're super sure it is, you can use ./configure flags to tell Eggdrop where to look for the development files. If you run ./configure --help, you'll see:

 --with-tcllib=PATH      full path to Tcl library (e.g. /usr/lib/libtcl8.6.so)
 --with-tclinc=PATH      full path to Tcl header (e.g. /usr/include/tcl.h)

These are the flags you want to set. So if your Tcl install placed libtcl8.6.so in /home/geo/tcl/usr/lib/libtcl8.6.so and tcl.h in /home/geo/usr/include/tcl.h, you would want to run your ./configure as:

 ./configure --with-tcllib=/home/geo/tcl/usr/lib --with-tclinc=/home/geo/tcl/usr/include