<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Hi,</div><div class=""><br class=""></div><div class="">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:</div><div class=""><br class=""></div><div class=""><br class=""></div><font face="Courier" style="font-size: 12px;" class="">configure:2838: /usr/bin/clang -qversion >&5<br class="">clang: error: unknown argument '-qversion', did you mean '--version’?<br class="">[…]</font><div class=""><font face="Courier" style="font-size: 12px;" class="">clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.0’<br class="">[…]<br class="">configure:2940: error: C compiler cannot create executables</font><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class="">I see that the nmap configure file is asking for “qversion”</div></div><div class=""><br class=""></div><div class=""><div class=""><font face="Courier" style="font-size: 12px;" class="">$ 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</font></div><div class=""><font face="Courier" style="font-size: 12px;" class="">for ac_option in --version -v -V -qversion; do</font></div><div class=""><font face="Courier" style="font-size: 12px;" class="">for ac_option in --version -v -V -qversion; do</font></div><div class=""><font face="Courier" style="font-size: 12px;" class="">for ac_option in --version -v -V -qversion; do</font></div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">I edited the configure file to read --version and it worked</div><div class=""><br class=""></div><div class="">Full log attached.</div><div class=""><br class=""></div><div class=""></div></div></div></body></html>