2011-10-22 20 views
0

我安裝的Lua捆綁到TextMate的,但是當點擊「檢查語法」我得到這個錯誤:TextMate的 - 無法找到luac

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-力

進出口運行的Mac OS X獅子10.7.2

問題出在哪裏? 謝謝。

回答

1

有你貼出來有一條線:

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

這表明你需要更新一個路徑,以便TextMate中可以找到LUA。

查看the manual for TextMate,看看答案是否清晰。

+0

我知道這一點,我試圖添加路徑,但仍然是相同的結果... – networ

+0

您在終端中鍵入「lua」,發現該錯誤消息是要求luac。 ** luac **在哪裏,並且在你的PATH環境變量中? –

+0

我輸入「lua」來檢查lua是否安裝在我的系統上......我不知道luac是什麼,但我想它是lua庫的一部分...... – networ