eggdrop bot installation

User Rating:  / 0
  1. Eggdrop bot installation
    1. tar zxvf eggdrop1.6.19+ctcpfix.tar.gz
    2. cd to eggdrop1.6.19
    3. ./configure
      1. Some recent versions of Debian have begun shipping out with Tcl pre-compiled as threaded instead of non-threaded. The techno-babble: Up until now, eggdrop could not detect whether Tcl was compiled as threaded or not. For many years, the developers just assumed that Tcl was not threaded, as it was shipped this way with OS's nearly all the time. If eggdrop doesn't know Tcl is compiled with threads, when eggdrop tries to fork(), it hangs. Debian changed the way Tcl was compiled and distributed a while back, and as a result of not being able to detect that during the compile process, a few changes need to be made to the source to allow it to run again. Again, for the average user, what was just described won't make sense and doesn't need to, there is no advantage for eggdrop to run with threaded or non-threaded Tcl.
        1. Open the file config.h in an editor of your choice.
        2. Search for (should be around line 244)
          1. /* Define for Tcl that has threads. */
          2. /* #undef HAVE_TCL_THREADS */
        3. and replace it with
          1. /* Define for Tcl that has threads. */
          2. #define HAVE_TCL_THREADS 1
    4. Type either 'make config', 'make iconfig' to determine which modules will be compiled.
    5. 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.
    6. Eggdrop must be installed in a directory somewhere. This is accomplished by typing 'make install'.
      1. 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:
      2. make install DEST=<directory>
      3. make install DEST=/home/user/otherdir