lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

I tried update-alternative:

ser:/home/anne# update-alternatives --config lua
No alternatives for lua.

and lua5.1 :

ser:/home/anne# lua5.1
bash: lua5.1: command not found


For now, it is sufficient for me to just run with lua5.1 with luasql, but I keep getting:

Lua 5.0.3  Copyright (C) 1994-2006 Tecgraf, PUC-Rio
> require "luasql.mysql"
stdin:1: could not load package `luasql.mysql' from path `/root/.lua50/?.lua;/root/
.lua50/?;/root/share/lua/50/?.lua;/root/share/lua/50/?;/root/share/lua50/?.lua;/root/share/lua50/?;/usr/share/lua/50/?.lua;/usr/share/lua/50/?;/usr/share/lua50/?.lua;/usr/share/lua50/?;/usr/local/share/lua50/?.lua;/usr/local/share/lua50/?;?.lua;?'

stack traceback:
    [C]: in function `require'
    stdin:1: in main chunk
    [C]: ?
>

How can I fix it?  I just need to luasql to get started.  Then maybe I can consider upgrading to newer version later. 

Thanks,
Pete