Turns out the problem was user error. I had set xcode-select to the
xcodebuild located in /usr/bin/ from the system root. I changed it to
point to /Xcode.app/contents/developer/ and was able to make and
install Valgrind with no issues.

On Wed, Apr 11, 2012 at 1:44 AM, Julian Seward <jsew...@acm.org> wrote:
>
> Some kind of XCode installation problem, I'd guess.
>
> J
>
> On Wednesday, April 11, 2012, Dan Bearl wrote:
>> Hello all,
>> I am new to Valgrind, which I am trying to install for a class, and am
>> having trouble getting it to build on my system. I am running on OS X
>> 10.7.3.
>>
>> When I run make, everything goes fine until it gets to coregrind.
>> These are the errors I get at the point of failure:
>>
>> 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)
>> sh: /users/danielmbearl/library/developer/usr/bin/xcodebuild: No such
>> file or directory
>> /users/danielmbearl/library/developer/usr/bin/xcodebuild fails with
>> 32512 - Unknown error: 32512
>> /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
>>
>> I used xcode-select to point to the correct location for xcodebuild,
>> but when I tried to make it again, it got to the sh:
>> /usr/bin/xcodebuild and just froze for 10-15 minutes before I had to
>> force Shell to quit.
>>
>> I'm really at a loss here.
>>
>> I'm not sure what's going on with mig, so any insight there would be
>> helpful.
>>
>> Thanks!
>>
>> -Dan
>>
>> ---------------------------------------------------------------------------
>> --- Better than sec? Nothing is better than sec when it comes to
>> monitoring Big Data applications. Try Boundary one-second
>> resolution app monitoring today. Free.
>> http://p.sf.net/sfu/Boundary-dev2dev
>> _______________________________________________
>> Valgrind-users mailing list
>> Valgrind-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/valgrind-users
>



-- 
"Here is a test to find whether your mission in life is finished: If
you're alive, it isn't."

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to