我试图编译Luabind,但进展甚微。我的lua目录(包含src、makefile等)与luabind同级。我将LUA_PATH设置为/my/dirs/lua文件夹。我的操作系统是OSX Server 10.4。
当我进入luabind并输入bjam时,出现以下错误:
error: at Jamroot:101
error: *** Unable to find Lua Library
如果我将LUA_PATH设置为一个错误的目录,那么错误会出现在第73行(无法确定Lua包含目录)。
我大致遵循了这个教程:http://cfc.kizzx2.com/index.php/building-luabind-on-mac-os-x/。