【问题标题】:Can I install Valgrind on Mac OS X 10.7.4 without having Xcode?我可以在没有 Xcode 的情况下在 Mac OS X 10.7.4 上安装 Valgrind 吗?
【发布时间】:2012-08-17 20:44:10
【问题描述】:

我一直在寻找是否有一种方法可以在不需要安装 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

问候。

【问题讨论】:

    标签: xcode osx-lion valgrind


    【解决方案1】:

    如您所见,有xcode-select: Error: No Xcode is selected 消息。 签出this

    【讨论】:

      猜你喜欢
      • 2011-05-20
      • 2012-07-11
      • 1970-01-01
      • 2020-08-12
      • 2016-07-23
      • 2012-10-21
      • 1970-01-01
      • 1970-01-01
      • 2020-09-23
      相关资源
      最近更新 更多