0
我想在OS X 10.7.4中安裝valgrind。我跟着these說明。一切都很好,直到我跑make
,這給了我這個錯誤:我該如何解決這個valgrind OS X 10.7.4出錯?
...
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)
2012-07-07 20:45:26.771 xcodebuild[82091:70b] [MT] DVTAssertions: ASSERTION FAILURE in /SourceCache/DVTFoundation/DVTFoundation-580/Framework/Classes/DeveloperStructure/DVTPlatform.m:430
Details: The Mac OS X platform is missing - cannot set a default platform.
Object: <DVTPlatform>
Method: +loadAllPlatforms
Thread: <NSThread: 0x40010a220>{name = (null), num = 1}
Hints: None
Backtrace:
0 0x00000001023d4448 -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in DVTFoundation)
1 0x00000001023d4304 _DVTAssertionFailureHandler (in DVTFoundation)
2 0x00000001023735de +[DVTPlatform loadAllPlatforms] (in DVTFoundation)
3 0x000000010255985e IDEInitialize (in IDEFoundation)
4 0x00000001028d374c -[Xcode3CommandLineBuildTool run] (in Xcode3Core)
5 0x000000010236bd9f (in xcodebuild)
6 0x000000010236bc28 (in xcodebuild)
7 0x0000000000000005
/Developer/usr/bin/xcodebuild fails with 6 - Device not configured
/usr/bin/mig: line 174: : command not found
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
我發現this後暗示,這可能是與Xcode的路徑問題,但路徑似乎是按照如下正確:
$ xcode-select -print-path
/Developer
有沒有人有任何建議?
什麼的Xcode的版本? – 2012-07-07 13:08:44
我目前已安裝Xcode 4.1。我現在正在下載4.3.3,或許這會照顧到這個問題。 – c00kiemonster 2012-07-07 13:23:44