Windrop Central

News Compiling Downloads FAQ Forums Links

How to compile Windrop 1.6.19

Download and install Cygwin, with the default base packages and the following additional packages:
-autoconf
-automake
-binutils
-gcc
-make
For compression module
-zlib
For dns module
-minires (Version 0.97-1)
-minires-devel (Version 0.97-1)

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

Open the Cygwin Bash Shell

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

Download eggdrop 1.6.19 source code from Eggheads

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

If you want to create an eggdrop with support for handles larger than 9 characters in length:
Open the eggdrop.h file in the src directory of eggdrop with a text editor (Don't use notepad!)
Change the following line from
#define HANDLEN 9
To
#define HANDLEN x
Where x is the maximum amount of characters allowed for handles, x can be any number from 9-32.
Then save the eggdrop.h file and exit the text editor
Make sure the text editor doesn't add any extra file extension to eggdrop.h, like .txt

Configure the eggdrop source code 
./configure --enable-strip

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.19 eggdrop.exe
mv modules-1.6.19 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

Only needed for the dns module
cp /bin/cygminires.dll C:/eggdrop