egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

A clean static compilation of an eggdrop bot

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
_AsHeR_
Guest





PostPosted: Fri Jul 18, 2003 9:40 am    Post subject: A clean static compilation of an eggdrop bot Reply with quote

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:
#=------------
#=- 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
Back to top
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber