On Sep 24, 2009, at 7:16 AM, Tony Morales wrote:
When attempting to build project apr on 10A432 using 10A432 or 10B504, I get the following in my build log:
Error: TargetConfig not defined make[1]: *** [_targetconfig] Error 1 make: *** [install] Error 1 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++ BUILD TIME: 0h 0m 1s EXIT STATUS: 2
What does this mean? If I try to build project TargetConfig, then I get the following in my build log:
make: xcrun: Command not found Error: TargetConfig not defined make: *** [_targetconfig] Error 1 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++ BUILD TIME: 0h 0m 2s EXIT STATUS: 2
This is all using the latest svn rev (575).
Snow Leopard introduced the use of "xcrun" from within Makefiles which ends up invoking xcodebuild to determine where certain tools are found during the build process. It basically means we now have a 3rd class of projects after makefile-based and xcode-based, and it needs to be treated differently. I'm still working on a solution. You can experiment with -nochroot or with copying some Xcode binaries into the build root, but we'll have a working solution eventually. -Bill