From: Steve K. <ha...@ya...> - 2006-05-09 01:39:15
|
Hi, Some question for luasql developer: * If luasql depends much on compat-5.1 why separated it into two packages and not have any INSTALL instructions? * Got lua.exe compile from source using the bat file and nmake. Load the dll using command require'luasqlmysql' crash the system. Any one has written any HOWTO to use the binary luasql with lua-51? I mean version 5.1 not 5.0. Or the step by step howto compile luasql in win32 with lua-5.1? please help. Thank you in advance. forgive me if what I ask is too much as; in the kepler site it explicitly noted that **this version works with lua 5.0 ** . But I got it work in Linux rather easily by compiling from source, when when compiling this thing in win32 got me stump. S.KIEU --------------------------------- The LOST Ninja blog: Exclusive clues, clips and gossip. |
From: John L. <jla...@gm...> - 2006-05-09 02:41:07
|
On 5/8/06, Steve Kieu <ha...@ya...> wrote: > Hi, > > Some question for luasql developer: I think you meant to send this to the lua mailing list? Sorry, but I haven't tried the luasql package. Regards, John Labenski > * If luasql depends much on compat-5.1 why separated it into two package= s > and not have any INSTALL instructions? > > * Got lua.exe compile from source using the bat file and nmake. Load the > dll using command require'luasqlmysql' crash the system. > > Any one has written any HOWTO to use the binary luasql with lua-51? I me= an > version 5.1 not 5.0. Or the step by step howto compile luasql in win32 wi= th > lua-5.1? please help. > > Thank you in advance. forgive me if what I ask is too much as; in the > kepler site it explicitly noted that **this version works with lua 5.0 **= . > But I got it work in Linux rather easily by compiling from source, when w= hen > compiling this thing in win32 got me stump. > |
From: Steve K. <ha...@ya...> - 2006-05-09 03:16:39
|
Hi, I am really sorry, yes when I was in bad mood then a mistake in typo lead this message to wxLua list :-) By the way, I may need to use wxLua-2.6.2 as it goes with lua5.0 and luasql is happy in both win32 and linux. I would like to write all model and view/controller using lua, just use wxWidgets for displaying things and some security object. So luasql is a must. Another option is to write the database access in c++ and export it to lua, it is not difficult using the .i interface that wxLua offer (I have tested it); Really if compare wxLua and luasql, I see a big difference in the way it facilitate end users like me. :-). You guys are doing a great job! I will bug the kepler guys again to see if they improve their luasql both in code and docs/build system. Cheers, John Labenski <jla...@gm...> wrote: On 5/8/06, Steve Kieu wrote: > Hi, > > Some question for luasql developer: I think you meant to send this to the lua mailing list? Sorry, but I haven't tried the luasql package. Regards, John Labenski > * If luasql depends much on compat-5.1 why separated it into two packages > and not have any INSTALL instructions? > > * Got lua.exe compile from source using the bat file and nmake. Load the > dll using command require'luasqlmysql' crash the system. > > Any one has written any HOWTO to use the binary luasql with lua-51? I mean > version 5.1 not 5.0. Or the step by step howto compile luasql in win32 with > lua-5.1? please help. > > Thank you in advance. forgive me if what I ask is too much as; in the > kepler site it explicitly noted that **this version works with lua 5.0 ** . > But I got it work in Linux rather easily by compiling from source, when when > compiling this thing in win32 got me stump. > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Wxlua-users mailing list Wxl...@li... https://lists.sourceforge.net/lists/listinfo/wxlua-users S.KIEU --------------------------------- Do you Yahoo!? Yahoo! Personals: It's free to check out our great singles! |
From: Hakki D. <dog...@tr...> - 2006-05-09 15:59:07
|
Hi, Steve Kieu yazmış: > Hi, > > Some question for luasql developer: > > * If luasql depends much on compat-5.1 why separated it into two > packages and not have any INSTALL instructions? > > * Got lua.exe compile from source using the bat file and nmake. Load the > dll using command require'luasqlmysql' crash the system. > > Any one has written any HOWTO to use the binary luasql with lua-51? I > mean version 5.1 not 5.0. Or the step by step howto compile luasql in > win32 with lua-5.1? please help. > > Thank you in advance. forgive me if what I ask is too much as; in the > kepler site it explicitly noted that **this version works with lua 5.0 > ** . But I got it work in Linux rather easily by compiling from source, > when when compiling this thing in win32 got me stump. > > > > > > > > S.KIEU > I've compiled with MinGW as: (directories should be adjusted) gcc -s -shared -W -O2 -Wall -mthreads -fno-pcc-struct-return -DLUA_BUILD_AS_DLL -DHAVE_W32API_H -DWIN32 -D_WINDOWS -D_REENTRANT -D_MBCS -o luasqlite3.dll libluasqlite3.c -I/a_C/_lua/include -I/a_C/_sqlite/include -L/a_C/_lua/lib -L/a_C/_sqlite/lib -L. -lsqlite3dll -llua51dll -- Regards, Hakki Dogusan |