You are not logged in.

#1 2010-07-14 19:11:32

TheCash
Member
Registered: 2010-07-14
Posts: 41

[SOLVED]IUPlua problems

Hello

I just installed iup from the AUR and lua but when i try to

require("iuplua")

I get:

stdin:1: module 'iuplua' not found:
    no field package.preload['iuplua']
    no file './iuplua.lua'
    no file '/usr/share/lua/5.1/iuplua.lua'
    no file '/usr/share/lua/5.1/iuplua/init.lua'
    no file '/usr/lib/lua/5.1/iuplua.lua'
    no file '/usr/lib/lua/5.1/iuplua/init.lua'
    no file './iuplua.so'
    no file '/usr/lib/lua/5.1/iuplua.so'
    no file '/usr/lib/lua/5.1/loadall.so'
stack traceback:
    [C]: in function 'require'
    stdin:1: in main chunk
    [C]: ?

can someone please help?

Last edited by TheCash (2010-07-16 22:28:05)

Offline

#2 2010-07-16 22:25:27

TheCash
Member
Registered: 2010-07-14
Posts: 41

Re: [SOLVED]IUPlua problems

I Figured it out. I had to:

export LUA_CPATH=/usr/lib/lib?51.so;

not

export LUA_CPATH=./lib?51.so;

Offline

Board footer

Powered by FluxBB