[MacPorts] #49784: nmap fails to configure when nawk is installed and gawk is not
MacPorts
noreply at macports.org
Mon Nov 23 16:40:48 PST 2015
#49784: nmap fails to configure when nawk is installed and gawk is not
--------------------------+--------------------------------
Reporter: ryandesign@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.99
Keywords: | Port: nmap
--------------------------+--------------------------------
nmap fails to configure when the nawk port is installed but the gawk port
is not:
{{{
config.status: creating nmap_config.h
nawk: illegal statement
input record number 1, file nmap_config.h.in
source line number 42
config.status: error: could not create nmap_config.h
}}}
Similar errors are common in other ports. I guess many ports' build
systems use awk syntax that is not compatible with nawk.
We've been fixing this in other ports by patching the configure script so
that it does not consider nawk as an awk candidate. Alternately, a
configure argument can be added:
{{{
ac_cv_prog_AWK=/usr/bin/awk
}}}
--
Ticket URL: <https://trac.macports.org/ticket/49784>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list