Hi, I’m tried to install nmap on a clean install of macports in Big Sur. When it got to configuring clang it is threw this error: clang: error: unknown argument '-qversion', did you mean '--version’? […] clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.0’ […] configure:2940: error: C compiler cannot create executables I see that the nmap configure file is asking for “qversion” $ grep qversion /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_nmap/nmap/work/nmap-7.92/configure for ac_option in --version -v -V -qversion; do for ac_option in --version -v -V -qversion; do for ac_option in --version -v -V -qversion; do I edited the configure file to read --version and it worked Full log attached. |
config.log
Description: Binary data