Re: 10.15 command line tools headers missing

2019-09-13 Thread Mark Allan via Cocoa-dev

> On 13 Sep 2019, at 5:58 pm, Jens Alfke  wrote:
>> They've pulled the same trick again with 10.15 but this time, the installer 
>> for the headers is also missing meaning I'm unable to compile 3rd party 
>> software using the command line tools because of missing headers like zlib 
>> and libxml2.
> 
> That's the first I've heard of this — I've had Xcode 11 for months and I 
> build 3rd party software with CLI tools all the time. And I assume lots of 
> other people do too, otherwise HomeBrew would be pretty broken :)
> 
> The SDK headers aren't installed in /usr/include or 
> /System/Library/Frameworks, but Clang's default header search path is 
> pre-configured to include the equivalent dirs in the SDK.

Hmm, I must be dreaming...or maybe just sleeping! It looks like the headers 
*were* included with the command line tools this year.  The ./configure script 
for the tool I'm building has flags for specifying the path to zlib and libxml, 
setting these to /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr allows 
the whole thing to compile perfectly now. Thank you.

Something has definitely changed with the dev-tools setup though, as I never 
had to do that in the past.  Regardless, it's working now, so I'm happy.

Thanks
Mark

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: 10.15 command line tools headers missing

2019-09-13 Thread Saagar Jha via Cocoa-dev
FWIW, the Command Line Tools (which is significantly smaller than Xcode) 
includes the headers (at 
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/), and will 
also set Clang’s default header search path so that these can be found. You can 
get that with “xcode-select --install”, though if you’re trying to future-proof 
your setup I’ve heard rumors that the Command Line Tools may be dropped as well 
:( I don’t know what Homebrew finally decided on, but I do remember it being 
“pretty broken” (well, more than it usually is) during the macOS Mojave beta 
period because many of their formulas depended on /usr/include existing and 
would only build if you installed the headers package.

Saagar Jha

> On Sep 13, 2019, at 09:58, Jens Alfke via Cocoa-dev 
>  wrote:
> 
> 
> 
>> On Sep 13, 2019, at 1:32 AM, Mark Allan via Cocoa-dev 
>>  wrote:
>> 
>> I was initially reluctant to post this here because of NDA concerns
> 
> No worries, there hasn't been a F*cking NDA for years now. You can talk about 
> beta Xcode builds in public.
> 
>> They've pulled the same trick again with 10.15 but this time, the installer 
>> for the headers is also missing meaning I'm unable to compile 3rd party 
>> software using the command line tools because of missing headers like zlib 
>> and libxml2.
> 
> That's the first I've heard of this — I've had Xcode 11 for months and I 
> build 3rd party software with CLI tools all the time. And I assume lots of 
> other people do too, otherwise HomeBrew would be pretty broken :)
> 
> The SDK headers aren't installed in /usr/include or 
> /System/Library/Frameworks, but Clang's default header search path is 
> pre-configured to include the equivalent dirs in the SDK.
> 
> —Jens
> ___
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/cocoa-dev/saagar%40saagarjha.com
> 
> This email sent to saa...@saagarjha.com

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: 10.15 command line tools headers missing

2019-09-13 Thread Jens Alfke via Cocoa-dev


> On Sep 13, 2019, at 1:32 AM, Mark Allan via Cocoa-dev 
>  wrote:
> 
> I was initially reluctant to post this here because of NDA concerns

No worries, there hasn't been a F*cking NDA for years now. You can talk about 
beta Xcode builds in public.

> They've pulled the same trick again with 10.15 but this time, the installer 
> for the headers is also missing meaning I'm unable to compile 3rd party 
> software using the command line tools because of missing headers like zlib 
> and libxml2.

That's the first I've heard of this — I've had Xcode 11 for months and I build 
3rd party software with CLI tools all the time. And I assume lots of other 
people do too, otherwise HomeBrew would be pretty broken :)

The SDK headers aren't installed in /usr/include or /System/Library/Frameworks, 
but Clang's default header search path is pre-configured to include the 
equivalent dirs in the SDK.

—Jens
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


10.15 command line tools headers missing

2019-09-13 Thread Mark Allan via Cocoa-dev
Hi all,

I was initially reluctant to post this here because of NDA concerns, but as 
Google is surfacing Apple's developer forum pages (including the post below), I 
figured I'm OK!

As most of you probably know, in 10.14 last year, Apple stopped installing 
headers with the command line tools, but it was still possible to get them via 
a separate .pkg installer located at

/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg.

They've pulled the same trick again with 10.15 but this time, the installer for 
the headers is also missing meaning I'm unable to compile 3rd party software 
using the command line tools because of missing headers like zlib and libxml2.
 
Does anyone know where to get them for macOS 10.15 Catalina?

They're not on https://developer.apple.com/download/more/

Thanks
Mark

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com