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

	<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>2005-07-18T14:18:48-04:00</updated>

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

		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-07-18T14:18:48-04:00</updated>

		<published>2005-07-18T14:18:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52805#p52805</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52805#p52805"/>
		<title type="html"><![CDATA[Problem with make]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52805#p52805"><![CDATA[
I've never used mysql.mod, but there might be some conf option, or in the absence of such you'll have to manually fix Makefile with correct pathnames for mysql.h and client libraries<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Mon Jul 18, 2005 2:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[LtPhil]]></name></author>
		<updated>2005-07-18T14:12:56-04:00</updated>

		<published>2005-07-18T14:12:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52804#p52804</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52804#p52804"/>
		<title type="html"><![CDATA[Problem with make]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52804#p52804"><![CDATA[
<blockquote class="uncited"><div>naturally, when compiling mysql.mod afterwards, you'll have to specify the location of mySQL header (mysql.h) and client libraries - under directory /home/you/mysql</div></blockquote>how do i specify that?  sorry for being a n00b, but the most i've done with eggdrop until now is write TCL scripts <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3577">LtPhil</a> — Mon Jul 18, 2005 2:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-07-18T12:13:00-04:00</updated>

		<published>2005-07-18T12:13:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52787#p52787</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52787#p52787"/>
		<title type="html"><![CDATA[Problem with make]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52787#p52787"><![CDATA[
then you need to install mySQL client libraries only (mysql.h alone won't do)<br><br>download mySQL sources and <strong class="text-strong">./configure --prefix=/home/you/mysql --without-server</strong><br><br>naturally, when compiling mysql.mod afterwards, you'll have to specify the location of mySQL header (mysql.h) and client libraries - under directory /home/you/mysql<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Mon Jul 18, 2005 12:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[LtPhil]]></name></author>
		<updated>2005-07-18T08:21:01-04:00</updated>

		<published>2005-07-18T08:21:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52773#p52773</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52773#p52773"/>
		<title type="html"><![CDATA[Problem with make]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52773#p52773"><![CDATA[
oi... so any thoughts on what to do?  all i wanna do is make my eggdrop on server A talk to my mySQL server on server B!  is it really THAT difficult? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"><br><br>can't i just take the mysql.h that it's looking for and give it to it manually or something?  it seems kinda unnecessarily limiting to require a user to have mysql installed on the same box as their eggdrop just to compile the module...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3577">LtPhil</a> — Mon Jul 18, 2005 8:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-07-18T04:09:33-04:00</updated>

		<published>2005-07-18T04:09:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52767#p52767</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52767#p52767"/>
		<title type="html"><![CDATA[Problem with make]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52767#p52767"><![CDATA[
nope, mysql.mod requires mySQL, it's just an interface to the actual database engine<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Mon Jul 18, 2005 4:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[LtPhil]]></name></author>
		<updated>2005-07-18T02:50:34-04:00</updated>

		<published>2005-07-18T02:50:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52762#p52762</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52762#p52762"/>
		<title type="html"><![CDATA[Problem with make]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52762#p52762"><![CDATA[
doh!  is there any way to set up the mysql module without having mysql installed on that machine?  i was intending to use another DB server anyways -_-<br><br>thanks for your help <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>p.s. i've already tried mysqltcl, and have been unable to get it to work.  when i contacted my shell provider, he said he's never had any luck getting it to work either... maybe it just doesn't like freebsd?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3577">LtPhil</a> — Mon Jul 18, 2005 2:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-07-17T21:34:15-04:00</updated>

		<published>2005-07-17T21:34:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52753#p52753</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52753#p52753"/>
		<title type="html"><![CDATA[Problem with make]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52753#p52753"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>../mysql.mod/mysql_mod.h:34: mysql/mysql.h: No such file or directory </code></pre></div>you don't have mySQL installed on that machine (or eggdrop's configure script couldn't find mysql.h actual location)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sun Jul 17, 2005 9:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[LtPhil]]></name></author>
		<updated>2005-07-17T21:27:22-04:00</updated>

		<published>2005-07-17T21:27:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52750#p52750</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52750#p52750"/>
		<title type="html"><![CDATA[Problem with make]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52750#p52750"><![CDATA[
still no go.  however, watching the <strong class="text-strong">make iconfig</strong> output, i did catch this: i386-unknown-freebsd4.7 - so i'm assuming it's FreeBSD 4.7 <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>i took out the megahal mod and that seems to be changing the error... looks like megahal is a culprit (i have a slightly older version already compiled so i'll just use that).  however, i still get errors on make - this time with the mysql module:<div class="codebox"><p>Code: </p><pre><code>gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../..  -I../../../src/mod -DHAVE_CONFIG_H   `mysql_config --cflags` -DMAKING_MODS -c .././mysql.mod/mysql.cIn file included from ../mysql.mod/mysql_mod.h:32,                 from .././mysql.mod/mysql.c:24:../../../src/mod/module.h:190: warning: `list_delete' redefined../mysql.mod/mysql_mod.h:31: warning: this is the location of the previous definitionIn file included from .././mysql.mod/mysql.c:24:../mysql.mod/mysql_mod.h:34: mysql/mysql.h: No such file or directory.././mysql.mod/mysql.c:31: syntax error before `*'.././mysql.mod/mysql.c:31: warning: type defaults to `int' in declaration of `dbc'.././mysql.mod/mysql.c:31: warning: data definition has no type or storage class.././mysql.mod/mysql.c: In function `tcl_mysql_connect':.././mysql.mod/mysql.c:152: warning: implicit declaration of function `mysql_init'.././mysql.mod/mysql.c:152: warning: assignment makes pointer from integer without a cast.././mysql.mod/mysql.c:166: warning: implicit declaration of function `mysql_real_connect'.././mysql.mod/mysql.c:171: warning: implicit declaration of function `mysql_error'.././mysql.mod/mysql.c:171: warning: passing arg 2 of `Tcl_AppendToObj' makes pointer from integer without a cast.././mysql.mod/mysql.c: In function `tcl_mysql_query':.././mysql.mod/mysql.c:200: `MYSQL_RES' undeclared (first use in this function).././mysql.mod/mysql.c:200: (Each undeclared identifier is reported only once.././mysql.mod/mysql.c:200: for each function it appears in.).././mysql.mod/mysql.c:200: `result' undeclared (first use in this function).././mysql.mod/mysql.c:200: warning: statement with no effect.././mysql.mod/mysql.c:201: syntax error before `unsigned'.././mysql.mod/mysql.c:209: warning: implicit declaration of function `mysql_query'.././mysql.mod/mysql.c:212: warning: passing arg 2 of `Tcl_AppendToObj' makes pointer from integer without a cast.././mysql.mod/mysql.c:218: warning: implicit declaration of function `mysql_store_result'.././mysql.mod/mysql.c:220: `fields' undeclared (first use in this function).././mysql.mod/mysql.c:220: warning: implicit declaration of function `mysql_num_fields'.././mysql.mod/mysql.c:224: `row' undeclared (first use in this function).././mysql.mod/mysql.c:224: warning: implicit declaration of function `mysql_fetch_row'.././mysql.mod/mysql.c:227: `x' undeclared (first use in this function).././mysql.mod/mysql.c:233: warning: implicit declaration of function `mysql_free_result'.././mysql.mod/mysql.c: In function `tcl_mysql_escape':.././mysql.mod/mysql.c:267: warning: implicit declaration of function `mysql_real_escape_string'.././mysql.mod/mysql.c:268: warning: implicit declaration of function `mysql_escape_string'.././mysql.mod/mysql.c: In function `tcl_mysql_errno':.././mysql.mod/mysql.c:283: warning: implicit declaration of function `mysql_errno'.././mysql.mod/mysql.c: In function `tcl_mysql_ping':.././mysql.mod/mysql.c:295: warning: implicit declaration of function `mysql_ping'.././mysql.mod/mysql.c: In function `tcl_mysql_connectioninfo':.././mysql.mod/mysql.c:306: syntax error before `*'.././mysql.mod/mysql.c:308: `objs' undeclared (first use in this function).././mysql.mod/mysql.c:316: `count' undeclared (first use in this function).././mysql.mod/mysql.c: In function `tcl_mysql_insert_id':.././mysql.mod/mysql.c:332: warning: implicit declaration of function `mysql_insert_id'.././mysql.mod/mysql.c: In function `tcl_mysql_affected_rows':.././mysql.mod/mysql.c:354: warning: implicit declaration of function `mysql_affected_rows'.././mysql.mod/mysql.c: In function `closedb':.././mysql.mod/mysql.c:362: warning: implicit declaration of function `mysql_close'*** Error code 1Stop in /usr/home/*****/eggdrop1.6.17/src/mod/mysql.mod.*** Error code 1Stop in /usr/home/*****/eggdrop1.6.17/src/mod.*** Error code 1Stop in /usr/home/*****/eggdrop1.6.17.</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3577">LtPhil</a> — Sun Jul 17, 2005 9:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2005-07-17T18:14:31-04:00</updated>

		<published>2005-07-17T18:14:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52731#p52731</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52731#p52731"/>
		<title type="html"><![CDATA[Problem with make]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52731#p52731"><![CDATA[
yes odd indeed i have never seen that error either.<br><br>Try using <strong class="text-strong">gmake</strong> instead of make.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3723">^DooM^</a> — Sun Jul 17, 2005 6:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[LtPhil]]></name></author>
		<updated>2005-07-17T17:18:48-04:00</updated>

		<published>2005-07-17T17:18:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52724#p52724</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52724#p52724"/>
		<title type="html"><![CDATA[Problem with make]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52724#p52724"><![CDATA[
how do i get specific OS info?  i'm using a shell provider, and i know they're running a recent version of FreeBSD, but i'm not sure what exactly.  looking at the <strong class="text-strong">./configure</strong> output i see<div class="codebox"><p>Code: </p><pre><code>checking for Tcl library... found /usr/local/lib/libtcl83.sochecking for Tcl header... found /usr/local/include/tcl8.3/tcl.h</code></pre></div>so i'm assuming that means TCL 8.3 is installed <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>i've tried untar-ing everything from scratch, and it still gives me problems.  i find this most odd, because i've compiled an eggdrop on this server before... what's up with that Makefile.generic thing?  i've never seen (or at least noticed) a reference to that before now...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3577">LtPhil</a> — Sun Jul 17, 2005 5:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2005-07-17T16:47:31-04:00</updated>

		<published>2005-07-17T16:47:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52721#p52721</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52721#p52721"/>
		<title type="html"><![CDATA[Problem with make]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52721#p52721"><![CDATA[
Try <strong class="text-strong">make clean</strong> remove your eggdrop folder. untar from scratch and try to recompile again. If this doesn't fix your problem the please post with what OS you are trying to compile on and what version of TCL is currently installed.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3723">^DooM^</a> — Sun Jul 17, 2005 4:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[LtPhil]]></name></author>
		<updated>2005-07-17T16:39:27-04:00</updated>

		<published>2005-07-17T16:39:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=52719#p52719</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=52719#p52719"/>
		<title type="html"><![CDATA[Problem with make]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=52719#p52719"><![CDATA[
i seem to be having trouble recompiling my bot.  i've done <strong class="text-strong">make iconfig</strong> (also tried <strong class="text-strong">make config</strong>), and those work fine, but when i do <strong class="text-strong">make</strong> i get the following during linking:<br><div class="codebox"><p>Code: </p><pre><code>Linking eggdrop (standard build).gcc -pipe -o ../eggdrop bg.o botcmd.o botmsg.o botnet.o chanprog.o cmds.o dcc.o  dccutil.o dns.o flags.o language.o match.o main.o mem.o misc.o misc_file.o  modules.o net.o rfc1459.o tcl.o tcldcc.o tclhash.o tclmisc.o tcluser.o  userent.o userrec.o users.o  -L/usr/local/lib -ltcl83 -lm md5/md5c.o compat/*.o `cat mod/mod.xlibs`touch ../eggdropSuccessful compile: eggdrop"Makefile", line 3: Could not find ../Makefile.genericmake: fatal errors encountered -- cannot continue*** Error code 1Stop in /usr/home/*****/eggdrop1.6.17/src/mod.*** Error code 1Stop in /usr/home/*****/eggdrop1.6.17.</code></pre></div>(i've removed the proper username from the paths, it doesn't actually show "*****").  any thoughts or suggestions?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3577">LtPhil</a> — Sun Jul 17, 2005 4:39 pm</p><hr />
]]></content>
	</entry>
	</feed>
