| View previous topic :: View next topic |
| Author |
Message |
neox Voice
Joined: 25 May 2007 Posts: 6
|
Posted: Fri May 25, 2007 1:12 pm Post subject: eggdrop only run with -n |
|
|
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 |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Fri May 25, 2007 1:40 pm Post subject: |
|
|
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 |
|
 |
neox Voice
Joined: 25 May 2007 Posts: 6
|
Posted: Fri May 25, 2007 2:02 pm Post subject: |
|
|
...
Last edited by neox on Fri May 25, 2007 3:34 pm; edited 1 time in total |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Fri May 25, 2007 2:19 pm Post subject: |
|
|
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 |
|
 |
neox Voice
Joined: 25 May 2007 Posts: 6
|
Posted: Fri May 25, 2007 2:48 pm Post subject: |
|
|
same problem.
Last edited by neox on Fri May 25, 2007 3:33 pm; edited 1 time in total |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Fri May 25, 2007 2:54 pm Post subject: |
|
|
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 |
|
 |
neox Voice
Joined: 25 May 2007 Posts: 6
|
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Fri May 25, 2007 3:22 pm Post subject: |
|
|
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 |
|
 |
neox Voice
Joined: 25 May 2007 Posts: 6
|
Posted: Fri May 25, 2007 3:33 pm Post subject: |
|
|
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 |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Fri May 25, 2007 3:36 pm Post subject: |
|
|
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 |
|
 |
neox Voice
Joined: 25 May 2007 Posts: 6
|
Posted: Fri May 25, 2007 3:40 pm Post subject: |
|
|
same problem.
it goes with -n but not without |
|
| Back to top |
|
 |
osva Voice
Joined: 30 May 2007 Posts: 1
|
Posted: Wed May 30, 2007 5:08 pm Post subject: |
|
|
| I have the exact same problem.. eggdrop will connect only in -n mode. |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Wed May 30, 2007 5:45 pm Post subject: |
|
|
@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 |
|
 |
|