libqtlua-list
[Top][All Lists]
Advanced

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

[Libqtlua-list] Installation blocked by lua_pushnil and lua_objlen


From: Chris
Subject: [Libqtlua-list] Installation blocked by lua_pushnil and lua_objlen
Date: Sat, 11 Feb 2012 04:12:54 -0600

Hi there. :) I'm trying to get QtLua installed on my Ubuntu 11.10. Because I'm on a Debian derivative, Lua gets installed to /usr/include/lua50. Not a problem, I can clarify that:
$ ../configure --with-lua-inc-dir=/usr/include/lua50
...
checking for lua_pushnil in -llua... no
configure: error: can not find lua library; try --with-lua* arguments

(Identical problem that I couldn't understand the solution for: http://forum.vingrad.ru/act-Print/client/printer/f-466/t-333360.html )

But I was unable to understand this complaint; lua_pushnil is defined in lua.h, which happens to be where the configure script is looking. But it doesn't have an empty argument list... I'm not sure why that matters. And beside that, I highly doubt there's a "GCC internal prototype" with a lua_ prefix anyway; so I tried commenting out the block which spawns that complaint, and that got me past the first level.  (I also tried defining lua_pushnil without arguments directly in lua.h, but that only resulted in complaints about not being able to compile the file; odd, I was able to compile it just fine.)

$ make
../../src/qtluavalue.cc: In member function 'int QtLua::Value::len() const':
../../src/qtluavalue.cc:703:31: error: 'lua_objlen' was not declared in this scope
make[4]: *** [libqtlua_la-qtluavalue.lo] Error 1
make[4]: Leaving directory `/home/chris/Downloads/libqtlua-1.4/bld/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/chris/Downloads/libqtlua-1.4/bld/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/chris/Downloads/libqtlua-1.4/bld/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/chris/Downloads/libqtlua-1.4/bld'
make: *** [all] Error 2

No one else known to Google ever had that error while compiling QtLua, so I guess not having that empty lua_pushnil messed something up. Can someone please tell me what I can do to be more compatible with configure and make?

Thanks,
Chris

reply via email to

[Prev in Thread] Current Thread [Next in Thread]