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 only run with -n

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


Joined: 25 May 2007
Posts: 6

PostPosted: Fri May 25, 2007 1:12 pm    Post subject: eggdrop only run with -n Reply with quote

Hello I've a problem with the eggdrop.
If I run the eggdrop with ./eggdrop eggdrop.conf then i cant connect to telnet and the bot doesn't connect to the irc.
I think he is freezed withouth -n.
How can i fix it?
I'm using debian on my root
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Fri May 25, 2007 1:40 pm    Post subject: Reply with quote

Most likely, your tcl-libraries are compiled with --enable-threads, yet eggdrop's autoconf-script fails to detect this...

Do you still have the config.h and config.log files from running ./configure lying around?
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
neox
Voice


Joined: 25 May 2007
Posts: 6

PostPosted: Fri May 25, 2007 2:02 pm    Post subject: Reply with quote

...

Last edited by neox on Fri May 25, 2007 3:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Fri May 25, 2007 2:19 pm    Post subject: Reply with quote

Odd, it would seem your configure-script skips alot of tests, including any tests on availability, version, and functions of tcl..

A quickfix to get your eggie working properly, assuming your tcl-libs are indeed compiled with --enable-threads (most likely). would be to change this line in your config.h and recompile:
Code:
/* Define for Tcl that has threads. */
/* #undef HAVE_TCL_THREADS */
into
Code:
/* Define for Tcl that has threads. */
#define HAVE_TCL_THREADS 1

This however will not solve the issues with the configure-script.

Think you could start fresh, run configure again dumping the output into a file , and post it aswell? (ie: ./configure ... > myconf.log)
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
neox
Voice


Joined: 25 May 2007
Posts: 6

PostPosted: Fri May 25, 2007 2:48 pm    Post subject: Reply with quote

same problem.

Last edited by neox on Fri May 25, 2007 3:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Fri May 25, 2007 2:54 pm    Post subject: Reply with quote

Seems your post got trimmed? (possible to put them on a webserver and post a link?)
And was also hoping for the console output from ./configure (hence the > myconf.log).
As for --enable-threads, I was referring to how tcl was compiled, not eggdrop (as --enable-threads won't affect the result with eggdrop).

And, regarding the quickfix, this has to be done after ./configure is run, but before you run make.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
neox
Voice


Joined: 25 May 2007
Posts: 6

PostPosted: Fri May 25, 2007 3:18 pm    Post subject: Reply with quote

Here is the link for the config.log von tcl8.4.14:

http://nopaste.php-quake.net/569
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Fri May 25, 2007 3:22 pm    Post subject: Reply with quote

I believe you mis-understood me there.
It's the config.h, config.log and actual output from ./configure for eggdrop I'm looking for.
What I'm trying to do, is determine why it fails to detect that your tcl-libraries was compiled with --threads-enabled...
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
neox
Voice


Joined: 25 May 2007
Posts: 6

PostPosted: Fri May 25, 2007 3:33 pm    Post subject: Reply with quote

here is the configure.log, cinfig.log, config.h

http://nopaste.php-quake.net/570
I've tcl compiled with enable threads
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Fri May 25, 2007 3:36 pm    Post subject: Reply with quote

This is odd...
Now it seems to correctly identify tcl as threaded. Does the issue with eggdrop requiring -n to operate still persist?
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
neox
Voice


Joined: 25 May 2007
Posts: 6

PostPosted: Fri May 25, 2007 3:40 pm    Post subject: Reply with quote

same problem.
it goes with -n but not without
Back to top
View user's profile Send private message
osva
Voice


Joined: 30 May 2007
Posts: 1

PostPosted: Wed May 30, 2007 5:08 pm    Post subject: Reply with quote

I have the exact same problem.. eggdrop will connect only in -n mode.
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Wed May 30, 2007 5:45 pm    Post subject: Reply with quote

@osva:
Most likely the same scenario occurs for you aswell. The autoconf-script fails to detect that your tcl-libraries are threaded, and thus excludes some important code to get around issues regarding fork() and pthreads..
One workaround would be to define the macro HAVE_TCL_THREADS in your config.h after you've run ./configure, but before you start compiling.
_________________
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