Compiling VLC on Linux: Error couldnt find Lua

喜欢而已 提交于 2019-12-21 09:08:43

问题


I am trying to compile VLC for Linux. When I run the configure script, I am getting the error message

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.

I have lua on my system. I ran lua -v and got

Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio

whereis lua gives

/usr/bin/lua /usr/lib/lua /usr/share/lua /usr/share/man/man1/lua.1.gz

Which looks to be a standard location. Any ideas on why configure isn't picking up lua?


回答1:


As mentioned by Not_a_Golfer, you need Lua header/library files




回答2:


On Debian based

$ apt-get install lua5.2 liblua5.2-dev

Worked for me



来源:https://stackoverflow.com/questions/9925363/compiling-vlc-on-linux-error-couldnt-find-lua

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!