【发布时间】:2011-07-18 00:44:06
【问题描述】:
我正在尝试在 Ubuntu 10.4 LTS 上安装 Lsyncd,但出现了一些错误:
> 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。
标签: ubuntu lua pkg-config