How to compile Eggdrop

From Eggdrop Wiki

Revision as of 23:09, 22 May 2009 by Thommey (Talk | contribs)
Jump to: navigation, search


How to compile Eggdrop 1.6.19+ctcpfix

Installing Eggdrop is a relatively simple process provided your shell has the required tools for successful compilation. Below is a step by step guide to the installation process. These instructions apply to 1.6 bots. Suggestions are by various contributors.

Make sure you already have TCL installed on your shell. Check out Installing TCL locally in your shell for instructions.

Obtaining Eggdrop

There are many different versions of Eggdrop available for download from various websites. and are the official sites for the latest
releases of Eggdrop 1.6.

Easiest way to download directly to your shell is using the command wget:


Standard compile process (Linux, FreeBSD, NetBSD, OpenBSD, etc)

First thing you should do is SSH to your shell and unzip the .tar.gz file you’ve downloaded with this command:

tar zxvf eggdrop1.6.19+ctcpfix.tar.gz
  • NOTE: Do not change the name of this directory to 'eggdrop' for simplicity. I'm not kidding.
  • Change to the newly created directory by typing 'cd eggdrop1.6'
  • Type './configure' from the Eggdrop's source directory. Some of the options that can be given to './configure' are explained below.

If you want to create a smaller binary, you can use this option. HOWEVER, this will remove debugging symbols
and make bug reports almost completely useless, and is not recommended. If disk space is very limited, however, it might help to
enable this.

This disables support for Tcl threads.

See I. Tcl Detection and Installation

  • Type either 'make config', 'make iconfig' to determine which modules will be compiled.

  • Type 'make' from the Eggdrop directory, or to force a statically linked module bot, type 'make static'. Otherwise, the Makefile will use whatever type of compile the configure script determined your system will support. Dynamic is always the better way to go if possible. You can force a dynamic build with 'make eggdrop'. There are also the 'debug' and 'sdebug' (static-debug) options, which will give more detailed output on a crash. This will help the development team track down the crash and fix the bug. Debug and sdebug will take a little longer to compile and will enlarge the binary a bit, but it’s worth it if you want to support Eggdrop development.

  • Eggdrop must be installed in a directory somewhere. This is accomplished by typing 'make install'.

This will install the Eggdrop in your home directory in a directory called 'eggdrop' (i.e. /home/user/eggdrop).

If you want to install to a different directory, use:

make install DEST=<directory>

For example:

make install DEST=/home/user/otherdir

Note: For an even more detailed compilation, please visit Setting up an Eggdrop on

Personal tools