|
|
||
|
On Sun, May 11, 2008 at 09:16:56PM +0800, Pete Kay wrote:is this the lua provided by Debian or one you just compiled? You seems
> Hi,
>
> I used apt-get install to install lua, but still it can't load the mysql
> module. I don't know what I am missing here:
>
> ser:/usr/src# lua
> Lua 5.1.3 Copyright (C) 1994-2008 Lua.org, PUC-Rio
to install lua-sql with sqlite2 support, thus you are using stable,
where only lua5.1.1 is available, thus is must be the version you have
compiled by yourself.
these are not the standard paths used by the lua interpreter shipped by
> no file './luasql/mysql.lua'
> no file '/usr/local/share/lua/5.1/luasql/mysql.lua'
> no file '/usr/local/share/lua/5.1/luasql/mysql/init.lua'
> no file '/usr/local/lib/lua/5.1/luasql/mysql.lua'
> no file '/usr/local/lib/lua/5.1/luasql/mysql/init.lua'
> no file './luasql/mysql.so'
> no file '/usr/local/lib/lua/5.1/luasql/mysql.so'
> no file '/usr/local/lib/lua/5.1/loadall.so'
> no file './luasql.so'
> no file '/usr/local/lib/lua/5.1/luasql.so'
> no file '/usr/local/lib/lua/5.1/loadall.so'
Debian, it lacks paths for modules in /usr/share and /usr/lib that are
where liblua5.1-sql-* installs its files.
Cheers
--
Enrico Tassi