Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试使用以下命令:
curl -R -O http://www.lua.org/ftp/lua-5.2.0.tar.gz tar zxf lua-5.2.0.tar.gz cd lua-5.2.0 make macosx test install
(但显然是 5.2.1)
但它说它不知道命令make。
make
您需要安装 XCode才能使用该make命令。然后转到:首选项,然后下载并安装名为“命令行工具”的组件。最后Install Xcode.app从您的应用程序文件夹运行。
Install Xcode.app