egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Eggdrop will only connect in debug mode

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
qazwsx
Voice


Joined: 25 Jun 2009
Posts: 3

PostPosted: Thu Jun 25, 2009 12:24 am    Post subject: Eggdrop will only connect in debug mode Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website
username
Op


Joined: 06 Oct 2005
Posts: 196
Location: Russian Federation, Podolsk

PostPosted: Thu Jun 25, 2009 12:48 am    Post subject: Reply with quote

Open src/config.h in sources of your bot. After ./configure - open file config.h. Change next 2 lines:
Code:
    /* Define for Tcl that has threads. */
    /* #undef HAVE_TCL_THREADS */

to this:
Code:
    /* 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/
Back to top
View user's profile Send private message Send e-mail Visit poster's website
qazwsx
Voice


Joined: 25 Jun 2009
Posts: 3

PostPosted: Thu Jun 25, 2009 12:51 am    Post subject: Reply with quote

theres no config.h in src but there is in the parent directory is it that one?
Back to top
View user's profile Send private message Visit poster's website
qazwsx
Voice


Joined: 25 Jun 2009
Posts: 3

PostPosted: Thu Jun 25, 2009 1:06 am    Post subject: Reply with quote

That worked thanks for the help I appreciate it Smile
Back to top
View user's profile Send private message Visit poster's website
atze
Voice


Joined: 14 Jul 2009
Posts: 2

PostPosted: Tue Jul 14, 2009 4:08 pm    Post subject: Reply with quote

I have the same problem. I set #define HAVE_TCL_THREADS 1 but the behavior is the same.
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Tue Jul 14, 2009 4:44 pm    Post subject: Reply with quote

@atze:
Could you please provide information regarding version of eggdrop and libtcl.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
atze
Voice


Joined: 14 Jul 2009
Posts: 2

PostPosted: Tue Jul 14, 2009 6:16 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Tue Jul 14, 2009 6:19 pm    Post subject: Reply with quote

@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, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber