Am 31.12.2014 um 15:11 schrieb Squires, Eric G: > Greetings, > > I have been using awesome on Arch for a while and now trying to compile > it for a red hat 6 system. After installing all the dependencies (cairo, > etc), I am getting the following when I make awesome (version 3.5.5): > > $: cd awesome-3.5.5 > $: make > > : > : > > CMakeFiles/awesome.dir/dbus.c.o: In function `luaA_rawlen': > /home/esquires3/repos/software/awesome/awesome-3.5.5/luaa.h:99: undefined > reference to `lua_rawlen' > > There are quite a few other similar undefined reference errors in the > output. Lua is installed in /usr/local. > > Can you all assist me with getting awesome compiled?
Hi, which lua versions did you install? lua_rawlen is a function from lua 5.2 while the same function in lua 5.1 was (pretty much) lua_objlen(). If you want to hear my theory: You are compiling awesome against lua headers from lua 5.2 (which is it tries to use lua_rawlen()), but link it against the library from lua 5.1 (which is why lua_rawlen() cannot be found). Cheers, Uli -- "Why make things difficult, when it is possible to make them cryptic and totally illogical, with just a little bit more effort?" -- A. P. J. -- To unsubscribe, send mail to [email protected].
