[cfe-dev] Naive Mavericks Trunk Build Errors
Jean-Daniel Dupas
devlists at shadowlab.org
Fri Nov 1 06:56:26 PDT 2013
Le 1 nov. 2013 à 01:57, Jordan Rose <jordan_rose at apple.com> a écrit :
> The command line tools can also be installed from within Xcode, under the Downloads pane in Preferences.
I think it is no longer possible to do it from Xcode when using Xcode 5 and Maverick. This is due to the new way command line tools works in Maverick.
The base system contains stubs for standard cli and they are mapped to the Xcode buitin tools or to a stand-alone set of command line tools in /Library.
If neither are installed, the system presents a dialog asking if you want to install the command line tools, to download Xcode.
You can open this dialog and so request installation of the command line tools (even if Xcode is already installed) using:
xcode-select --install
> Originally I was going to suggest using the SKDROOT environment variable, but it's possible the lack of a physical /usr/include might still get you in trouble. Downloading the Command Line Tools is the way to get a setup closest to another Unix system.
>
> Sorry for the inconvenience here.
> Jordan
>
>
> On Oct 31, 2013, at 17:29 , support at goldencivet <support at goldencivet.com> wrote:
>
>> Hey guys.
>>
>> We sure appreciate the responses and diagnosis.
>>
>> To summarize for future victims…
>>
>> Some combination of upgrades to OS and Xcode en route to Mavericks GM may leave one sans essentials like /usr/include, which’ll unsurprisingly cause a variety of open source projects, not just LLVM/Clang, to fail with missing headers.
>>
>> One might even mistakenly take this absence for a “feature” of life literally under the new Xcode.app, but no...
>>
>> As suggested, the fix is to [download and re]install the command_line_tools_os_x_mavericks_for_xcode__late_october_2013 ADC package.
>>
>> Thanks!
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
-- Jean-Daniel
More information about the cfe-dev
mailing list