Windrop Central

News Compiling Downloads FAQ Links

How to compile Windrop 1.6.21

Download and install Cygwin, with the default base packages and the following additional packages:

For compression module
Make sure the default Tcl version include with Cygwin isn't installed.

Open the Cygwin Bash Shell

Download and install Tcl 8.5.11 (1.55MB), just extract file to root directory
cd /
tar -zxf tcl-8.5.11.tar.gz

Download eggdrop 1.6.21 source code from Eggheads

Download eggdrop 1.6.21 patch (18/06/2012)

Extract eggdrop source code
tar -zxf eggdrop1.6.21.tar.gz

Apply patch in the eggdrop source code directory
patch -p0 <  eggdrop1.6.21.patch

Configure the eggdrop source code 
./configure --enable-strip (For networks which only allow nicknames 9 characters in length, i.e. IRCNet, EFNet)
./configure --enable-strip --with-handlen=32 (For networks which allow nicknames long than 9 characters in length, i.e.  DALnet, QuakeNet)

Configure the eggdrop modules
make config
Or configure the modules manually to choose exactly which modules you want to compile (By default all except woobie module are enabled)
make iconfig

Make the modules and the eggdrop itself
make eggdrop

Install the eggdrop
make install DEST=C:/eggdrop/

Remove symbolic links
cd c:/eggdrop/
rm modules
rm eggdrop.exe
mv eggdrop.exe-1.6.21 eggdrop.exe
mv modules-1.6.21 modules

Copy Cygwin and TCL dll files to eggdrop directory
cp /bin/cygwin1.dll C:/eggdrop
cp /usr/local/bin/libtcl8.5.dll C:/eggdrop

Copy the TCL libraries
(mkdir C:/eggdrop/lib ) 
cp -r /usr/local/lib/tcl C:/eggdrop/lib
cp -r /usr/local/lib/tcl8.5 C:/eggdrop/lib

Only needed for the compression module
cp /bin/cygz.dll C:/eggdrop