2012-03-29 88 views
6

我想編譯Linux的VLC。當我運行配置腳本,我收到錯誤消息在Linux上編譯VLC:錯誤couldnt找到Lua

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.

我有我的盧阿系統上。我跑LUA -v,並得到

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

whereis盧阿給

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

這看起來是一個標準的位置。關於爲什麼配置的任何想法是不拾起lua?

+1

你有沒有LUA頭? – 2012-03-29 12:33:26

+0

標題應該在哪裏?我檢查了/ usr/include /沒有運氣。 – jogabonito 2012-03-29 12:36:35

+1

http://rpmfind.net/linux/rpm2html/search.php?query=lua-devel – ecle 2012-03-29 12:38:33

回答

8

在基於Debian

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

爲我工作