[MacPorts] #16194: nmap 4.68: upgrade fails (missing include path)

MacPorts noreply at macports.org
Sat Aug 2 11:16:30 PDT 2008


#16194: nmap 4.68: upgrade fails (missing include path)
---------------------------------+------------------------------------------
 Reporter:  vinc17 at macports.org  |       Owner:  opendarwin.org at darkart.com
     Type:  defect               |      Status:  new                       
 Priority:  Normal               |   Milestone:  Port Bugs                 
Component:  ports                |     Version:  1.6.0                     
 Keywords:  nmap build           |  
---------------------------------+------------------------------------------
 When upgrading nmap:
 {{{
 [...]
 Compiling nmap
 rm -f nmap
 /usr/bin/g++-4.0 -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib
 -Lnbase -Lnsock/src/   -o nmap main.o nmap.o targets.o tcpip.o
 nmap_error.o utils.o idle_scan.o osscan.o osscan2.o output.o scan_engine.o
 timing.o charpool.o services.o protocols.o nmap_rpc.o portlist.o NmapOps.o
 TargetGroup.o Target.o FingerPrintResults.o service_scan.o
 NmapOutputTable.o MACLookup.o nmap_tty.o nmap_dns.o  traceroute.o
 portreasons.o nse_main.o nse_nsock.o nse_init.o nse_fs.o nse_nmaplib.o
 nse_debug.o nse_pcrelib.o nse_string.o  -lnbase -lnsock -lpcre -lpcap
 -lssl -lcrypto libdnet-stripped/src/.libs/libdnet.a -llua -lm
 Compiling nse-standard-library
 ./libtool --tag=CC --silent --mode=compile /usr/bin/gcc-4.0  -no-cpp-
 precomp -O2 -Wall  -fno-strict-aliasing   -DHAVE_CONFIG_H
 -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM
 =\"powerpc-apple-darwin8.11.0\" -DNMAPDATADIR=\"/opt/local/share/nmap\"
 -DNMAPLIBEXECDIR=\"/opt/local/libexec/nmap\" -c bit.c
 In file included from bit.c:11:
 bit.h:6:21: error: lauxlib.h: No such file or directory
 bit.h:7:17: error: lua.h: No such file or directory
 [...]
 }}}
 I'd say that the problem is that -I/opt/local/include is missing. Indeed
 there was no problem in configure. From config.log:
 {{{
 configure:7459: checking lua.h usability
 configure:7476: /usr/bin/gcc-4.0 -c -O2 -Ilibdnet-stripped/include
 -I/opt/local/include -I/opt/local/include -I/opt/local/include conftest.c
 >&5
 configure:7482: $? = 0
 configure:7496: result: yes
 configure:7500: checking lua.h presence
 configure:7515: /usr/bin/cpp-4.0 -Ilibdnet-stripped/include
 -I/opt/local/include -I/opt/local/include -I/opt/local/include conftest.c
 configure:7521: $? = 0
 configure:7535: result: yes
 configure:7563: checking for lua.h
 configure:7571: result: yes
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/16194>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list