lua-users home
lua-l archive

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


Wesley Smith wrote:
I'm wondering what error messages you're seeing?  Lua provides quite
detailed messages about all the paths it looked in for a particular
module.

wes
patrick@FatBox:~/unique/lua$ lua curl1.lua
lua: curl1.lua:2: module 'curl' not found:
  no field package.preload['curl']
  no file './curl.lua'
  no file '/usr/local/share/lua/5.1/curl.lua'
  no file '/usr/local/share/lua/5.1/curl/init.lua'
  no file '/usr/local/lib/lua/5.1/curl.lua'
  no file '/usr/local/lib/lua/5.1/curl/init.lua'
  no file './curl.so'
  no file '/usr/local/lib/lua/5.1/curl.so'
  no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
  [C]: in function 'require'
  curl1.lua:2: in main chunk
  [C]: ?


Thanks Wes