China-Spiner / ibus-cloud-pinyin

Automatically exported from code.google.com/p/ibus-cloud-pinyin
GNU General Public License v3.0
0 stars 1 forks source link

安装中出现错误 #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

debian sid 
按提示安装好所有依赖,make,提示:error: lua5.1 not found in 
specified Vala API directories or GObject-Introspection GIR directories
何解?

Original issue reported on code.google.com by wendao...@gmail.com on 24 Jun 2010 at 1:11

GoogleCodeExporter commented 9 years ago
我尝试在 svn r85 中修复了这个问题,你试试看?

Original comment by arcpp.zju@gmail.com on 24 Jun 2010 at 3:42

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
r85提示的错误:
/home/net/ibus-cloud-pinyin-read-only/src/request-main.vala.c:11:17: error: 
lua.h: 没有那个文件或目录
/home/net/ibus-cloud-pinyin-read-only/src/request-main.vala.c:36: error: 
expected ‘)’ before ‘*’ token
/home/net/ibus-cloud-pinyin-read-only/src/request-main.vala.c:38: error: 
expected ‘)’ before ‘*’ token
/home/net/ibus-cloud-pinyin-read-only/src/request-main.vala.c:54: error: 
expected ‘)’ before ‘*’ token
/home/net/ibus-cloud-pinyin-read-only/src/request-main.vala.c:101: error: 
expected ‘)’ before ‘*’ token
/home/net/ibus-cloud-pinyin-read-only/src/request-main.vala.c: In function 
‘_vala_main’:
/home/net/ibus-cloud-pinyin-read-only/src/request-main.vala.c:128: error: 
‘lua_State’ undeclared (first use in this function)
/home/net/ibus-cloud-pinyin-read-only/src/request-main.vala.c:128: error: (Each 
undeclared identifier is reported only once
/home/net/ibus-cloud-pinyin-read-only/src/request-main.vala.c:128: error: for 
each function it appears in.)
/home/net/ibus-cloud-pinyin-read-only/src/request-main.vala.c:128: error: 
‘vm’ undeclared (first use in this function)
/home/net/ibus-cloud-pinyin-read-only/src/request-main.vala.c:179: error: 
expected expression before ‘)’ token
/home/net/ibus-cloud-pinyin-read-only/src/request-main.vala.c:188: error: 
‘_l_response_lua_cfunction’ undeclared (first use in this function)
error: cc exited with status 256
Compilation failed: 1 error(s), 0 warning(s)
make[1]: *** [ibus-cloud-pinyin-request] 错误 1
make[1]: Leaving directory `/home/net/ibus-cloud-pinyin-read-only/src'
make: *** [src/ibus-engine-cloud-pinyin] 错误 2
make: *** 正在删除文件“src/ibus-engine-cloud-pinyin”

Original comment by wendao...@gmail.com on 24 Jun 2010 at 4:13

GoogleCodeExporter commented 9 years ago
先装上 liblua5.1-0-dev 再试试看?

另外还需要 libsqlite3-dev, libgtk2.0-dev, libibus-dev, libnotify-dev

这些源代码的软件包不容易通过脚本检查,需要手动安装。

Original comment by arcpp.zju@gmail.com on 24 Jun 2010 at 4:17

GoogleCodeExporter commented 9 years ago
你所说的几个包都安装了。

Original comment by wendao...@gmail.com on 24 Jun 2010 at 4:19

GoogleCodeExporter commented 9 years ago
看起来是 Debian 开发者比较固执:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=564088

我现在没有 debian 不知道该如何 patch, 
不过肯定是有办法的...

Original comment by arcpp.zju@gmail.com on 24 Jun 2010 at 4:36

GoogleCodeExporter commented 9 years ago

Original comment by arcpp.zju@gmail.com on 24 Jun 2010 at 4:36

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
r87 应该可以处理这种情况了。

Original comment by arcpp.zju@gmail.com on 24 Jun 2010 at 5:21

GoogleCodeExporter commented 9 years ago
ok,可以了。

Original comment by wendao...@gmail.com on 24 Jun 2010 at 6:49