configure error on compile ports

Craig Treleaven ctreleaven at cogeco.ca
Sun Feb 14 18:58:33 UTC 2021


> On Feb 14, 2021, at 1:22 PM, rmgls <rmgls at orange.fr> wrote:
> ...
> :info:configure checking for gcc... /usr/bin/clang
> :info:configure checking for C compiler default output file name... 
> :info:configure configure: error: C compiler cannot create executables
> 
> some details:
> osx11.2. new macports (/opt/local entirely deleted first).
> gcc and clang correctly seated in /usr/bin and running fine.
> xcode up-to-date, and commandline tools installed!

Have you installed the Xcode command line tools and accepted the license?

https://www.macports.org/install.php

Craig



More information about the macports-users mailing list