Comment compiler Eggdrop
How to compile Eggdrop 1.6.21
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 for instructions.
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.21.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.21'
- Type './configure' from the Eggdrop's source directory. Some of the options that can be given to './configure' are explained below.
--with-handlen=32 To change the maximum handle length you can specify a new length between 9 and 32 inclusive.
--enable-strip 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.
--disable-tcl-threads This disables support for Tcl threads.
--with-tcllib --with-tclinc See I. Tcl Detection and Installation
Any error messages during ./configure? See Troubleshooting/configure
- Type either 'make config', 'make iconfig' to determine which modules will be compiled.
- Type 'make' from the Eggdrop source 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.
Any error messages during make? See Troubleshooting/make
- Eggdrop must be installed in a directory somewhere. This is accomplished by typing 'make install'.
This will install the Eggdrop in a directory called 'eggdrop' inside your home directory (i.e. /home/user/eggdrop).
If you want to install to a different directory, use:
make install DEST=<directory>
make install DEST=/home/luser/otherdir
Note: For an even more detailed compilation, please visit Setting up an Eggdrop on egghelp.org.