Install Eggdrop Bot on Raspberry Pi – Debian Squeeze

The biggest issue with compiling eggdrop from source on the Raspberry Pi running Debian Squeeze is that the tcl-dev libraries do not exist when you simply try to install tcl8.5. Here’s some steps to save fellow Raspberry Pi users a bit.

Luckily Debian Squeeze for the Raspberry Pi has most of the important dev tools ready to go. Warning, this is the Raspberry Pi not some Intel Core i7, so heed the messages told by the compilation process and “Go get some runts”.

If you haven’t done so already, create a special user account for the bot to run under using the adduser yourusername command. Then by using a different account such as root, “pi”, or any other user, type the following command:

sudo apt-get install tcl8.5 tcl8.5-dev

This will install all the necessary files you need to get the eggdrop compilation rolling. Next, go ahead and login as the user account you will running the bot under.

wget http://www.eggheads.org/redirect.php?url=ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/eggdrop1.6.21.tar.gz

Then unzip and untar the file.

tar -zxvf eggdrop1.6.21.tar.gz
cd ~/home/botuser/eggdrop1.6.21

Now we begin the configure process. Is is extremely important to append the following options to specify the direct path to libtcl.so and tcl.h.

./configure --with-tcllib='/usr/lib/libtcl8.5.so' --with-tclinc='/usr/include/tcl8.5/tcl.h'

Once the configure process completes, continue with the rest of the eggdrop INSTALL information. All that is left to do is, make config, make, and make install

This will install eggdrop in your /home/user/eggdrop folder.

Good luck and have fun with your Pi.

3 thoughts on “Install Eggdrop Bot on Raspberry Pi – Debian Squeeze”

  1. To get latest eggdrop source you can do
    “wget geteggdrop.com”

    If you are just interested in 1.6.21, you dont need the full path, just “ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/eggdrop1.6.21.tar.gz”

  2. I have since switched to using Arch Linux for Eggdrop and the Raspberry Pi. If you’re just using the Pi to run eggdrop and use the command line, then Arch Linux has been far better than anything else I’ve tried on the Pi thus far. Eggdrop compiled without any problems either. All I had to do was install tcl using the “pacman” package manager, then compile the eggdrop source as normal. Highly recommended.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>