Register | Login | Projects | Site map | About

? Search ? Romana ?

all

How to compile an eggdrop

Recommendations

Troubles

  • TCL was not found


  • The first thing to do is to choose the favourite package manager to install tcl and tcl-dev/tcl-devel. Every Linux distro provides such a package manager and it's the easiest way to have the application install. Some examples of package managers on some distros and install commands:

    • Ubuntu/Debian: apt-get install tcl8.5
    • SuSE: zypper in tcl
    • Redhat/Fedora: yum install tcl* (you should also run 'yum install tcl-devel', of course, without the quotes)

    TCL can be installed as root (which means that you have superuser access). If you do not have superuser access then check out below for local install:

    • wget http://www.sfr-fresh.com/unix/misc/tcl8.5.11-src.tar.gz
    • tar -zxf tcl8.5.11-src.tar.gz
    • cd tcl8.5.11/unix
    • ./configure --prefix=/usr/local --enable-threads --enable-shared
    • make
    • make test
    • make install
    • Go back to your eggdrop source's directory & type the following commands:
    • make clean
    • ./configure --with-tcllib=$HOME/local/lib/libtcl8.5.so --with-tclinc=$HOME/local/include/tcl.h
    • Continue with eggdrop installation

    TCL installed as local user:

    • wget http://www.sfr-fresh.com/unix/misc/tcl8.5.11-src.tar.gz
    • tar -zxf tcl8.5.11-src.tar.gz
    • cd tcl8.5.11/unix
    • ./configure --prefix=$HOME/local
    • make
    • make install
    • Go back to your eggdrop source's directory & type the following commands:
    • make clean
    • ./configure --with-tcllib=$HOME/local/lib/libtcl8.5.so --with-tclinc=$HOME/local/include/tcl.h
    • Continue with eggdrop installation

    Although, you might be getting an error like this 'error while loading shared libraries: libtcl8.5.so: cannot open shared object file.'.The solution is to use this command (and also add it to the ~/.bashrc file):

    • export LD_LIBRARY_PATH=$HOME/local/lib:${LD_LIBRARY_PATH}


  • configure: error: no acceptable C compiler found in $PATH
  • error: 'Tcl_Interp' has no member named 'result'
  • /usr/bin/install: cannot stat `eggdrop': No such file or directory
  • strip terminated with signal 6
  • Handle too short when adding users on networks with nicks longer than 9 chars
  • make: Permission denied
  • * The BOT doesn't appear on IRC
Keywords: compile eggdrop, install bot, step by step, howto, faq, help, troubles, problems, explication
Aditional links: Compilation and installation of eggdrop, compile guide and FAQ, egghelp.org, how to install a&a light script
Redaction by: UniversaliA, Alexik
To do: add new user by telnet, add egg config generator
Status: to be updated, last update: 25.03.2012