在fedora 12上安装vlc player

yum install vlc,当然是可以的,可是运行的时候却提示:

“VLC is not supposed to be run as root. Sorry.
If you need to use real-time priorities and/or privileged TCP ports
you can use vlcbak-wrapper (make sure it is Set-UID root and
cannot be run by non-trusted users first).”

可是我经常会在root帐号下进行操作,所以得自己重新编译vlc,跳过一大堆依赖关系,终于安装成功。

其中最后提示找不到QT 4,到nokia网站上下载之,安装之后还是提示找不到---所以需要修改PKG_CONFIG_PATH

PKG_CONFIG_PATH=/usr/lib:/usr/lib/pkgconfig:/usr/local/lib/pkgconfig/:/opt/qtsdk-2010.02/qt/lib/pkgconfig/

然后export PKG_CONFIG_PATH

然后编译就可以了:./configure  --enable-run-as-root --prefix=/root/soft/vlc

DONE



没有评论: