2012-07-22 28 views
1

我一直在尋找相當一段時間,現在我知道我已經安裝了蘋果的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 

此致。

回答

0

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

相關問題