Page 1 of 1

VLC 2.0.1 compiled from source fails to run from terminal

Posted: 13 Jun 2012 21:37
by Emerson Prado
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

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

Posted: 14 Jun 2012 06:59
by Rémi Denis-Courmont
And where does it fail? You quote shows VLC started succesfully.

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

Posted: 18 Jun 2012 19:14
by Emerson Prado
It doesn't. It just shows this message in the terminal window, but never opens up.

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

Posted: 19 Jun 2012 05:23
by Rémi Denis-Courmont
It does. If it did not, you'd get back to the shell command prompt.

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

Posted: 20 Jun 2012 22:44
by Emerson Prado
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

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

Posted: 21 Jun 2012 06:09
by Rémi Denis-Courmont
You did not enable the Qt4 UI in the build, that's all.

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

Posted: 22 Jun 2012 19:47
by Emerson Prado
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