EggDrop common issues

Here we will give short but correct answers to all your issues regarding EggDrop

Eggdrop requires Tcl and the Tcl development files to compile.


checking whether the Tcl system has changed... yes
configure: error:

Tcl cannot be found on this system.

Eggdrop requires Tcl and the Tcl development files to compile.
If you already have Tcl installed on this system, make sure you
also have the development files (common package names include
'tcl-dev' and 'tcl-devel'). If I just wasn't looking
in the right place for it, re-run ./configure using the
--with-tcllib='/path/to/libtcl.so' and
--with-tclinc='/path/to/tcl.h' options.

See doc/COMPILE-GUIDE's 'Tcl Detection and Installation' section for more
information.


Try to configure like this:
./configure --with-tclinc=/usr/include/tcl8.6/tcl.h --with-tcllib=/usr/lib/x86_64-linux-gnu/libtcl8.6.so
if that doesn`t help, than you only need to install build essential and tcl-dev:

 

Code:

apt-get install build-essential
apt-get install tcl-devel
If that doesn`t works, try this as your last chance:
instead of ./configure, use this line:
CFLAGS="-std=gnu89" ./configure --with-tclinc=/usr/include/tcl8.6/tcl.h --with-tcllib=/usr/lib/x86_64-linux-gnu/libtcl8.6.so

If these commands didn`t help, than try to understand what are you doing so you never face the same issues again.
To make sure your ./configure command is correct, you should check if the file exist in the directory the command is looking for by typing:
locate libtcl.so
whereis tcl
for libtcl you may get something like this: /usr/lib/i386-linux-gnu/libtcl.so
and for tcl like this: /usr/include/tcl8.6
which means your configure command should be:
./configure --with-tclinc=/usr/include/tcl8.6/tcl.h --with-tcllib=/usr/lib/i386-linux-gnu/libtcl.so

If this didn`t help you, than you can contact us for help.

Tcl Not Installed

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, try 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

If you REALLY think Tcl is installed

If you REALLY think you've installed Tcl properly (read XXXXXX) one more time!) and Eggdrop still can't find it on its own, you can tell Eggdrop where to look with: ./configure --with-tcllib=<path-to-tcl-lib> --with-tclinc=<path-to-tcl-inc>

If you're still not sure where the Tcl files were installed on your system, try doing a local Tcl install to your home directory.

  • 0 کاربر این را مفید یافتند
آیا این پاسخ به شما کمک کرد؟

مقالات مربوطه

UnrealIRCd common issues

Table of Content configure: error: no acceptable C compiler found in $PATH openssl binary and...

Anope IRC Services Issues

Here we will give short but correct answers to all your issues regarding Anope IRC Services...

Powered by WHMCompleteSolution