clang config issue

William Parducci bill at parducci.net
Wed Oct 27 18:23:23 UTC 2021


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:


configure:2838: /usr/bin/clang -qversion >&5
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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20211027/83bb4e30/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 8518 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20211027/83bb4e30/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20211027/83bb4e30/attachment-0001.htm>


More information about the macports-users mailing list