ubuntu – 没有包’lua’发现,但我已经安装

前端之家收集整理的这篇文章主要介绍了ubuntu – 没有包’lua’发现,但我已经安装前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我试图在Ubuntu 10.4 LTS上安装Lsyncd,但是我收到一些错误
  1. > checking for LUA... no checking for
  2. > LUA... no checking for LUA...
  3. > configure: error: Package requirements
  4. > (lua >= 5.1.3) were not met:
  5. >
  6. > No package 'lua' found
  7. >
  8. > Consider adjusting the PKG_CONFIG_PATH
  9. > environment variable if you installed
  10. > software in a non-standard prefix.
  11. >
  12. > Alternatively,you may set the
  13. > environment variables LUA_CFLAGS and
  14. > LUA_LIBS to avoid the need to call
  15. > pkg-config. See the pkg-config man
  16. > page for more details.

或者我知道我已经安装了Lua:

  1. # lua -v
  2. Lua 5.1.4 Copyright (C) 1994-2008 Lua.org,PUC-Rio

我读了几个论坛,我需要一个lua.pc文件,但我找不到它。有没有人知道如何进行?

谢谢

编辑:解决

一些包丢失;)

  1. apt-get install liblua5.1-0-dev liblua50-dev liblualib50-dev
如果您自己编译软件,您应该不仅要安装运行时(lua5.1),还要安装开发包(liblua5.1-0-dev)。该包包含lua5.1.pc文件

也在lua source distribution

猜你在找的Ubuntu相关文章