This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

A clean static compilation of an eggdrop bot

Old posts that have not been replied to for several years.
Locked
_
_AsHeR_

A clean static compilation of an eggdrop bot

Post by _AsHeR_ »

After reading a lot of posts here, an idea came to me. A lot of people around are trying to compile their bots statically but use libtclxxx.so to achieve that ... or a .so library is by essence a shared library. What I mean is that such a bot is not *completely* static because it needs the libtclxxx.so to be installed on the machine.
I wrote a little howto to get users compile a *completely* static eggdrop, it's not long and not hard, btw not harder than compiling the bot as usual ::)
Hope it could help.

Code: Select all

#=------------
#=- HOWTO compile an eggdrop statically
#=------------

#=- Compiling tcl 8.4
tar zxvf tcl8.4.3-src.tar.gz
cd tcl8.4.3/unix
./configure --disable-shared
make

#=- Compiling eggdrop
tar zxvf eggdrop1.6.15.tar.gz
cd eggdrop1.6.15
./configure --enable-ipv6 --with-tcllib=/path/to/tcl8.4.3/unix/libtcl8.4.a --with-tclinc=/path/to/tcl8.4.3/generic/tcl.h --enable-static
make config
make static
The aim of compiling statically or the static versus dynamic advantages are not the point here.

Gu1nn3ss 1s l33t
Locked