Difference between revisions of "Comment compiler Eggdrop"

From Base de connaissances eggdrops & TCL
Jump to: navigation, search
(need update)
Line 2: Line 2:
!! neceiste dune mise a jour version actuel -> 1.9.2 !!
== How to compile Eggdrop {{LSR/Eggdrop}} ==
== How to compile Eggdrop {{LSR/Eggdrop}} ==

Latest revision as of 20:12, 19 March 2022

Eye.png Cet article est en cours de traduction, n'hésitez pas à aider

!! neceiste dune mise a jour version actuel -> 1.9.2 !!

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.

Obtaining Eggdrop

There are many different versions of Eggdrop available for download from various websites. eggheads.org and ftp.eggheads.org 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:

wget http://www.geteggdrop.com/

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.
 To change the maximum handle length you can specify a new length between 9 and 32 inclusive.
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

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>

For example:

make install DEST=/home/luser/otherdir

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