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.
Then unzip and untar the file.
tar -zxvf eggdrop1.6.21.tar.gz
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.