VLC 2.0.1 compiled from source fails to run from terminal

*nix specific usage questions
Emerson Prado
New Cone
New Cone
Posts: 6
Joined: 13 Jun 2012 18:52

VLC 2.0.1 compiled from source fails to run from terminal

Postby Emerson Prado » 13 Jun 2012 21:37

Hi all,
I compiled vlc 2.0.1 from source to get the latest stable version and check a playlist possible bug. I use Linux Mint Debian Edition (which follows Debian Testing kinda close), which currently has 2.0.0.
I configured with "--disable -lua" switch, since I couldn't settle luac dependency, even after installing libcsnd-dev and liblua5.1-luacsnd5.2. I could resolve other dependencies to the point "./configure" passed without errors, but it gave me a bunch of warnings. "make" was OK. I just didn't do "make install", not to mess with my current vlc installation.
I tried to run vlc from the cli, but it halted with the following message:

Code: Select all

me@computer ~/Programas/Multimídia/vlc-2.0.1 $ ./vlc VLC media player 2.0.1 Twoflower (revision 2.0.1-0-gf432547) [0x9716468] main interface error: no suitable interface module [0x96a09d8] main libvlc error: interface "globalhotkeys,none" initialization failed [0x96a09d8] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. Remote control interface initialized. Type `help' for help.
I found another thread recommending to delete ~/.config/vlc but, since vlc 2.0.1 was not installed, it wouldn't make sense (I later purged vlc 2.0.0 and deleted the said directory, but this made no difference).

Could I be missing some module? I also tried installing libvlc5 and libvlc-dev, but the error kept the same. Or should I have paid more attention to the ./configure warnings?

Many thanks,
Emerson

Rémi Denis-Courmont
Developer
Developer
Posts: 15321
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC 2.0.1 compiled from source fails to run from termina

Postby Rémi Denis-Courmont » 14 Jun 2012 06:59

And where does it fail? You quote shows VLC started succesfully.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Emerson Prado
New Cone
New Cone
Posts: 6
Joined: 13 Jun 2012 18:52

Re: VLC 2.0.1 compiled from source fails to run from termina

Postby Emerson Prado » 18 Jun 2012 19:14

It doesn't. It just shows this message in the terminal window, but never opens up.

Rémi Denis-Courmont
Developer
Developer
Posts: 15321
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC 2.0.1 compiled from source fails to run from termina

Postby Rémi Denis-Courmont » 19 Jun 2012 05:23

It does. If it did not, you'd get back to the shell command prompt.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Emerson Prado
New Cone
New Cone
Posts: 6
Joined: 13 Jun 2012 18:52

Re: VLC 2.0.1 compiled from source fails to run from termina

Postby Emerson Prado » 20 Jun 2012 22:44

Now I'm confused. I don't get a vlc window or panel button. What exactly is running? How do I use the program at this point?
Thanks,
Emerson

Rémi Denis-Courmont
Developer
Developer
Posts: 15321
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC 2.0.1 compiled from source fails to run from termina

Postby Rémi Denis-Courmont » 21 Jun 2012 06:09

You did not enable the Qt4 UI in the build, that's all.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Emerson Prado
New Cone
New Cone
Posts: 6
Joined: 13 Jun 2012 18:52

Re: VLC 2.0.1 compiled from source fails to run from termina

Postby Emerson Prado » 22 Jun 2012 19:47

You solved my problem! If fact, it wasn't a matter of enabling qt4, but many required libraries were just not installed, including some related to qt4. Anyway, by searching how to enable qt4, I ended up in the step by step instructions to build vlc from source, and installed everything required. This also solved a luac issue I was having.
vlc worked, though muted, trying to send audio to Pulse, while my system has Alsa (and I remove any Pulse stuff as soon as I see one crawling into my machine). But running ./configure with --enable-alsa and --disable-pulse (and other sound systems, just to make sure) got me listening to music again.
Thanks!
Emerson


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 30 guests