<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/10719" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2008-02-04T13:04:06-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/10719</id>

		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-02-04T13:04:06-04:00</updated>

		<published>2008-02-04T13:04:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80636#p80636</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80636#p80636"/>
		<title type="html"><![CDATA[eggdrop start then nothing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80636#p80636"><![CDATA[
<blockquote class="uncited"><div>STARTING BOT IN USERFILE CREATION MODE.<br>Telnet to the bot and enter 'NEW' as your nickname.<br>OR go to IRC and type:  /msg ForumBot hello<br>This will make the bot recognize you as the master.<br><br><strong class="text-strong">You have installed modules but have not selected an encryption<br>module, please consult the default config file for info.</strong><br><br><br>but the bot still doesn't run..<br><br>anyone can help?</div></blockquote>You forgot to load a (the) module that provides encryption capabilities. Without this, your eggdrop will not start. Most people settle for the blowfish module for this. See your config file for further details.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon Feb 04, 2008 1:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[pacificstorm]]></name></author>
		<updated>2008-02-04T12:52:26-04:00</updated>

		<published>2008-02-04T12:52:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80635#p80635</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80635#p80635"/>
		<title type="html"><![CDATA[eggdrop start then nothing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80635#p80635"><![CDATA[
STARTING BOT IN USERFILE CREATION MODE.<br>Telnet to the bot and enter 'NEW' as your nickname.<br>OR go to IRC and type:  /msg ForumBot hello<br>This will make the bot recognize you as the master.<br><br>You have installed modules but have not selected an encryption<br>module, please consult the default config file for info.<br><br><br>but the bot still doesn't run..<br><br>anyone can help?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9686">pacificstorm</a> — Mon Feb 04, 2008 12:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BaS]]></name></author>
		<updated>2008-01-30T15:17:40-04:00</updated>

		<published>2008-01-30T15:17:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80478#p80478</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80478#p80478"/>
		<title type="html"><![CDATA[eggdrop start then nothing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80478#p80478"><![CDATA[
<blockquote class="uncited"><div>Thnx for the info.<br>Indeed there is only one library installed on your system, and it is identified as non-threaded.<br><br>I did stumble onto <a href="http://www.eggheads.org/pipermail/eggdev/2002-May/023002.html" class="postlink">this archived mail</a> a few minutes ago, so most likely your system is indeed threaded. In this case, you'll need to modify the generated eggdrop.h file after running ./configure to coax the compiler into thinking the library is threaded. Simply add the following line somewhere at the end of the file, and recompile:<div class="codebox"><p>Code: </p><pre><code>#define HAVE_TCL_THREADS 1</code></pre></div></div></blockquote>Thank you so much! This was helpful, now everything works as a charm!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9671">BaS</a> — Wed Jan 30, 2008 3:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-01-30T14:50:23-04:00</updated>

		<published>2008-01-30T14:50:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80476#p80476</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80476#p80476"/>
		<title type="html"><![CDATA[eggdrop start then nothing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80476#p80476"><![CDATA[
Thnx for the info.<br>Indeed there is only one library installed on your system, and it is identified as non-threaded.<br><br>I did stumble onto <a href="http://www.eggheads.org/pipermail/eggdev/2002-May/023002.html" class="postlink">this archived mail</a> a few minutes ago, so most likely your system is indeed threaded. In this case, you'll need to modify the generated eggdrop.h file after running ./configure to coax the compiler into thinking the library is threaded. Simply add the following line somewhere at the end of the file, and recompile:<div class="codebox"><p>Code: </p><pre><code>#define HAVE_TCL_THREADS 1</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Wed Jan 30, 2008 2:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BaS]]></name></author>
		<updated>2008-01-30T14:27:20-04:00</updated>

		<published>2008-01-30T14:27:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80475#p80475</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80475#p80475"/>
		<title type="html"><![CDATA[eggdrop start then nothing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80475#p80475"><![CDATA[
<blockquote class="uncited"><div>--enable-tcl-threads has no influence on the configure-process, only --disable-tcl-threads.<br><br>In most cases, there have been several different libraries on the system without the users knowledge - most often one non-devel library with threads, and one non-threaded in a non-standard location.<br><br>The following information would be helpful:<ul><li> output from "locate libtcl" and "locate tcl.h".</li><li> output from "ldd eggdrop".</li><li> output from "grep -i tcl config.log" (config.log found where you compiled your eggdrop).</li></ul></div></blockquote># locate libtcl<br>/usr/lib/libtcl.so<br>/usr/lib/libtcl8.5.so<br>/usr/lib/libtcl8.5.so.0<br>/usr/lib/libtclstub8.5.a<br><br># locate tcl.h<br>/usr/include/tcl.h<br>/usr/include/tcl8.5a6/generic/tcl.h<br><br>$ ldd eggdrop<br>        linux-gate.so.1 =&gt;  (0xffffe000)<br>        libtcl8.5.so.0 =&gt; /usr/lib/libtcl8.5.so.0 (0xb7ed0000)<br>        libm.so.6 =&gt; /lib/i686/libm.so.6 (0xb7eab000)<br>        libdl.so.2 =&gt; /lib/libdl.so.2 (0xb7ea7000)<br>        libnsl.so.1 =&gt; /lib/libnsl.so.1 (0xb7e90000)<br>        libc.so.6 =&gt; /lib/i686/libc.so.6 (0xb7d50000)<br>        libpthread.so.0 =&gt; /lib/i686/libpthread.so.0 (0xb7d39000)<br>        /lib/ld-linux.so.2 (0xb7fdd000)<br><br>$ grep -i tcl config.log<br>configure:9648: checking for Tcl library<br>configure:9660: result: found /usr/lib/libtcl8.5.so<br>configure:9683: checking for Tcl header<br>configure:9694: result: found /usr/include/tcl.h<br>configure:9730: checking whether the Tcl system has changed<br>configure:9773: checking for Tcl version<br>configure:9797: checking for Tcl patch level<br>configure:9871: checking for Tcl_Free in -ltcl8.5<br>configure:9901: gcc -pipe -o conftest -g -O2 -Wall   conftest.c -ltcl8.5 -L/usr/lib -lm -lpthread -ldl -lnsl  &gt;&amp;5<br>configure:9966: checking for TclpFinalizeThreadData in -ltcl8.5<br>configure:9996: gcc -pipe -o conftest -g -O2 -Wall   conftest.c -ltcl8.5 -L/usr/lib -lm -lpthread -ldl -lnsl  &gt;&amp;5<br>/home/bas/eggdrop_cvs/eggdrop1.6/conftest.c:95: undefined reference to `TclpFinalizeThreadData'<br>| #define HAVE_TCL_FREE 1<br>| char TclpFinalizeThreadData ();<br>| TclpFinalizeThreadData ();<br>ac_cv_lib_tcl8_5___Tcl_Free=yes<br>ac_cv_lib_tcl8_5___TclpFinalizeThreadData=no<br>egg_cv_var_tcl_free=yes<br>egg_cv_var_tcl_id=/usr/lib:tcl8.5.so:/usr/include:tcl.h<br>egg_cv_var_tcl_patch_level=8.5a6<br>egg_cv_var_tcl_threaded=no<br>egg_cv_var_tcl_version=8.5<br>TCLINC='/usr/include'<br>TCLINCFN='tcl.h'<br>TCLLIB='/usr/lib'<br>TCLLIBFN='tcl8.5.so'<br>TCL_LIBS='-L/usr/lib -ltcl8.5 -lm'<br>TCL_REQS='/usr/lib/libtcl8.5.so'<br>#define HAVE_TCL_FREE 1<br><br><br>One more interesting fact:<br><br>Eggdrop is in foreground:<br># ps aux |grep eggdrop |grep -v grep<br>bas       1303  3.2  1.7  22920 10116 pts/9    Sl+  21:03   0:11 ./eggdrop -n<br><br>Eggdrop is in background:<br># ps aux |grep eggdrop |grep -v grep<br>bas       1774  0.0  0.9  20668  5496 pts/9    S    21:25   0:00 ./eggdrop<br><br>From man ps:<br><br>S    Interruptible sleep (waiting for an event to complete)<br>l    is multi-threaded (using CLONE_THREAD, like NPTL pthreads do)<br>+    is in the foreground process group<br><br>So, in background it is not threaded????<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9671">BaS</a> — Wed Jan 30, 2008 2:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-01-30T14:13:58-04:00</updated>

		<published>2008-01-30T14:13:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80474#p80474</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80474#p80474"/>
		<title type="html"><![CDATA[eggdrop start then nothing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80474#p80474"><![CDATA[
--enable-tcl-threads has no influence on the configure-process, only --disable-tcl-threads.<br><br>In most cases, there have been several different libraries on the system without the users knowledge - most often one non-devel library with threads, and one non-threaded in a non-standard location.<br><br>The following information would be helpful:<ul><li> output from "locate libtcl" and "locate tcl.h".</li><li> output from "ldd eggdrop".</li><li> output from "grep -i tcl config.log" (config.log found where you compiled your eggdrop).</li></ul><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Wed Jan 30, 2008 2:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BaS]]></name></author>
		<updated>2008-01-30T13:44:55-04:00</updated>

		<published>2008-01-30T13:44:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80470#p80470</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80470#p80470"/>
		<title type="html"><![CDATA[eggdrop start then nothing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80470#p80470"><![CDATA[
I experience now the same problem (eggdrop only working in foreground, though it starts without problems in background). And I have only one tcl versiob installed on my system.<br><br>I tried both --disable-tcl-threads and --enable-tcl-threads, but nothing helped <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><br>I'm using 1.6.18 and 8.5a6<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9671">BaS</a> — Wed Jan 30, 2008 1:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-12-31T14:57:55-04:00</updated>

		<published>2005-12-31T14:57:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58883#p58883</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58883#p58883"/>
		<title type="html"><![CDATA[eggdrop start then nothing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58883#p58883"><![CDATA[
no no, now I remember I had the same problem that guy has... can't connect in bg, works fine in fg<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sat Dec 31, 2005 2:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-12-31T14:53:05-04:00</updated>

		<published>2005-12-31T14:53:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58881#p58881</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58881#p58881"/>
		<title type="html"><![CDATA[eggdrop start then nothing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58881#p58881"><![CDATA[
It works, at least on debian, but it spawns 2 childs. Maybe thats why it didnt work on your shell.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Sat Dec 31, 2005 2:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-12-31T14:45:36-04:00</updated>

		<published>2005-12-31T14:45:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58880#p58880</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58880#p58880"/>
		<title type="html"><![CDATA[eggdrop start then nothing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58880#p58880"><![CDATA[
I'm not sure if eggdrop works with threaded libtcl at all, even if compiled with --enable-tcl-threads; at least not on FreeBSD<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sat Dec 31, 2005 2:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-12-31T14:17:17-04:00</updated>

		<published>2005-12-31T14:17:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58879#p58879</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58879#p58879"/>
		<title type="html"><![CDATA[eggdrop start then nothing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58879#p58879"><![CDATA[
I dont exactly know if its the mix of these 2, maybe it was just the mix of 2 versions. At least I got the bot running background threaded and non-threaded by specifiing the lib used.<br>Then only evidence I have is that compiling the bot linked to the threaded version as non-threaded produced the same problem (in my case it was the threaded 8.4.9 in /usr/lib with 8.4.12 headers in /usr/local/included, since there was no tcl.h in /usr/include for 8.4.9).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Sat Dec 31, 2005 2:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-12-31T14:08:58-04:00</updated>

		<published>2005-12-31T14:08:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58877#p58877</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58877#p58877"/>
		<title type="html"><![CDATA[eggdrop start then nothing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58877#p58877"><![CDATA[
well then, how did you know that "eggdrop starts then nothing" is due to threaded or not-threaded Tcl <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sat Dec 31, 2005 2:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-12-31T14:05:47-04:00</updated>

		<published>2005-12-31T14:05:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58876#p58876</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58876#p58876"/>
		<title type="html"><![CDATA[eggdrop start then nothing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58876#p58876"><![CDATA[
this is no solution for the crash, but for the original topic which is about eggdrop working in foreground but fails to handle network connections in background. Same problem occured in tclsh so I tried to track it down, since I knew it was sure it must be because of TCL.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Sat Dec 31, 2005 2:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-12-31T13:41:43-04:00</updated>

		<published>2005-12-31T13:41:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58874#p58874</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58874#p58874"/>
		<title type="html"><![CDATA[eggdrop start then nothing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58874#p58874"><![CDATA[
that the crash that guy experienced was due to threaded libtcl<br><br>btw, there is no such thing threaded eggdrop<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sat Dec 31, 2005 1:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-12-31T13:25:39-04:00</updated>

		<published>2005-12-31T13:25:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58870#p58870</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58870#p58870"/>
		<title type="html"><![CDATA[eggdrop start then nothing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58870#p58870"><![CDATA[
<blockquote class="uncited"><div>how did you know that?</div></blockquote>How did I know what?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Sat Dec 31, 2005 1:25 pm</p><hr />
]]></content>
	</entry>
	</feed>
