| View previous topic :: View next topic |
| Author |
Message |
ryal Voice
Joined: 12 May 2005 Posts: 35
|
Posted: Mon Nov 14, 2005 9:59 am Post subject: windrop & mysql |
|
|
Id like to use a database with my windrop, so i searched for over and over without anything to be found.
Doesnt a compiled version exist for windows ? |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Mon Nov 14, 2005 8:07 pm Post subject: |
|
|
Precompiled what exactly? _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
T-Xorcist Halfop
Joined: 14 Nov 2005 Posts: 47 Location: Netherlands
|
Posted: Mon Nov 14, 2005 10:33 pm Post subject: |
|
|
I guess he means a precompiled MySQL module for windrop  _________________ is-1337.org IRC server! |
|
| Back to top |
|
 |
]Kami[ Owner

Joined: 24 Jul 2003 Posts: 590 Location: Slovenia
|
|
| Back to top |
|
 |
ryal Voice
Joined: 12 May 2005 Posts: 35
|
Posted: Tue Nov 15, 2005 10:17 am Post subject: |
|
|
oh my! i tried this (mysqltcl) a long time ago and couldnt manage to get it to work.
Today i tried again and it works like a charm (musta done something wrong back then).
THX! |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Wed Nov 16, 2005 1:59 am Post subject: |
|
|
| ryal wrote: | oh my! i tried this (mysqltcl) a long time ago and couldnt manage to get it to work.
Today i tried again and it works like a charm (musta done something wrong back then).
THX! |
Practice makes perfect?  _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
ryal Voice
Joined: 12 May 2005 Posts: 35
|
Posted: Wed Nov 16, 2005 8:35 am Post subject: |
|
|
Clearly! I think that the first time i tried to implement it i forgot to define a variable ($dir) and couldnt find the error  |
|
| Back to top |
|
 |
raktivist Voice
Joined: 22 Nov 2005 Posts: 15
|
Posted: Fri May 05, 2006 6:43 pm Post subject: |
|
|
| ryal wrote: | Clearly! I think that the first time i tried to implement it i forgot to define a variable ($dir) and couldnt find the error  |
anyone can answer.. how do u define the dir variable on pkgIndex.tcl??
| Code: | proc loadmysqltcl { dir } {
set oldcwd [pwd]
cd $dir
load libmysqltcl[info sharedlibextension]
cd $oldcwd
}
package ifneeded mysqltcl 3.02 [list loadmysqltcl $dir] |
w/c line shld i change.. pls show an example...
thanks in advance! |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Fri May 05, 2006 7:17 pm Post subject: |
|
|
The dir is passed as a parameter into the loadmysqltcl proc. If you want to change it, change it from where the proc is being called. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Kappa007 Voice
Joined: 26 Jul 2005 Posts: 38
|
Posted: Mon May 08, 2006 8:19 am Post subject: |
|
|
Just for info on mysql/windrop module:
I think it could be difficult as windrop is built with Cygwin/GCC.
You'd need a Cygwin/GCC version of the client library of mysql.
The library that ships with mysql for windows is not build with GCC and thus does not work. |
|
| Back to top |
|
 |
BarkerJr Op

Joined: 30 Mar 2003 Posts: 104
|
|
| Back to top |
|
 |
|