#16194: nmap 4.68: upgrade fails (missing include path) ----------------------------------+----------------------------------------- Reporter: vinc17@macports.org | Owner: opendarwin.org@darkart.com Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: nmap build ----------------------------------+----------------------------------------- Comment (by vinc17@macports.org): The nselib-bin has its own configure script and config.log, which I've attached. You can see that this configure script doesn't do the right thing: {{{ configure:18398: checking lua.h usability configure:18415: /usr/bin/gcc-4.0 -c -O2 -I/opt/local/include conftest.c
&5 configure:18421: $? = 0 configure:18435: result: yes configure:18439: checking lua.h presence configure:18454: /usr/bin/cpp-4.0 -I/opt/local/include conftest.c configure:18460: $? = 0 configure:18474: result: yes configure:18502: checking for lua.h configure:18509: result: yes }}} Instead of "-I/opt/local/include", this should be "-I../liblua".
IMHO, it would be simpler to use the lua provided by MacPorts (with my patch to add CPPFLAGS, since this variable is used by the configure scripts). -- Ticket URL: <http://trac.macports.org/ticket/16194#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS