Linux VLC编译安装成功,不能运行

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Linux VLC编译安装成功,不能运行相关的知识,希望对你有一定的参考价值。

[henry@PC vlc-1.1.3]$ ./vlc
VLC media player 1.1.3 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
Warning: call to signal(13, 0x1)
[0x9f050e4] inhibit interface error: Failed to connect to the D-Bus session daemon: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[0x9f050e4] main interface error: no suitable interface module
[0x9f03a34] main interface error: no suitable interface module
[0x9d888f4] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x9d888f4] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
No protocol specified
[0x9f05204] qt4 interface error: Could not connect to X server
No protocol specified
[0x9f05204] skins2 interface error: Cannot open display
[0x9f05204] skins2 interface error: cannot initialize OSFactory
[0x9d888f4] main libvlc error: interface "default" initialization failed
[henry@PC vlc-1.1.3]$

sudo make install
sudo ldconfig
vlc
参考技术A 你怎么装的?是不是忘了装 GUI 界面或者这个界面需要附加安装的东西?

VLC源代码包如何在linux下编译+调试

本人是linux菜鸟,求详细步骤。最好举一个VLC版本在linux下的编译步骤和调试步骤。(注:不是在cygwin环境)

你是为了装软件还是为了学习?如果只是装个软件,为什么不装二进制版的呢(.deb .rpm)。自己编译挺麻烦的。
如果非想自己编译,一般都是(我没编译过VLC,编译过其他的,感觉像VLC这么大的软件应该得较长时间!):先解压下载的源码包(tar.bz),然后从终端进入解压后的源码目录,在终端输入:一 ./configure ;二 make ;三 make install ;
一,好像是为了检查当前系统参数,也可以在后面加环境变量参数(./configure [options])。如果没问题便生成makefile
二,根据makefile编译
三,编译安装。(二,可省略)
其实,不管是windows还是linux下载了软件解压后第一件事是读readme!!!!!!!!!!!(其实你应该自己看readme和install,因为别人也不知道你下的软件什么情况,这两个文件一般都会告诉你怎样安装以及软件依赖什么包!!)
再是读install ,这是基本素质。要养成自觉性,这在linux下尤为重要!

至于调试,比较麻烦,不过如果只是装软件而不改代码的情况下,不用专门调试(难道你还要用专门工具调试?) 既然说是菜鸟,又稿这么复杂的东西,并且搞这么复杂的东西又不在更专业的地方提问,百度知道一般是解决日常问题的地方!!!
不过一般情况下执行上述三步时会报错,根据它报错情况自己想办法解决,一般来说是依赖不能满足!
参考技术A 你在 Linux 上编译成功了吗 我现在公司也要求在Linux 上面编译 能告诉我一下具体的方法吗 多谢!! 403818952 我的QQ 多谢了 !!

以上是关于Linux VLC编译安装成功,不能运行的主要内容,如果未能解决你的问题,请参考以下文章

VLC源代码包如何在linux下编译+调试

64位linux编译32位程序

Linux下如何编译,运行C程序?需要安装编译器吗

linux下怎么编译安装驱动?

win10我安装了gcc编译器可以运行gcc命令,为啥不能使用g++命令呢?如图

Linux系统shell脚本之nginx编译安装