| View previous topic :: View next topic |
| Author |
Message |
TC^^ Voice

Joined: 05 Jul 2005 Posts: 22
|
Posted: Sat Feb 25, 2006 9:01 pm Post subject: mysqltcl - for dummies |
|
|
Is it at all possible to install mysqltcl if you don't have any basic understanding of compiling and have no clue what to to with all the files that comes with mysqltcl-3.01.tar.gz?!
I've gone over alot of text and helpfiles, mostly aquired at http://www.xdobry.de/, and used hours browsing this forum to find any usefull help, but I can't find enough help to install mysqltcl with my experience.
I have yet to find a really simple explanation, a step by step guide if you will, suitable for someone with nearly no experience with Linux, and what not..
Can someone direct me to a guide, documentation or some kind of explanation I can use?.. or should I just give up  |
|
| Back to top |
|
 |
TC^^ Voice

Joined: 05 Jul 2005 Posts: 22
|
Posted: Fri Mar 03, 2006 12:21 pm Post subject: |
|
|
Well.. I got this far..
Finally figured out how to compile the .so file.. But now I have run into a wall again.. I have compiled the libmysqltcl3.01.so file, and copied it to the module directory of the bot.. Then I've added "loadmodule libmysqltcl3.01.so" to the bots config file.
The bot then starts with this message:
| Quote: | Eggdrop v1.6.17 (C) 1997 Robey Pointer (C) 2004 Eggheads
[15:57] --- Loading eggdrop v1.6.17 (Fri Mar 3 2006)
[15:57] Listening at telnet port 11130 (all).
[15:57] Module loaded: dns
[15:57] Module loaded: channels
[15:57] Module loaded: server
[15:57] Module loaded: ctcp
[15:57] Module loaded: irc
[15:57] Module loaded: notes (with lang support)
[15:57] Module loaded: console (with lang support)
[15:57] Module loaded: blowfish
[15:57] Module loaded: uptime
[15:57] Can't load modules libmysqltcl3.01: No start function defined.
[15:57] oidentd.tcl loaded
[15:57] Userinfo TCL v1.07 loaded (URL BF GF IRL EMAIL DOB PHONE ICQ).
[15:57] use '.help userinfo' for commands.
[15:57] Userfile loaded, unpacking...
[15:57] === Terabot1: 1 channels, 6 users.
Launched into the background (pid: 5336) |
[15:57] Can't load modules libmysqltcl3.01: No start function defined.
Did I skip some important steps in installing the module? Or does it need some more information in the config file?
Can someone please help? |
|
| Back to top |
|
 |
Kappa007 Voice
Joined: 26 Jul 2005 Posts: 38
|
Posted: Fri Mar 03, 2006 2:53 pm Post subject: |
|
|
Hehe I got no clue about MySQLTCL but i HIGHLY doubt you load it as module
I'd say you compile and install it and then use "package require mysqltcl" or something in your Tcl script.... |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Fri Mar 03, 2006 2:57 pm Post subject: |
|
|
have you added in the .conf file 'loadmodule libmysqltcl' to load the module? To use a module you'll have to load it first Kappa007. _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Mar 04, 2006 1:02 am Post subject: |
|
|
libmysqltcl is not an eggdrop module but a Tcl extension; it should have been installed where your Tcl libraries are when you did make install; then you load it in your scripts by declaring:
| Code: |
package require mysqltcl
|
_________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
TC^^ Voice

Joined: 05 Jul 2005 Posts: 22
|
Posted: Sat Mar 04, 2006 7:41 am Post subject: |
|
|
| It's working .. Thanks alot for the help.. |
|
| Back to top |
|
 |
|