LinuxSir.cn,穿越时空的Linuxsir!

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

apt-get install libxine-dev 和 安装xine-lib是否一样?

[复制链接]
发表于 2008-2-4 21:47:21 | 显示全部楼层 |阅读模式
现在准备安装xine-ui,可是前提是必须安装xine-lib,可是对xine-lib进行编译时,出现了以下提示:
cd xine-lib
./autogen.sh

........
****************************************************************
WARNING! No X11 output plugins will be built.

For some reason, the requirements for building the X11 video
output plugins are not met. That means, that you will NOT be
able to use the resulting xine-lib to watch videos in a window
on any X11-based display (e.g. your desktop).

If this is not what you want, provide the necessary X11 build
dependencies (usually done by installing a package called
XFree86-devel or similar) and run configure again.
****************************************************************

本想apt-get install XFree86-devel,可是提示没有发现该文件,由于是警告信息,所以我接下来
继续make,可是又有出错信息,如下:
……
make[2]: Leaving directory `/usr/src/xine-lib/doc/faq'
make[2]: Entering directory `/usr/src/xine-lib/doc'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/usr/src/xine-lib/doc'
make[1]: Leaving directory `/usr/src/xine-lib/doc'
Making all in m4
make[1]: Entering directory `/usr/src/xine-lib/m4'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/xine-lib/m4'
Making all in po
make[1]: Entering directory `/usr/src/xine-lib/po'
test ! -f ./libxine1.pot || \
          test -z "cs.gmo de.gmo es.gmo eu.gmo fr.gmo it.gmo pl.gmo pt_BR.gmo sk.gmo" || make cs.gmo de.gmo es.gmo eu.gmo fr.gmo it.gmo pl.gmo pt_BR.gmo sk.gmo
make[2]: Entering directory `/usr/src/xine-lib/po'
rm -f cs.gmo && : -c --statistics -o cs.gmo cs.po
mv: cannot stat `t-cs.gmo': No such file or directory
make[2]: *** [cs.gmo] Error 1
make[2]: Leaving directory `/usr/src/xine-lib/po'
make[1]: *** [stamp-po] Error 2
make[1]: Leaving directory `/usr/src/xine-lib/po'
make: *** [all-recursive] Error 1
debian:/usr/src/xine-lib#

后来,找一些帖子说,debian本身就有xine的lib,安装命令是:
apt-get install libxine-dev
我运行了一下,有这个安装源。

我想问的是,通过安装libxine-dev和安装xine-lib,是一样的吗?
安装了libxine-dev是否可以成功安装xine-ui?
我make时这些错误信息是如何产生的?

我的运行环境:vmware+debian-40r2-i386-netinst(只安装了一个基本系统)
发表于 2008-2-5 07:04:16 | 显示全部楼层
Debian 4.0r2 (Etch) 是采用 xorg 的,当然不会有 xfree86 的包了

-dev 的包一般是提供某些库或其头文件供编译时使用的,对某个软件能否安装便要视乎它的依赖是否已满足了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-2-5 08:54:08 | 显示全部楼层
Post by d00m3d;1814330
Debian 4.0r2 (Etch) 是采用 xorg 的,当然不会有 xfree86 的包了

-dev 的包一般是提供某些库或其头文件供编译时使用的,对某个软件能否安装便要视乎它的依赖是否已满足了


那我想问一下,如何解决make产生的错误?
谢谢!
回复 支持 反对

使用道具 举报

发表于 2008-2-5 12:46:30 | 显示全部楼层
Not very sure on what went wrong.

However, it looks xine-ui is available in deb package, maybe it is easier to apt-get install.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-2-5 14:03:10 | 显示全部楼层
Post by d00m3d;1814374
Not very sure on what went wrong.

However, it looks xine-ui is available in deb package, maybe it is easier to apt-get install.


apt-get install xine-ui 是可以的,不过xine-ui是xine的前台显示程序,要想使xine能正常工作,必须得先安装xine的内部引擎即xine-lib,而apt-get install xine-lib是没有的。
回复 支持 反对

使用道具 举报

发表于 2008-2-5 15:42:48 | 显示全部楼层
xine-lib 在 Debian Etch 下是由 libxine1 提供的,你如果装 libxine-dev 的话会自动装上的
回复 支持 反对

使用道具 举报

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

本版积分规则

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