[MacPorts] #24177: Can't Install nmap 5.21

MacPorts noreply at macports.org
Tue Mar 23 10:25:44 PDT 2010


#24177: Can't Install nmap 5.21
--------------------------------------------+-------------------------------
 Reporter:  keithnickum@…                   |       Owner:  macports-tickets@…                   
     Type:  defect                          |      Status:  new                                  
 Priority:  High                            |   Milestone:                                       
Component:  ports                           |     Version:  1.8.2                                
 Keywords:  nmap, install, port, nmap 5.21  |        Port:  nmap                                 
--------------------------------------------+-------------------------------
 Had an earlier version of nmap installed and had problems with upgrading.
 The error I'm getting now is a syntax error for setup.py:

 /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 payload.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_fs.o nse_nmaplib.o
 nse_debug.o nse_pcrelib.o nse_binlib.o nse_bit.o nse_openssl.o
 nse_ssl_cert.o  -lnbase -lnsock -lpcre -lpcap -lssl -lcrypto libdnet-
 stripped/src/.libs/libdnet.a liblua/liblua.a -lm
 cd ndiff && /usr/bin/python setup.py build
   File "setup.py", line 27
     except distutils.errors.DistutilsPlatformError, e:
                                                   ^
 SyntaxError: invalid syntax
 make[1]: *** [build-ndiff] Error 1
 make: *** [all] Error 2

 Error: Status 1 encountered during processing.


 Here's the general commands I used (more or less, forget the exact details
 but I *have* done all of these in order, at some point or another). I know
 some of it is more than a little redundant, but I thought I'd be 100%
 sure...also, the error is the same error throughout.

 > port -v selfupdate
 > port upgrade outdated
 Error here for nmap
 > port upgrade nmap
 Error
 > port uninstall nmap
 > port upgrade outdated
 Works fine
 > port clean nmap
 > port install nmap
 Error
 > port uninstall nmap
 > port clean nmap
 > port -v selfupdate
 > port -v selfupdate
 > port uninstall nmap
 > port clean nmap
 > port install nmap
 Error

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


More information about the macports-tickets mailing list