我搜索了很多网站来安装xnu内核 . 但是,当我安装xnu时有一些错误 .
Xcode版本:4.6(已安装的命令行工具)
XNU版本:xnu-2050.22.13
dtrace版本:dtrace-96
这是 ERRORS :
xcrun: error: unable to find utility "ctfconvert", not a developer tool or in PATH xcrun: error: unable to find utility "ctfmerge", not a developer tool or in PATH
我使用“make install”来安装dtrace,但它也显示错误 . 请帮我
2 回答
您缺少依赖项 . 长话短版,你需要先得到并制作dtrace工具:
你需要最新版本的苹果's dtools utilities. The easiest way to install the tools is with MacPorts. If you don' t有MacPorts,你可以下载它here .
安装MacPorts后,打开终端,然后运行“sudo port install dtrace”
XNU应该编译 .