您尚未登录。

#1 2013-01-04 15:12:08

nivengg
go spurs go
所在地: 局域网里
注册时间: 2012-12-27
帖子: 10

装conky-lua错误啊,toluapp包装不了。

在gnomel.ook上找了几个conky的配置。挺不错的啊。后来不能用,查了查是少了conky-lua包,就用yaourt装。但是错误信息提示如下。

scons: Reading SConscript files ...

scons: warning: The Options class is deprecated; use the Variables class instead.
File "/tmp/yaourt-tmp-sunaiwen/aur-toluapp/src/tolua++-1.0.93/SConstruct", line 19, in <module>
('********* tolua is ', 'bin/tolua++_bootstrap')

scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead.
File "/tmp/yaourt-tmp-sunaiwen/aur-toluapp/src/tolua++-1.0.93/src/tests/SCsub", line 2, in <module>
scons: done reading SConscript files.
scons: Building targets ...
gcc -o src/bin/tolua.o -c -O2 -ansi -Wall -fPIC -Iinclude src/bin/tolua.c
src/bin/tolua.c: In function 'add_extra':
src/bin/tolua.c:70:2: warning: implicit declaration of function 'luaL_getn' [-Wimplicit-function-declaration]
gcc -o src/bin/toluabind_default.o -c -O2 -ansi -Wall -fPIC -Iinclude src/bin/toluabind_default.c
gcc -o src/lib/tolua_event.o -c -O2 -ansi -Wall -fPIC -Iinclude src/lib/tolua_event.c
src/lib/tolua_event.c: In function 'storeatubox':
src/lib/tolua_event.c:26:3: warning: implicit declaration of function 'lua_getfenv' [-Wimplicit-function-declaration]
src/lib/tolua_event.c:31:4: warning: implicit declaration of function 'lua_setfenv' [-Wimplicit-function-declaration]
gcc -o src/lib/tolua_is.o -c -O2 -ansi -Wall -fPIC -Iinclude src/lib/tolua_is.c
gcc -o src/lib/tolua_map.o -c -O2 -ansi -Wall -fPIC -Iinclude src/lib/tolua_map.c
src/lib/tolua_map.c: In function 'tolua_bnd_setpeer':
src/lib/tolua_map.c:266:2: warning: implicit declaration of function 'lua_setfenv' [-Wimplicit-function-declaration]
src/lib/tolua_map.c: In function 'tolua_bnd_getpeer':
src/lib/tolua_map.c:274:2: warning: implicit declaration of function 'lua_getfenv' [-Wimplicit-function-declaration]
src/lib/tolua_map.c: In function 'tolua_usertype':
src/lib/tolua_map.c:398:2: warning: passing argument 2 of 'tolua_newmetatable' discards 'const' qualifier from pointer target type [enabled by default]
src/lib/tolua_map.c:28:12: note: expected 'char *' but argument is of type 'const char *'
src/lib/tolua_map.c: In function 'tolua_beginmodule':
src/lib/tolua_map.c:414:19: error: 'LUA_GLOBALSINDEX' undeclared (first use in this function)
src/lib/tolua_map.c:414:19: note: each undeclared identifier is reported only once for each function it appears in
src/lib/tolua_map.c: In function 'tolua_module':
src/lib/tolua_map.c:448:19: error: 'LUA_GLOBALSINDEX' undeclared (first use in this function)
src/lib/tolua_map.c: In function 'tolua_dobuffer':
src/lib/tolua_map.c:699:36: warning: value computed is not used [-Wunused-value]
scons: *** [src/lib/tolua_map.o] Error 1
scons: building terminated because of errors.
==> 错误: 在 build() 中发生一个错误。
    正在放弃...
==> ERROR: Makepkg was unable to build toluapp.

貌似 toluapp包一直都build不了。不懂什么原因。=(

离线

#2 2013-01-04 17:21:01

dryland718
会员
所在地: 3.1415926535897932384626433832
注册时间: 2011-10-30
帖子: 66
个人网站

Re: 装conky-lua错误啊,toluapp包装不了。

看评论

离线

#3 2013-01-04 19:02:44

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,489
个人网站

Re: 装conky-lua错误啊,toluapp包装不了。

轮到 Lua 纠结版本问题了。
Lua 5.1 和 Lua 5.2。

离线

#4 2013-01-04 19:58:49

nivengg
go spurs go
所在地: 局域网里
注册时间: 2012-12-27
帖子: 10

Re: 装conky-lua错误啊,toluapp包装不了。

百合仙子 说:

轮到 Lua 纠结版本问题了。
Lua 5.1 和 Lua 5.2。

仙子,你说的是什么意思?

离线

#5 2013-01-04 21:04:03

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,489
个人网站

Re: 装conky-lua错误啊,toluapp包装不了。

nivengg 说:
百合仙子 说:

轮到 Lua 纠结版本问题了。
Lua 5.1 和 Lua 5.2。

仙子,你说的是什么意思?

那个东西应该用 Lua 5.1 但是却用了 Lua 5.2。

离线

页脚