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

	<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>2003-01-03T21:39:02-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-01-03T21:39:02-04:00</updated>

		<published>2003-01-03T21:39:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14860#p14860</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14860#p14860"/>
		<title type="html"><![CDATA[Use Mysql server from Eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14860#p14860"><![CDATA[
Google.<br><br>If you click the "I feel lucky" button, you are zipped tot he homepage.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Jan 03, 2003 9:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-01-03T19:41:06-04:00</updated>

		<published>2003-01-03T19:41:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14859#p14859</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14859#p14859"/>
		<title type="html"><![CDATA[Use Mysql server from Eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14859#p14859"><![CDATA[
my friend have FreeBSD  and i need mysqltcl where can i find that ?<p>Statistics: Posted by Guest — Fri Jan 03, 2003 7:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-05-02T20:55:00-04:00</updated>

		<published>2002-05-02T20:55:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6646#p6646</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6646#p6646"/>
		<title type="html"><![CDATA[Use Mysql server from Eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6646#p6646"><![CDATA[
intel pentium 233 with mmx extentions o/<p>Statistics: Posted by Guest — Thu May 02, 2002 8:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-05-02T20:45:00-04:00</updated>

		<published>2002-05-02T20:45:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6644#p6644</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6644#p6644"/>
		<title type="html"><![CDATA[Use Mysql server from Eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6644#p6644"><![CDATA[
What kind of processor do you have? Usually bus errors are caused by misaligned memory access on strict cpus.<br><br>For instance, say you have a structure defined like this:<br>struct blah {<br>  char flag;<br>  int something;<br>};<br><br>The structure is aligned properly, but when you try to access the "something" variable, that int isn't aligned properly unless your compiler automatically adds padding to the char field.<br><br>But on Intel processors, misaligned access doesn't cause a bus error, only a time penalty (2 accesses instead of 1).<br><br>I don't know, it might be caused by something else, but I'm just curious.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Thu May 02, 2002 8:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-05-02T20:39:00-04:00</updated>

		<published>2002-05-02T20:39:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6643#p6643</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6643#p6643"/>
		<title type="html"><![CDATA[Use Mysql server from Eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6643#p6643"><![CDATA[
<blockquote class="uncited"><div>On 2002-04-30 08:03, Mad0nna wrote:<br>Hello<br>I'm running:<br> -Freebsd4.5 (i386)<br> -mysql  Ver 11.15 Distrib 3.23.47, for -freebsd4.5 (i386)<br> -Eggdrop v1.6.9:  5 users (mem: 88k)<br> -TCL8.3<br><br>I need to access the Mysql server from the eggdrop, and make standard<br>SQL queries like SELECT, INSERT, UPDATE etc.</div></blockquote>As mentioned, those are the versions 'm running. I'll try to update the things you mentioned, and see if it helps. thanx.<p>Statistics: Posted by Guest — Thu May 02, 2002 8:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-05-02T20:30:00-04:00</updated>

		<published>2002-05-02T20:30:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6641#p6641</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6641#p6641"/>
		<title type="html"><![CDATA[Use Mysql server from Eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6641#p6641"><![CDATA[
First of all, what OS are you using? It's pretty clear that it's non-standard, or at least that you didn't set up the development environment correctly.<br><br>If your OS uses a package-based system for things like the compiler, try getting the latest upgrades to gcc, make, libtool, configure, and libc. See if you can get the packages to install in standard locations, instead of weird stuff like /usr/lib/compat/linux or wherever.<br><br>If you don't have a package mechanism... well, maybe install a different OS <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> I think you'll find things are a lot easier if you install linux or even windows.<br><br>What you really need to do is contact the authors of these libraries you're trying to install. This forum is primarily for eggdrop help. These aren't eggdrop modules you're compiling, they're tcl modules. As such, chances are that nobody here knows very many specifics about them, including odd things you run into when compiling them, especially when you're on an unfamiliar OS.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Thu May 02, 2002 8:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-05-02T15:15:00-04:00</updated>

		<published>2002-05-02T15:15:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6628#p6628</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6628#p6628"/>
		<title type="html"><![CDATA[Use Mysql server from Eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6628#p6628"><![CDATA[
As for the tcl-sql package, I got a bit further, but when I try to compile it now I get:<br><br>[pluppa@bsd:~/madonna/tcl-sql/tcl-sql]gmake clean ; gmake<br>Cleaned<br>cc -c -I/usr/local/include/mysql -I/usr/local/include/tcl8.3/generic  -Wall -o obj/sql-mysql.o sql-mysql.cc<br>cc -c -I/usr/local/include/mysql -I/usr/local/include/tcl8.3/generic  -Wall -o obj/sql.o sql.cc<br>cc -c -I/usr/local/include/mysql -I/usr/local/include/tcl8.3/generic  -Wall -o obj/sql-manager.o sql-manager.cc<br>g++ obj/sql-mysql.o obj/sql.o obj/sql-manager.o  -L/usr/lib -lmysqlclient -shared -lg++ -lstdc++ -lm -lgcc_pic -o sql.so<br>/usr/libexec/elf/ld: cannot find -lg++<br>gmake: *** [sql.so] Error 1<br><br>I saw in the group Mordred linked to ( <a href="http://groups.yahoo.com/group/tclsql/message/52?threaded=1" class="postlink">http://groups.yahoo.com/group/tclsql/me ... threaded=1</a> ), that this means it can't find the libg++ library.. I've done some searches for libg++ and added the paths I found to the makefile but still the same error. Can someone tell me how to locate the correct path ? Or how to make the compiler find the needed library ?<br><br>&lt;font size=-1&gt;[ This Message was edited by: Mad0nna on 2002-05-02 13:16 ]&lt;/font&gt;<p>Statistics: Posted by Guest — Thu May 02, 2002 3:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-05-02T13:23:00-04:00</updated>

		<published>2002-05-02T13:23:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6622#p6622</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6622#p6622"/>
		<title type="html"><![CDATA[Use Mysql server from Eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6622#p6622"><![CDATA[
When I set the LD_LIBRARY_PATH (which was previously unset) to:<br>[bsd:~/madonna]export LD_LIBRARY_PATH="/usr/compat/linux/lib"<br>which is the path of the libnsl.so.1, but when i try to:<br><br>% load /usr/local/lib/libmysqltcl.so<br>Bus error (core dumped)<br><br>and it exits tclsh..<br><br>As for the ld.so.conf, i found it in /usr/compat/linux/etc and i edited it and put the path of libnsl.so.1 in it. I seem to be unable to find the mysql libs though.. nothing in /usr/local/lib or /usr/lib. The mysql client &amp; server are both installed. Where can I find them ?<p>Statistics: Posted by Guest — Thu May 02, 2002 1:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-05-02T11:17:00-04:00</updated>

		<published>2002-05-02T11:17:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6615#p6615</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6615#p6615"/>
		<title type="html"><![CDATA[Use Mysql server from Eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6615#p6615"><![CDATA[
As for the mysqltcl package, you might want to follow the all important step, of not just editing the Makefile.org, but ranmining it to Makefile.<br><br>It's all well and good editing a file to your needs, but there aint much point unless you expect a program to know whats on your mind.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Thu May 02, 2002 11:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-05-01T14:07:00-04:00</updated>

		<published>2002-05-01T14:07:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6587#p6587</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6587#p6587"/>
		<title type="html"><![CDATA[Use Mysql server from Eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6587#p6587"><![CDATA[
Stdragon is correct. You might also like to check their forums, linked from their main page.<br><br><a href="http://groups.yahoo.com/group/tclsql/" class="postlink">http://groups.yahoo.com/group/tclsql/</a><br><br>It doesnt show much sign of life any more, but I have seen an old thread mentioning similar to your problem. <p>Statistics: Posted by Guest — Wed May 01, 2002 2:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-05-01T01:10:00-04:00</updated>

		<published>2002-05-01T01:10:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6569#p6569</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6569#p6569"/>
		<title type="html"><![CDATA[Use Mysql server from Eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6569#p6569"><![CDATA[
If it can't find libnsl.so.1, then you should install that library. It should be on your computer already, at /lib/libnsl.so.1, unless you don't have a recent version of glibc installed.<br><br>Maybe it's installed in /usr/local/lib instead, for some reason, and your LD_LIBRARY_PATH variable doesn't include that directory. Is /usr/local/lib in your /etc/ld.so.conf? As well as the location of the mysql libs?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Wed May 01, 2002 1:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-04-30T20:26:00-04:00</updated>

		<published>2002-04-30T20:26:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6565#p6565</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6565#p6565"/>
		<title type="html"><![CDATA[Use Mysql server from Eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6565#p6565"><![CDATA[
Thank you and no I haven't, it looks nice and well documented. <br>After I edit the Makefile and set the right paths, I try to run "make clean ; make". I get the following error:<br><br>[madonna@bsd:~/tcl-sql]make clean ; make<br>Cleaned<br>make: don't know how to make obj/sql-mysql.o. Stop<br><br>Any suggestions ?<br>I noticed the package included precompiled versions for lunix and solaris, would it be possible to just download a precompiled one ?<p>Statistics: Posted by Guest — Tue Apr 30, 2002 8:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-04-30T19:49:00-04:00</updated>

		<published>2002-04-30T19:49:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6563#p6563</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6563#p6563"/>
		<title type="html"><![CDATA[Use Mysql server from Eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6563#p6563"><![CDATA[
Have you tried this TCL-SQL package? Works fine here. With docs etc.<br><br><a href="http://www.bluetitan.com/~tdarugar/tcl-sql/" class="postlink">http://www.bluetitan.com/~tdarugar/tcl-sql/</a><p>Statistics: Posted by Guest — Tue Apr 30, 2002 7:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-04-30T17:02:00-04:00</updated>

		<published>2002-04-30T17:02:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6557#p6557</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6557#p6557"/>
		<title type="html"><![CDATA[Use Mysql server from Eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6557#p6557"><![CDATA[
I won't bother listing all the steps I've taken so far, so I've started over. I downloaded a fresh copy of mysqltcl-2.0rc11.tar.gz, unpacked, edited Makefile.org and set the following paths:<br><br># paths to -&gt; tcl.h mysql.h<br>INCLUDE=-I/usr/local/include/tcl8.3 -I/usr/local/include/mysql<br><br>These paths are correct to the best of my knowledge. Still, I get this error when i run ./configure (after running about 20 secs):<br><br>------<br>checking for tcl.h... no<br>configure: error: Can't find tcl.h which is needed to build MySQLTcl. Consult README and<br>INSTALL to fix it.<br>--------<br>I've tried messing around with the parameters it suggests, but no luck.<br><br>If the configure script doesn't work, the INSTALL file suggests copying config.org -&gt; config.h and then running "make -f Makefile.org". I've done this, and it resulted in a libmysqltcl.so around 4kb in size. I've copied this to the /usr/local/lib dir (as this is where it was supposed to be copied by the configure script, i think).<br>When i try to load the libmysqltcl.so from the regular tclsh:<br>% load /usr/local/lib/libmysqltcl.so<br>couldn't load file "/usr/local/lib/libmysqltcl.so": Shared object "libnsl.so.1" not found<br><br>I'm guessing this is because the configure script never got to do whatever it's doing ?<br><br>Is it correct to assume that once i get the libmysqltcl.so working in tclsh, it should be easy to load it in the eggdrop's tcl scripts  ?<p>Statistics: Posted by Guest — Tue Apr 30, 2002 5:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-04-30T13:07:00-04:00</updated>

		<published>2002-04-30T13:07:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6550#p6550</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6550#p6550"/>
		<title type="html"><![CDATA[Use Mysql server from Eggdrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6550#p6550"><![CDATA[
Can you list the steps you took, to which led you to the conclusion "They don't work"?<br><br>I have used all 3 of the above Tcl packages without fail.<br><br>What errors do you get?<br>How you tried obtaining support for these errors?<br>How exactly are you trying to load the packages in to Tcl?<br>Have you sat and read the documentation.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Tue Apr 30, 2002 1:07 pm</p><hr />
]]></content>
	</entry>
	</feed>
