<?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/20468" />

	<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>2018-05-06T18:48:24-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2018-05-06T03:48:46-04:00</updated>

		<published>2018-05-06T03:48:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106836#p106836</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106836#p106836"/>
		<title type="html"><![CDATA[Something I wanted to share.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106836#p106836"><![CDATA[
If you install the dev package of TCL (and I think last is tcl8.6-dev) you won't need to <em class="text-italics">configure</em> with the path as it will find the path of the <em class="text-italics">libtcl8.6.so</em> and <em class="text-italics">tcl.h</em> by itself.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sun May 06, 2018 3:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sane]]></name></author>
		<updated>2018-05-06T18:48:24-04:00</updated>

		<published>2018-05-05T22:33:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106835#p106835</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106835#p106835"/>
		<title type="html"><![CDATA[Something I wanted to share.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106835#p106835"><![CDATA[
* I just wanted to share this tutorial that I wrote for myself, for anyone else that might be interested. <br>* I didn't feel like it fits anywhere else. <br>* It may even help me out again in future; 'cause I'm always forgetting this stuff. <br><br>BEFORE YOU SAY ANYTHING, I KNOW THE EGGDROP I USE AND AM PROVIDING A LINK/S TO IS OLD AND YOU SHOULD USE THE LATEST RELEASE, '1.8.3' I BELIEVE; WITH THAT OUT OF THE WAY, LET'S BEGIN. <br><br>If you spot any mistakes, please let me know. And vet this if you can, commenting that you were able to verify everything works properly. <br><br>Also, if you get any tcl errors like: <br><div class="codebox"><p>Code: </p><pre><code>"configure: error: Tcl cannot be found on this system. Eggdrop requires Tcl and the Tcl development files to compile. If you already have Tcl installed on this system, make sure you also have the development files (common package names include 'tcl-dev' and 'tcl-devel'). If I just wasn't looking in the right place for it, re-run ./configure using the --with-tcllib='/path/to/libtcl.so' and --with-tclinc='/path/to/tcl.h' options. See doc/COMPILE-GUIDE's 'Tcl Detection and Installation' section for more information."</code></pre></div> <br><br>Install the following using: sudo apt-get install -y libtcl8.5 tcl8.5-dev <br><br>*EDIT* &lt;caesar&gt; If you install the dev package of TCL (and I think last is tcl8.6-dev) you won't need to configure with the path as it will find the path of the libtcl8.6.so and tcl.h by itself.<br><br>And then do this if need be: <br><br>./configure --with-tcllib=/usr/lib/x86_64-linux-gnu/libtcl8.5.so --with-tclinc=/usr/include/tcl8.5/tcl.h<br><br>Might not need to use ^that^ above command, thank you to caesar for the clarification.<br><br>I however used 8.4, I believe.<br><br><strong class="text-strong"><em class="text-italics"><span style="color:orange"><span style="font-size:200%;line-height:116%">###</span></span></em></strong> <span style="color:brown"><strong class="text-strong"><em class="text-italics"><span style="text-decoration:underline"><span style="font-size:200%;line-height:116%">How to compile eggdrop with megahal</span></span></em></strong></span> <strong class="text-strong"><em class="text-italics"><span style="color:orange"><span style="font-size:200%;line-height:116%">###</span></span></em></strong><br><br>In your shell, type:<br><br>cd /home/YourUserName/<br>*Note: /YourUserName/ would be replaced with your own account name.<br><br>a) Download 'eggdrop1.6.19.tar.gz' to your shell, preferably in your '/home/YourUserName/' directory/folder using: <br><br>wget <a href="http://www.eggheads.org/redirect.php?url=ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/eggdrop1.6.19.tar.gz" class="postlink">http://www.eggheads.org/redirect.php?ur ... .19.tar.gz</a><br><br>b) Extract/untar it using: <br><br>tar -xzf eggdrop1.6.19.tar.gz<br><br>or this:<br><br>tar zxvf eggdrop1.6.19.tar.gz<br><br>c) Download 'megahal.mod.3.5.zip' ( or 'megahal.mod.2.7.tar.bz2' wget <a href="https://anonfile.com/Nbxdsce8b6" class="postlink">https://anonfile.com/Nbxdsce8b6</a> tar xvjf megahal.mod.2.7.tar.bz2 ) to your shell, preferably in your '/home/YourUserName/' directory/folder using:<br><br>wget <a href="http://thelastexit.net/megahal/megahal.mod.3.5.zip" class="postlink">http://thelastexit.net/megahal/megahal.mod.3.5.zip</a><br><br>d) Unzip it using:<br><br>unzip megahal.mod.3.5.zip <br><br><strong class="text-strong"><em class="text-italics"><span style="text-decoration:underline"><span style="font-size:200%;line-height:116%"><span style="color:blue">{}{}{}{}{}{}{}{}</span></span></span></em></strong><br><br>1) Now we begin. The 'megahal.mod' directory/folder from the extracted contents of 'megahal.mod.3.5.zip' ( or 'megahal.mod.2.7.tar.bz2' ) should be copied to the untar'd 'eggdrop1.6.19/src/mod/' directory/folder - its path where you copied it to would then be: 'eggdrop1.6.19/src/mod/megahal.mod/'<br><br>You could do that by using: sudo cp megahal.mod /home/YourUserName/eggdrop1.6.19/src/mod/ <br><br>2) Then you need to cd into the eggdrop1.6.19 directory and do 'chmod -R u+x .' &lt;-- Making sure the 'space dot' is included at the end, which will make all the files in that directory, yours and also allow them to be executable. <br><br>2a) SSL STEPS &lt;NOTE SSL CAN BE SKIPPED&gt; &lt;NOTE I SKIPPED SSL WHEN DOING MY COMPILE TEST EXAMPLE&gt; START OF SSL STEPS: Download the SSL patch to your shell, MAKING SURE IT GOES IN YOUR 'home/YourUserName/eggdrop1.6.19/' directory/folder using:<br><br>wget <a href="http://www.egghelp.org/files/patches/eggdrop-1.6.19-ssl_and_md5_and_thread-durex.patch.gz" class="postlink">http://www.egghelp.org/files/patches/eg ... x.patch.gz</a><br><br>2b) NOTE SSL CAN BE SKIPPED. -- Next command:<br><br>gzip -d eggdrop-1.6.19-ssl_and_md5_and_thread-durex.patch.gz <br>(this will unzip and delete original .gz file)<br><br>2c) NOTE SSL CAN BE SKIPPED. -- Next command: <br><br>patch -p1 &lt;eggdrop-1.6.19-ssl_and_md5_and_thread-durex.patch<br><br>2d) If you did receive hunk failed errors I have read to do this instead:<br><br>patch -p0 &lt;eggdrop-1.6.19-ssl_and_md5_and_thread-durex.patch<br><br>2e) END OF SSL STEPS<br><br>NOTE, DO THINGS IN THE CORRECT ORDER, SO WHAT YOU SEE IN STEP 3 DOESN'T HAPPEN.<br><br>3) WRONG STEP - 'make' <br><br>sane@tanmayn:~/testing/eggdrop1.6.19$ make<br><br>Before you can compile your bot you have to configure it.<br>Please start the configure script now:<br><br> % ./configure<br><br>sane@tanmayn:~/testing/eggdrop1.6.19$<br><br>4) STEP OF - './configure' <br><br>sane@tanmayn:~/testing/eggdrop1.6.19$ ./configure<br><br>This is Eggdrop's GNU configure script.<br>It's going to run a bunch of tests to hopefully make your compile<br>work without much twiddling.<br><br>Operating System: Linux 2.6.32-042stab078.28<br><br>If you experience any problems compiling Eggdrop, please read the<br>compile guide, found in doc/COMPILE-GUIDE.<br><br>Type 'make config' to configure the modules, or type 'make iconfig'<br>to interactively choose which modules to compile.<br><br>sane@tanmayn:~/testing/eggdrop1.6.19$<br><br>5) STEP OF - 'make config' <br><br>sane@tanmayn:~/testing/eggdrop1.6.19$ make config<br><br>make[1]: Leaving directory `/home/sane/testing/eggdrop1.6.19/src/mod'<br>Building ./src/mod/Makefile... done.<br><br>You can now compile the bot, using "make".<br><br>sane@tanmayn:~/testing/eggdrop1.6.19$<br><br>6) STEP OF - 'make' <br><br>sane@tanmayn:~/testing/eggdrop1.6.19$ make<br><br>All modules compiled.<br>make[1]: Leaving directory `/home/sane/testing/eggdrop1.6.19/src/mod'<br><br>Test run of ./eggdrop -v:<br>Eggdrop v1.6.19 (C) 1997 Robey Pointer (C) 2008 Eggheads<br><br>Eggdrop successfully compiled:<br>-rwxr-xr-x 1 sane sane 938311 Nov 24 05:02 eggdrop<br><br>Modules successfully compiled:<br>-rwxr-xr-x 1 sane sane  25822 Nov 24 05:02 assoc.so<br>-rwxr-xr-x 1 sane sane  29653 Nov 24 05:02 blowfish.so<br>-rwxr-xr-x 1 sane sane 239438 Nov 24 05:02 channels.so<br>-rwxr-xr-x 1 sane sane  26618 Nov 24 05:02 compress.so<br>-rwxr-xr-x 1 sane sane  23828 Nov 24 05:02 console.so<br>-rwxr-xr-x 1 sane sane  22211 Nov 24 05:02 ctcp.so<br>-rwxr-xr-x 1 sane sane  38739 Nov 24 05:02 dns.so<br>-rwxr-xr-x 1 sane sane 189856 Nov 24 05:02 filesys.so<br>-rwxr-xr-x 1 sane sane 279453 Nov 24 05:02 irc.so<br>-rwxr-xr-x 1 sane sane  71886 Nov 24 05:02 megahal.so<br>-rwxr-xr-x 1 sane sane  65748 Nov 24 05:02 notes.so<br>-rwxr-xr-x 1 sane sane  34501 Nov 24 05:02 seen.so<br>-rwxr-xr-x 1 sane sane 125256 Nov 24 05:02 server.so<br>-rwxr-xr-x 1 sane sane  93752 Nov 24 05:02 share.so<br>-rwxr-xr-x 1 sane sane  76390 Nov 24 05:02 transfer.so<br>-rwxr-xr-x 1 sane sane  22968 Nov 24 05:02 uptime.so<br>-rwxr-xr-x 1 sane sane  32406 Nov 24 05:02 wire.so<br><br>Now run "make install" to install your bot.<br><br>sane@tanmayn:~/testing/eggdrop1.6.19$<br><br>7) STEP OF - 'make install' <br><br>sane@tanmayn:~/testing/eggdrop1.6.19$ make install<br><br>Installation completed.<br><br>You MUST ensure that you edit/verify your configuration file.<br>An example configuration file, eggdrop.conf, is distributed with Eggdrop.<br><br>Remember to change directory to /home/YourUserName/eggdrop1.6.19 before you proceed.<br><br>sane@tanmayn:~/testing/eggdrop1.6.19$<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12294">Sane</a> — Sat May 05, 2018 10:33 pm</p><hr />
]]></content>
	</entry>
	</feed>
