0

我将 lua 包安装到 Textmate,但是当单击“检查语法”时,我收到此错误:

Unable to locate luac

To succesfully run this action you need to install «luac». If you know that it is already installed on your system, you instead need to update your search path.

The manual has a section about how to update your search path.

For diagnostic purposes, the paths searched for «luac» were:

/usr/bin
/bin
/usr/sbin
/sbin

我可能正确安装了 lua,当我将“lua”写入终端时,我会得到:Lua 5.1.4 版权所有 (C) 1994-2008 Lua.org, PUC-Rio

我正在运行 Mac OS X Lion 10.7.2

哪里有问题?谢谢你。

4

1 回答 1

1

您在那里粘贴了一行:

The manual has a section about how to update your search path.

这表明您需要更新路径,以便 TextMate 可以找到 lua。

查看TextMate 的手册,看看那里的答案是否清晰。

于 2011-10-22T12:27:52.803 回答