[darwinbuild-dev] Error: TargetConfig not defined
William Siegrist
wsiegrist at apple.com
Thu Sep 24 14:28:47 PDT 2009
tconf is crashing, but I have not isolated the cause yet. This is a
problem for many projects, so its on the top of my list to fix. Thanks
for reporting it.
-Bill
On Sep 24, 2009, at 8:01 AM, Tony Morales wrote:
> I'll try copying over xcrun and see what happens.
>
> However, project apr doesn't use xcodebuild or xcrun to build, as
> far as I can tell. What does the TargetConfig not defined error
> mean when I try and build apr? It appears that the TargetConfig
> root was downloaded so I shouldn't need to rebuild it.
>
> Tony
>
>
> On Sep 24, 2009, at 7:43 AM, William Siegrist wrote:
>
>> 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
>>
>>
>>
>
More information about the darwinbuild-dev
mailing list