This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Eggdrop will only connect in debug mode

General support and discussion of Eggdrop bots.
Post Reply
q
qazwsx
Voice
Posts: 3
Joined: Thu Jun 25, 2009 12:22 am
Contact:

Eggdrop will only connect in debug mode

Post by qazwsx »

The eggdrop connects to the server and enters the channel when I use -n for debug mode but when I run it normally it just says it's loaded and it doesn't connect I am not sure what is going on.
User avatar
username
Op
Posts: 196
Joined: Thu Oct 06, 2005 9:20 am
Location: Russian Federation, Podolsk
Contact:

Post by username »

Open src/config.h in sources of your bot. After ./configure - open file config.h. Change next 2 lines:

Code: Select all

    /* Define for Tcl that has threads. */
    /* #undef HAVE_TCL_THREADS */
to this:

Code: Select all

    /* Define for Tcl that has threads. */
    #define HAVE_TCL_THREADS 1
Continue installing your bot with make config && make && make install.
Архив TCL скриптов для ботов Eggdrop/Windrop:
http://egghelp.ru/
q
qazwsx
Voice
Posts: 3
Joined: Thu Jun 25, 2009 12:22 am
Contact:

Post by qazwsx »

theres no config.h in src but there is in the parent directory is it that one?
q
qazwsx
Voice
Posts: 3
Joined: Thu Jun 25, 2009 12:22 am
Contact:

Post by qazwsx »

That worked thanks for the help I appreciate it :)
a
atze
Voice
Posts: 2
Joined: Tue Jul 14, 2009 4:04 pm

Post by atze »

I have the same problem. I set #define HAVE_TCL_THREADS 1 but the behavior is the same.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

@atze:
Could you please provide information regarding version of eggdrop and libtcl.
NML_375
a
atze
Voice
Posts: 2
Joined: Tue Jul 14, 2009 4:04 pm

Post by atze »

eggdrop 1.6.19+ctcp patch
debian etch, using tcl8.5-dev.deb from lenny.

I missed that the in config.h it was commented as #undef i changed it to #define, now it seems to work.

i used before a source install of tcl8.5 and dont have to do this.
sorry i missed that part completely, but thx for your help
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

@atze:
Then you are (were) suffering from the known issue of threaded libtcl8.5 not properly being detected as threaded. I believe a fix is in the works, but for now the best approach is to manually edit config.h before the build-phase.
NML_375
Post Reply