Nmap Development mailing list archives

Re: Make install error on Mac OS 10.6


From: David Fifield <david () bamsoftware com>
Date: Tue, 3 Nov 2009 16:12:05 -0700

On Mon, Nov 02, 2009 at 10:09:35AM -0800, Corey Chandler wrote:
Writing  
/usr/local/lib/python2.6/site-packages/zenmap-5.05BETA1-py2.6.egg-info
Traceback (most recent call last):
 File "setup.py", line 510, in <module>
   setup(**setup_args)
 File  
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py", 
line 152, in setup
   dist.run_commands()
 File  
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", 
line 987, in run_commands
   self.run_command(cmd)
 File  
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", 
line 1007, in run_command
   cmd_obj.run()
 File "setup.py", line 131, in run
   self.set_modules_path()
 File "setup.py", line 254, in set_modules_path
   ucontent.insert(uline, "sys.path.append(%s)\n" % repr(modules))
TypeError: an integer is required
make: *** [install-zenmap] Error 1

Thanks for this report. It is fixed in r15983. setup.py inserts a line
of code into the installed zenmap script so it can find its libraries no
matter where it was installed. It was looking for a certain line so it
knew the place at which to insert the code, but that line was removed
recently. I changed it to insert the code just before the first
non-comment line instead.

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: