LinuxSir.cn,穿越时空的Linuxsir!

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

config xine-ui 出错了

[复制链接]
发表于 2008-4-30 12:16:49 | 显示全部楼层 |阅读模式
checking for XINE... configure: error: Package requirements (libxine >= 1.1.0) were not met:

No package 'libxine' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XINE_CFLAGS
and XINE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

这个是出错信息:
我已经用export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
我之前安装xine-lib
在./configure 加了路径 --prefix=/usr/local/xine
我看到pkgconfig在我自定安装那个文件夹下:
/usr/local/xine/lib/pkgconfig
于是我把export后面的路径修改成我自定的,还是不行!!
发表于 2008-4-30 15:30:29 | 显示全部楼层
在/etc/ld.so.conf.d里面添加一个新文件,文件格式参考该文件夹中其他文件,内容为/usr/local/lib/xine,然后执行ldconfig,最后再重新confiure。--prefix=/usr/local/xine这个选项没有必要加,也加的不对。

如果这样不行的话,你可以重新编译安装xine-lib,在配置的时候指定路径 .configure --prefix=/usr ,然后编译安装,完成之后再安装xine-ui,使用默认配置就可以了。

我一直采用后者,没有问题。
回复 支持 反对

使用道具 举报

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

本版积分规则

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