![vlc-2.0.4 安装错误(lua)](https://linux22.com/image/1078847/vlc-2.0.4%20%E5%AE%89%E8%A3%85%E9%94%99%E8%AF%AF(lua).png)
我将 ubuntu 10.0 升级到 12.04,通过软件中心安装了 vlc2.0.3,但高清视频无法完美播放。因此我下载了 VLC-2.0.4 并通过以下命令安装,但出现 lua 错误,
trendwise@Trendwise:~/Downloads/vlc-2.0.4$./configure
checking for LUA... no
configure: WARNING: No package 'lua5.1' found, trying lua >= 5.1 instead
checking for LUA... no
configure: WARNING: No package 'lua' found, trying manual detection instead
checking lua.h usability... no
checking lua.h presence... no
checking for lua.h... no
checking lauxlib.h usability... no
checking lauxlib.h presence... no
checking for lauxlib.h... no
checking lualib.h usability... no
checking lualib.h presence... no
checking for lualib.h... no
checking for luaL_newstate in -llua5.1 ... no
checking for luaL_newstate in -llua51 ... no
checking for luaL_newstate in -llua ... no
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.
我安装了 liblualib50、liblua5.1.0、liblua5.2.0,但再次出现错误,我应该安装哪些包?
答案1
另一种方法是通过 ppa 安装 vlc
打开终端并运行以下命令:
sudo add-apt-repository ppa:videolan/stable-daily
sudo apt-get update
sudo apt-get install vlc