Archive for the ‘Tech Tips’ Category

How to compile eggdrop on Ubuntu 14.04.1 LTS "trusty"

August 8th, 2014 2 comments

It's been a while. Updates? I'm going to try to post more, and I also put the entire site on SSL. I've switched hosts to Linode as well. Isn't that amazing?

Back to compiling eggdrop. When it gives that annoying paragraph:

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/' and --with-tclinc='/path/to/tcl.h' options.

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

Install these 2 packages (and let the dependencies also install), and then this configure string works. For some reason, we no longer have a plain old, and eggdrop requires BOTH of these options to be provided or neither one works...

sudo apt-get install -y libtcl8.5 tcl8.5-dev
./configure --with-tcllib=/usr/lib/x86_64-linux-gnu/ --with-tclinc=/usr/include/tcl8.5/tcl.h

Oh yeah, this does assume you're running x86_64. Because there's really no reason you wouldn't be anymore.

Categories: Tech Tips