Nmap Development mailing list archives

Re: Zenmap installation issue


From: Daniel Miller <bonsaiviking () gmail com>
Date: Tue, 20 May 2014 18:41:38 -0500

Hello,

Zenmap's build process currently depends on some actions taken by the
configure script and the Makefile. I am not surprised that you ended up
with errors after pulling it out of the Nmap source tree.

That said, if you have suggestions for how we can be more Pythonic in our
approach to building and installing our Python programs (Zenmap and Ndiff),
we welcome your input.

Thanks,
Dan


On Fri, May 9, 2014 at 3:43 AM, R3alFr3e <yakle1218 () gmail com> wrote:

I was trying to fix some bugs for zenmap so I copied the source from the
repository and built it.

python setup.py build and then install but it threw me an error:

running install

running build

running build_py

running build_scripts

running install_lib

running install_scripts

copying build/scripts-2.7/zenmap -> /usr/local/bin

changing mode of /usr/local/bin/zenmap to 755

running install_data

running install_egg_info

Removing /Library/Python/2.7/site-packages/zenmap-6.46-py2.7.egg-info

Writing /Library/Python/2.7/site-packages/zenmap-6.46-py2.7.egg-info

Traceback (most recent call last):

  File "setup.py", line 638, in <module>

    setup(**setup_args)

  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py",
line 152, in setup

    dist.run_commands()

  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
line 953, in run_commands

    self.run_command(cmd)

  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
line 972, in run_command

    cmd_obj.run()

  File "setup.py", line 247, in run

    self.fix_paths()

  File "setup.py", line 399, in fix_paths

    "CONFIG_DIR": os.path.join(self.saved_prefix, config_dir),

  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py",
line 77, in join

    elif path == '' or path.endswith('/'):

AttributeError: 'NoneType' object has no attribute 'endswith'

Any ideas?

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

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


Current thread: