Nmap Development mailing list archives

Re: nmap-5.21 - ndiff distutils.command module


From: David Fifield <david () bamsoftware com>
Date: Sat, 30 Oct 2010 08:59:22 -0700

On Thu, Oct 28, 2010 at 03:48:37PM -0700, David Fifield wrote:
On Wed, Oct 27, 2010 at 09:38:16AM -0500, Do Yang wrote:
Hello,

Wondering if you have seen issues on SUSE 10.1 where compiling (make) nmap-5.21 is having issues loading the 
distutils.command module?

Compiling nmap
rm -f nmap
g++ -Wl,-E  -L/usr/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  -lnbase -lnsock libpcre/libpcre.a -lpcap  
libdnet-stripped/src/.libs/libdnet.a liblua/liblua.a -ldl
cd ndiff && /usr/bin/python setup.py build
Traceback (most recent call last):
  File "setup.py", line 3, in ?
    import distutils.command
ImportError: No module named distutils.command
make[1]: *** [build-ndiff] Error 1
make[1]: Leaving directory `/home/1636/nmap-5.21'
make: *** [all] Error 2

What version of Python do you use?

python -V

Try installing the python-devel package. If that solves the problem,
please report back.

He wrote me back and said that installing the python-devel package
solved it.

David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: