Page 1 of 1

[TUT] How to install eggdrop with UTF8 support?

PostPosted: December 31st, 2012, 12:49 pm
by munZe
<Eggdrop IRC Bot Compiling>
by munZe (AKA r00t-err0r & Cp6uH)

Login to shell and type:
Code: Select all
wget ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/eggdrop1.6.21.tar.gz

Unpack:
Code: Select all
tar -zxpf eggdrop1.6.21.tar.gz

Go to folder:
Code: Select all
cd eggdrop1.6.21

Now type:
Code: Select all
nano ~/eggdrop1.6.21/src/main.h

and find this line:
Code: Select all
#if (((TCL_MAJOR_VERSION == 8) && (TCL_MINOR_VERSION >= 1)) || (TCL_MAJOR_VERSION > 8))
#  define USE_TCL_BYTE_ARRAYS
#  define USE_TCL_ENCODING
#endif

and change to:
Code: Select all
#if (((TCL_MAJOR_VERSION == 8) && (TCL_MINOR_VERSION >= 1)) || (TCL_MAJOR_VERSION > 8))
#  undef USE_TCL_BYTE_ARRAYS
#  define USE_TCL_ENCODING
#endif

CTRL+X and Y to save file :)
then type:
nano ~/eggdrop1.6.21/src/tcl.c
find this line
Code: Select all
if (encoding == NULL) {
  encoding = "iso8859-1";
}

and change to
Code: Select all
if (encoding == NULL) {
  encoding = "iso8859-1";
  encoding = "utf-8";
}

Then Configure your eggdrop:
Code: Select all
./configure

When Configurations is done, type:
Code: Select all
make config

to setup modules.
You can also use
Code: Select all
make iconfig

to select wich module you want to setup

When this done type:
Code: Select all
make

to compile.
Then,
Code: Select all
make install

to install you compiled eggdrop.
If you wanna install in other dir, type
Code: Select all
make install DEST=$HOME/anotherdir

then go to:
Code: Select all
cd $HOME/yourbotdir

find & edit your
Code: Select all
nano eggdrop.conf

When you edit you eggdrop conf for first run of eggdrop use
Code: Select all
./eggdrop -m eggdrop.conf


Enjoy ;-)
You can find usefull scripts @
Code: Select all
http://www.egghelp.org/tcl.htm

Re: [TUT] How to install eggdrop with UTF8 support?

PostPosted: January 2nd, 2013, 9:56 am
by fewona
Thanks, very useful :)