[MacPorts] #15042: nmap won't install
#15042: nmap won't install ---------------------------+------------------------------------------------ Reporter: kriss@ruht.ro | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | ---------------------------+------------------------------------------------ I did a debug install of nmap, and the output of that is attached below. Basically, I installed nmap on a clean install of ports. I did a selfupdate as well, but it did not fix the problem. When I do sudo port install nmap, It errors out with this message: Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_nmap/work/nmap-4.60" && make all " returned error 2 Command output: set_pcap_filter(char const*, pcap*, char*, ...)in tcpip.o _nsock_pcap_set_filter in libnsock.a(nsock_pcap.o) "_pcap_next_ex", referenced from: _do_actual_pcap_read in libnsock.a(nsock_pcap.o) "_ERR_get_error", referenced from: _handle_connect_result in libnsock.a(nsock_core.o) _handle_connect_result in libnsock.a(nsock_core.o) _Nsock_SSL_Init in libnsock.a(nsock_ssl.o) _Nsock_SSL_Init in libnsock.a(nsock_ssl.o) "_SSL_write", referenced from: _handle_write_result in libnsock.a(nsock_core.o) "_SSL_new", referenced from: _handle_connect_result in libnsock.a(nsock_core.o) "_SSL_load_error_strings", referenced from: _Nsock_SSL_Init in libnsock.a(nsock_ssl.o) "_SSL_library_init", referenced from: _Nsock_SSL_Init in libnsock.a(nsock_ssl.o) "_SSL_shutdown", referenced from: _nsi_delete in libnsock.a(nsock_iod.o) "_SSL_get1_session", referenced from: _nsi_get1_ssl_session in libnsock.a(nsock_iod.o) "_SSL_CTX_new", referenced from: _Nsock_SSL_Init in libnsock.a(nsock_ssl.o) "_pcap_lookupnet", referenced from: set_pcap_filter(char const*, pcap*, char*, ...)in tcpip.o _nsock_pcap_set_filter in libnsock.a(nsock_pcap.o) ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [nmap] Error 1 make: *** [all] Error 2 Warning: the following items did not execute (for nmap): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. I am running on a MacBook Pro on Leopard with all of the latest updates. (10.5.2) Please let me know if you need additional information. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/15042> MacPorts </projects/macports> Ports system for Mac OS
#15042: nmap won't install ----------------------------+----------------------------------------------- Reporter: kriss@ruht.ro | Owner: dluke@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ----------------------------+----------------------------------------------- Changes (by jmr@macports.org): * cc: opendarwin.org@darkart.com (added) * owner: macports-tickets@lists.macosforge.org => dluke@macports.org * milestone: => Port Bugs Comment: Assigning to maintainers. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/15042#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#15042: nmap won't install ----------------------------+----------------------------------------------- Reporter: kriss@ruht.ro | Owner: dluke@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ----------------------------+----------------------------------------------- Changes (by dluke@macports.org): * status: new => assigned Comment: Can you verify the version of libpcap that you have installed? (should be 0.9.8) -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/15042#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#15042: nmap won't install ----------------------------+----------------------------------------------- Reporter: kriss@ruht.ro | Owner: dluke@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ----------------------------+----------------------------------------------- Comment (by kriss@ruht.ro): $ sudo port info libpcap libpcap 0.9.8, net/libpcap (Variants: ipv6, no_shared) http://www.tcpdump.org/ The Packet Capture library provides a high level interface to packet capture systems. All packets on the network, even those destined for other hosts, are accessible through this mechanism. Platforms: darwin Maintainers: opendarwin.org@darkart.com -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/15042#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#15042: nmap won't install ----------------------------+----------------------------------------------- Reporter: kriss@ruht.ro | Owner: dluke@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ----------------------------+----------------------------------------------- Comment (by dluke@macports.org): port info just shows what is in the portindex, please run: port installed libpcap and reply with the output thanks! -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/15042#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#15042: nmap won't install ----------------------------+----------------------------------------------- Reporter: kriss@ruht.ro | Owner: dluke@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ----------------------------+----------------------------------------------- Comment (by kriss@ruht.ro): OK, so I had an older version of libpcap. I upgraded libpcap, and I got past the original error message, but then it was complaining about something related to ssl, so I upgraded openssl, and then nmap compiled. Sorry I didn't think about checking deps first, just not used to having to do that with ports. Thanks for your help. Sorry for the newb ticket. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/15042#comment:5> MacPorts </projects/macports> Ports system for Mac OS
#15042: nmap won't install ----------------------------+----------------------------------------------- Reporter: kriss@ruht.ro | Owner: dluke@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: worksforme | Keywords: ----------------------------+----------------------------------------------- Changes (by dluke@macports.org): * status: assigned => closed * resolution: => worksforme Comment: No problem, glad you got it working. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/15042#comment:6> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts