lua-users home
lua-l archive

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


On 20 May 2014 01:00, luciano de souza <luchyanus@gmail.com> wrote:
> Hello all,
>
> After installing Ubuntu 13.10 64 bits, I did:
>
> $ sudo apt-get install lua5.1
> $ sudo apt-get install luarocks
> $ sudo luarocks install luaxml
> $ lua
>> require('luaxml')
> "Module 'luaxml' is not found'".
>
> Does someone knows why it occurs and how to solve it?

When you install a new rock, try:

$ luarocks show luaxml

This will show the installed modules. The module in question is called
"LuaXML", not "luaxml".

$ lua
Lua 5.1.2  Copyright (C) 1994-2007 Lua.org, PUC-Rio
> require "LuaXML"
>

-- Hisham