LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 866|回复: 2

安装xine-lib,lirc时的出错,请帮忙.

[复制链接]
发表于 2006-3-28 17:51:13 | 显示全部楼层 |阅读模式
我的系统是LFS+BLFS 6.1已经安装了图形界面和gnome.但我想安装xine-lib+totem.可是根据totem依赖关系,要安装lirc,xine-lib.可是每次都不行.错误信息如下:
xine-lib-1.0.1
[PHP]In file included from xine_check.c:60:
/usr/X11R6/include/X11/Xlib.h:60:19: X11/X.h: No such file or directory
/usr/X11R6/include/X11/Xlib.h:63:28: X11/Xfuncproto.h: No such file or directory
/usr/X11R6/include/X11/Xlib.h:64:25: X11/Xosdefs.h: No such file or directory
In file included from xine_check.c:60:
/usr/X11R6/include/X11/Xlib.h:229: error: parse error before "ixmap"
/usr/X11R6/include/X11/Xlib.h:229: warning: no semicolon at end of struct or union
/usr/X11R6/include/X11/Xlib.h:230: warning: type defaults to `int' in declaration of `stipple'
/usr/X11R6/include/X11/Xlib.h:230: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xlib.h:233: error: parse error before "font"
省略部分,类似上面parse
xine_check.c:466: error: parse error before "dpy"
{standard input}: Assembler messages:
{standard input}:112: Warning: size of "x" is already 2; not changing to 4
{standard input}:113: Warning: size of "y" is already 2; not changing to 4
{standard input}:188: Warning: size of "minor_code" is already 4; not changing to 1
{standard input}:246: Warning: size of "data" is already 20; not changing to 4
make[3]: *** [xine_check.lo] 错误 1
make[3]: Leaving directory `/sources/xine-lib-1.0.1/src/xine-utils'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/sources/xine-lib-1.0.1/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/sources/xine-lib-1.0.1'
make: *** [all] 错误 2
[/PHP]

lirc-0.8.0
[PHP]
In file included from irxevent.c:88:
/usr/X11R6/include/X11/Xlib.h:60:19: X11/X.h: 没有那个文件或目录
/usr/X11R6/include/X11/Xlib.h:63:28: X11/Xfuncproto.h: 没有那个文件或目录
/usr/X11R6/include/X11/Xlib.h:64:25: X11/Xosdefs.h: 没有那个文件或目录

In file included from irxevent.c:88:
/usr/X11R6/include/X11/Xlib.h:229: error: parse error before "ixmap"
/usr/X11R6/include/X11/Xlib.h:229: warning: no semicolon at end of struct or union
/usr/X11R6/include/X11/Xlib.h:230: warning: type defaults to `int' in declaration of `stipple'
/usr/X11R6/include/X11/Xlib.h:230: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xlib.h:233: error: parse error before "font"
/usr/X11R6/include/X11/Xlib.h:233: warning: type defaults to `int' in declaration of `font'
/usr/X11R6/include/X11/Xlib.h:233: warning: data definition has no type or storage class
省略部分,类似上面parse
irxevent.c:578: error: parse error before "dpy"
irxevent.c:578: error: parse error before "dpy"
irxevent.c:613: error: `Window' undeclared (first use in this function)
irxevent.c:613: error: parse error before "cur"
irxevent.c:616: error: `cur' undeclared (first use in this function)
irxevent.c:645: error: parse error before "WindowID"
irxevent.c: In function `find_window':
irxevent.c:156: warning: statement with no effect
irxevent.c: In function `find_sub_sub_window':
irxevent.c:214: warning: value computed is not used
irxevent.c: In function `find_sub_window':
irxevent.c:258: warning: value computed is not used
make[2]: *** [irxevent.o] 错误 1
make[2]: Leaving directory `/sources/lirc-0.8.0/tools'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/sources/lirc-0.8.0'
make: *** [all] 错误 2
[/PHP]
从错误可以看到是缺少X.h之类的文件,可是我从哪里安装,属于那个软件包.
发表于 2006-3-28 21:01:58 | 显示全部楼层
/usr/X11R6/include/X11/Xlib.h
那,,这个文件存在不?。。。

很明显,这个文件属于 Xorg 或者 XFree86。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-28 21:45:38 | 显示全部楼层
没有,我找过,没有.用find /usr -iname 'xlib.h'都不行.
可是我已经装了xorg,为什么没有装那个文件.难道安装过程有错.我可是照着blfs 6.1的操作做的.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表