我試圖安裝Lsyncd上Ubuntu的LTS 10.4,但我得到一些錯誤:沒有包「LUA」找到,但我把它安裝
> checking for LUA... no checking for
> LUA... no checking for LUA...
> configure: error: Package requirements
> (lua >= 5.1.3) were not met:
>
> No package 'lua' found
>
> Consider adjusting the PKG_CONFIG_PATH
> environment variable if you installed
> software in a non-standard prefix.
>
> Alternatively, you may set the
> environment variables LUA_CFLAGS and
> LUA_LIBS to avoid the need to call
> pkg-config. See the pkg-config man
> page for more details.
或者我知道我有的Lua安裝:
# lua -v
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
我在幾個論壇上看到,我需要一個lua.pc文件,但我找不到它。有誰知道如何繼續?
謝謝
編輯:解決
一些包不翼而飛;)
apt-get install liblua5.1-0-dev liblua50-dev liblualib50-dev
如果您使用的是Lua 5.1,則不需要'50'。這些是爲Lua 5.0。 – jpjacobs 2012-01-09 08:33:09