> On Sep 21, 2016, at 12:46, Marko Käning <mk-macpo...@posteo.net> wrote:
> 
> Hi,
> 
> there is no CLT for Xcode 8?
> 
> How come Xcode 8.0 tells me in "Preferences/Locations" that it uses CLT 
> "Xcode 8.0 (8A218a)”!

That refers to what is selected via xcode-select.  That means that xcrun and 
the stubs like /usr/bin/clang result in usage of the toolchains within that 
Xcode.app version.  The CLTools toolchain is in 
/Library/Developer/CommandLineTools.  If you have Xcode.app installed, you 
likely don't even care about /Library/Developer/CommandLineTools and the only 
reason you need the CLTools package is for the headers for the base system 
(/usr/include, et al.)


> 
> I recently ran into this issue 
> ---
> :info:configure
> :info:configure    Xcode not set up properly. You may need to confirm the 
> license
> :info:configure    agreement by running /usr/bin/xcodebuild without arguments.
> :info:configure
> ---
> with Xcode 8 on El-Capitan myself when trying to install port:qt5(-kde).
> 
> 
> 
> Qt’s configure script errors out because of a non-found xcrun:
> ---
> $ which xcrun
> /usr/bin/xcrun
> $ /usr/bin/xcrun -find xcrun
> xcrun: error: unable to find utility "xcrun", not a developer tool or in PATH
> ---
> 
> René thus suggested the attached patch for qt5(-kde) as a workaround.
> 
> Greets,
> Marko
> 
> 
> 
> <patch-no-xcrun-f-xcrun.diff>
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to