1

我一直在寻找是否有一种方法可以在不需要安装 Xcode 的情况下安装 Valgrind,因为我知道我已经安装了苹果的命令行工具。在安装 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

问候。

4

1 回答 1

0

如您所见,有xcode-select: Error: No Xcode is selected消息。看看这个

于 2012-08-17T12:44:10.993 回答