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

问题描述:

我一直在寻找相当一段时间,现在我知道我已经安装了苹果的Command Line Tools,而不需要安装Xcode,是否可以安装Valgrind。在安装Valgrind期间,我收到以下内容:
我可以在没有Xcode的情况下在Mac OS X 10.7.4上安装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 

此致。

正如你所见,有xcode-select: Error: No Xcode is selected消息。 检查this了。