Re: building scutil
Re: building scutil
- Subject: Re: building scutil
- From: Sam Marshall <email@hidden>
- Date: Wed, 01 Apr 2015 12:06:07 -0400
Hi marty,
A lot of the open source packages lack the necessary dependencies or private headers in the SDK that Apple ships with Xcode. I have a project that assembles additional SDKs so that many of Apple’s open source packages can be built “out of the box” (https://github.com/samdmarshall/OSXPrivateSDK). I am running 10.9.5, but I was just able to successfully build the scutil target from configd-699.1.5 using the “PrivateSDK10.10” SDK bundle.
Sam Marshall
On Apr 1, 2015, at 11:36, marty leisner <email@hidden> wrote:
> I'm new to darwin, I've been building for Unix since v7.
>
> It seems much of the apple opensource is VERY difficult to build (impossible?).
>
> I'm trying Yosemite, and I want to build scutil (to reverse engineer how DNS servers are retrieved).
>
> I'd like to "run" code (and instrument the running code) rather than "statically" looking at code.
>
> When I try to build I get:
> /Users/martyleisner/src/git/apple-opensource-mirror/projects-10.10/configd-699.1.5/libSystemConfiguration/libSystemConfiguration_client.c:29:10: fatal error:
> 'vproc_priv.h' file not found
> #include <vproc_priv.h>
>
> When I do
>
> xcodebuild -target scutil
>
> I get:
>
> /Users/martyleisner/src/git/apple-opensource-mirror/projects-10.10/configd-699.1.5/SystemConfiguration.fproj/SCNetworkConnectionPrivate.h:30:10: fatal error:
> 'ne_session.h' file not found
> #include <ne_session.h>
>
>
> This is my build machine:
>
> macmini2:configd-699.1.5 leisner$ xcodebuild -version
> Xcode 6.1.1
> Build version 6A2008a
> macmini2:configd-699.1.5 leisner$ sw_vers
> ProductName: Mac OS X
> ProductVersion: 10.10.2
> BuildVersion: 14C109
>
> marty
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Darwin-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden