[TUT] How to install eggdrop with UTF8 support?

Мнения, препоръки, коментари, въпроси отностно Fewona IRC Мрежата, Уебсайта или Форума.
Всичко свързано с IRC (eggdrops, tcl scripts, bots, irc clients, mirc, kvirc, x-chat, ircd, irc services и тн.)

[TUT] How to install eggdrop with UTF8 support?

Postby munZe » December 31st, 2012, 12:49 pm

<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
[r00t@err0r #] cat /etc/pwnd
Owner of Majstorov.Info,DBase @ Fewona.Net
TCL,Community,IRC Games (Holdem,Lov,Kviz), Free SHELL Ipv6, Free ZNC Ipv4 & Ipv6 -=> Fewona.Net
Image
Image
User avatar
munZe
Fewona Staff
 
Posts: 149
Joined: December 31st, 2012, 12:20 pm
Location: /bin/false

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

Postby fewona » January 2nd, 2013, 9:56 am

Thanks, very useful :)
There are three kinds of death in this world. There's heart death, there's brain death, and there's being off the network.
IRC.FEWONA.NET
User avatar
fewona
Fewona Webmaster
 
Posts: 146
Joined: June 1st, 2012, 2:29 pm
Location: irc.fewona.net :D


Return to IRC Форум

Who is online

Users browsing this forum: No registered users and 1 guest