On Fri, Sep 18, 2015 at 10:58 AM, Jack Howarth <howarth.at.f...@gmail.com> wrote:
> % xcodebuild -version -sdk macosx10 > > xcodebuild: error: SDK "macosx10" cannot be located. > > > On Fri, Sep 18, 2015 at 10:55 AM, Hanspeter Niederstrasser < > f...@snaggledworks.com> wrote: > >> >> On Thu, September 17, 2015 6:47 pm, Alexander Hansen wrote: >> > Hi. >> > >> > %p/sbin/fink-buildenv-helper.sh appears to assume that there is an SDK >> > directory corresponding to the OS X version. However, with Xcode 7 on >> > 10.10 this isn’t the case—there is only a 10.11 SDK. This results >> in >> > $SDK_PATH not being set. >> > >> > I’m not sure how many packages care. wxwidgets300 currently uses >> > $SDK_PATH, but it doesn’t seem like the build really needs that to be >> > set any more. >> > >> > Just thought you might like to know in case folks started complaining. >> :-) >> >> The SDK_* variables were originally introduced to deal with cmake that was >> often stoopid when SDK_VERSION and MACOSX_DEPLOYMENT_TARGET versions >> didn't agree. Since we generally don't cross compile, not sure how many >> packages actually need to have the SDK_PATH available (but it can't hurt >> to have f-b-m be smarter about what the current available SDK is). >> >> On 10.10 with 10.11 SDK only, what does 'xcodebuild -version -sdk >> macosx10' output? >> >> Hanspeter >> >> -- >> >> Note that current make 3.3.x won't throw an error over this. It only emits a warning that the SDK is newer than the deployment target and proceeds. However you may run into issues with headers which are fully deprecated in the newer SDK (like openssl in 10.11) and need to resort to... -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING="" \ -DCMAKE_OSX_SYSROOT:STRING=/ \ in order to get the 10.10 SDK installed by the 'legacy' CLI, >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Fink-devel mailing list >> Fink-devel@lists.sourceforge.net >> List archive: >> http://news.gmane.org/gmane.os.apple.fink.devel >> Subscription management: >> https://lists.sourceforge.net/lists/listinfo/fink-devel >> > >
------------------------------------------------------------------------------
_______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel