1)问题1
ERROR: flex is not installed.
ERROR: GNU bison is not installed.
./bootstrap: 72: ./bootstrap: autoreconf: not found
root@c11cf9e6b275:/home/dong/vlc-3.0.4# apt-get install autoconf flex bison
2)
configure: error: Could not find lua. Lua is needed for some interfaces (rc, telnet, http) as well as many other custom scripts. Use --disable-lua to ignore this error.
3)
configure: error: protoc compiler needed for chromecast was not found
4)How to run VLC player in root
# cp /usr/bin/vlc /usr/bin/vlc-backup
# needle=$(objdump -d /usr/bin/vlc | grep euid | tail -1 | awk '{print "\\x"$2"\\x"$3"\\x"$4"\\x"$5"\\x"$6;}')
sed -ir "s/$needle/\xb8\x01\x00\x00\x00/" /usr/bin/vlc
5)启动失败
root@c11cf9e6b275:~/Desktop# vlc
VLC media player 3.0.4 Vetinari (revision 3.0.4-0-gf615db6332)
[0000000001e60590] main xml reader error: XML reader not found
[0000000001e55de0] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
[0000000001e70bc0] main interface error: no suitable interface module
[0000000001dd4e30] main libvlc error: interface "globalhotkeys,none" initialization failed
[0000000001dd4e30] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Remote control interface initialized. Type `help' for help.
[0000000001e593d0] main playlist: playlist is empty