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 Won't run in BackGround

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


Joined: 28 Apr 2008
Posts: 13

PostPosted: Sun May 11, 2008 3:26 pm    Post subject: Eggdrop Won't run in BackGround Reply with quote

Hey,

I have a real problem and I cant seem to find the solution anywhere. When I run the bot with ./eggdrop -n it runs fine and connects everything is swell.

However, when I do ./eggdrop it runs in the background but it doesnt seem to Connect to the IRC network.

I have the user file and everything it just wont run in BG.

What could be wrong?

Thanks guys!
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sun May 11, 2008 5:07 pm    Post subject: Reply with quote

Most likely an issue with threaded tcl-libraries not being properly detected.

Try editing eggdrop.h after running ./configure, and define the HAVE_TCL_THREADS macro, then recompile.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
eXcel
Voice


Joined: 28 Apr 2008
Posts: 13

PostPosted: Sun May 11, 2008 5:59 pm    Post subject: Reply with quote

So do I just add:

#define HAVE_TCL_THREADS

EDIT that worked

and THANKS SOOO MUCH. <3
Back to top
View user's profile Send private message
x-treem
Voice


Joined: 21 Jul 2008
Posts: 9

PostPosted: Wed Nov 26, 2008 1:14 pm    Post subject: Reply with quote

i have same problem.
I tried adding #define HAVE_TCL_THREADS with no luck. Any other guess?

I'm running on a Virtual Machine with Ubuntu

EDIT

My fault, i tryed a make clean with no succes, still stuck when backgrounded, then i completely deleted eggdrop/ and eggdrop1.16.19/, re-extracted the src and recompiled with the HAVE_TCL_THREADS mod in eggdrop.h and everything worked fine.

Thanks
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Fri Dec 26, 2008 10:37 am    Post subject: Reply with quote

Well, I just recompiled my Tcl without threads, and then eggdrop went into background again just fine. Tcl 8.5.5.

I'm sure the above option would have worked too but this seemed easier at the time.

Edit: The above also works. Seems ./configure isn't setting this.
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Mon Dec 29, 2008 6:36 am    Post subject: Reply with quote

incith wrote:
...
Edit: The above also works. Seems ./configure isn't setting this.


Due to changes in the internal layout of tcl since 8.5.x, the configure script cannot detect threaded libraries using the "old" hack, and thus think it's non-threaded. This issue has been known for a rather long time, yet no suitable solution has been decided/implemented sofar.

You'll find a few threads on this forum regarding this issue aswell if you do alittle searching.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Mon Dec 29, 2008 12:36 pm    Post subject: Reply with quote

It is fixed in eggdrop 1.6.20 cvs, and thus it will be fixed in the next official release of eggdrop. But for now just do the above, it is easiest.
_________________
; Answer a few unanswered posts!
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