[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: package question (luasql example)
- From: "Thomas Blom" <thomasblom@...>
- Date: Thu, 24 Aug 2006 09:46:27 -0500
Tomas,
Thanks once again for detailed information. I've read up on the original
package proposal in the archives.
I still am a bit stumped (recall I am new to linux *and* lua) about this:
In building luasql I am linking to the C source compat-5.1.o (built from
compat-5.1.c) which provides access to a function:
luaL_module
However, I don't see how compat-5.1.lua is ever coming into play - where
is it "required" or otherwise loaded? I edited the package.path and
package.cpath in this file as you suggested, but in experiment I see that
my edits don't effect the error message: thus my conclusion that
compat-5.1.lua is never coming into play. I put compat-5.1.lua into
/usr/share/lua50 on my system, because that is where I found compat.lua
(which I presume was installed when I installed
lua50/liblua50-dev/liblualib50-dev as a debian packages).
Thanks much for your help.
-thomas
- References:
- win32 programmer, linux newb needs help: lua/luasql, Thomas Blom
- Re: win32 programmer, linux newb needs help: lua/luasql, Eduardo Quintao
- Re: win32 programmer, linux newb needs help: lua/luasql, Thomas Blom
- Re: win32 programmer, linux newb needs help: lua/luasql, Tomas
- package question (luasql example), Thomas Blom
- Re: package question (luasql example), Tomas