Re: XCode reinstall command-line tools
> On 23 Sep 2021, at 1:32 am, Tom wrote: > > Can’t you simply just ignore that error message? Generally no. things will start to fail to build if its not addressed. its there for a reason... > >> On 22. Sep 2021, at 21:48, Justin Vallon wrote: >> >> I upgraded XCode, and encountered the "cltversion: The Command Line Tools >> are installed, but MacPorts cannot determine the version" error. It linked >> to https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt. >> >> That page talks about missing receipts, and downloading the command line >> tools manually. > smime.p7s Description: S/MIME cryptographic signature
Re: XCode reinstall command-line tools
On 9/22/21 5:08 PM, Bjarne D Mathiesen wrote: I'm just using this : # https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress softwareupdate -ia rm /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress I've scripted it as part of my routine : https://trac.macports.org/wiki/howto/AdvancedDailyAdm I guess it wasn't clear to me that I didn't have to download the tools package from the developer site. After re-reading the instructions, I see that I would only have to do what you said. Maybe it would be clearer: - Before 10.9: - Download the tools - Install it - For 10.9 or later: - touch, softwareupdate, rm The softwareupdate approach seems same complexity as rm && xcodeselect --install, so no point in making any changes. -- -Justin justinval...@gmail.com
Re: XCode reinstall command-line tools
On 9/22/21 8:32 PM, Tom wrote: Can’t you simply just ignore that error message? On 22. Sep 2021, at 21:48, Justin Vallon wrote: I upgraded XCode, and encountered the "cltversion: The Command Line Tools are installed, but MacPorts cannot determine the version" error. It linked to https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt. That page talks about missing receipts, and downloading the command line tools manually. That error is just a warning, but then gcc11 failed to build. Addressing the warning by reinstalling the CLT fixed the gcc build issue. -- -Justin justinval...@gmail.com
Re: XCode reinstall command-line tools
Can’t you simply just ignore that error message? > On 22. Sep 2021, at 21:48, Justin Vallon wrote: > > I upgraded XCode, and encountered the "cltversion: The Command Line Tools are > installed, but MacPorts cannot determine the version" error. It linked to > https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt. > > That page talks about missing receipts, and downloading the command line > tools manually.
Re: XCode reinstall command-line tools
I'm just using this : # https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress softwareupdate -ia rm /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress I've scripted it as part of my routine : https://trac.macports.org/wiki/howto/AdvancedDailyAdm -- Bjarne D Mathiesen Korsør ; Danmark ; Europa --- denne besked er skrevet i et totalt M$-frit miljø MacPro 2010 ; OpenCore + macOS 10.15.7 Catalina 2 x 3,46 GHz 6-Core Intel Xeon ; 256 GB 1333 MHz DDR3 ECC RDIMM ATI Radeon RX 590 8 GB