我可以在没有Xcode的情况下在Mac OS X 10.7.4上安装Valgrind吗?

时间:2012-07-22 16:41:55

标签: xcode osx-lion valgrind

我一直在搜索是否有一种方法可以安装Valgrind而无需安装Xcode,因为我知道我已经安装了苹果的Command Line Tools。在安装Valgrind期间,我得到以下结果:

Making all in coregrind
(cd m_mach && mig /usr/include/mach/mach_vm.defs /usr/include/mach/task.defs /usr/include/mach/thread_act.defs /usr/include/mach/vm_map.defs)
xcode-select: Error: No Xcode is selected. Use xcode-select -switch /Applications/Xcode.app to select /Applications/Xcode.app, or see the xcode-select manpage (man xcode-select) for further information.
/usr/bin/mig: line 174: Error: /usr/bin/xcode-select returned unexpected error.: No such file or directory
mig: fatal: "<no name yet>", line -1: no SubSystem declaration
make[2]: *** [m_mach/mach_vmUser.c] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

问候。

1 个答案:

答案 0 :(得分:0)

正如您所看到的,有xcode-select: Error: No Xcode is selected条消息。 检查this