Nmap Development mailing list archives

Re: zenmap launch error


From: David Fifield <david () bamsoftware com>
Date: Fri, 12 Sep 2008 11:51:26 -0600

On Fri, Sep 12, 2008 at 02:56:42AM +0300, sara fink wrote:
Thanks for your reply. yes, it was installed in /usr/local/bin.  I deleted
zenmapGUI and zenmapCore and now it launches fine.

What bothers me, is that it shouldn't be there in my opinion. Maybe I am
wrong. In which directory you installed the new version?

It installs wherever you tell it to install using the --prefix option to
configure. By default that's in /usr/local. If you had a previous
version installed in /usr and you install a new version in /usr/local,
then you will have two copies of the Zenmap libraries installed.
Unfortunately Python will prefer the old libraries in /usr, which would
be incompatible with the new executable in /usr/local.

I admit it can be confusing. The easy solution is to have only one copy
of the program installed at a time. You can uninstall a copy of Zenmap
from /usr with the command "/usr/bin/uninstall_zenmap". If you have more
than one copy of Zenmap installed you will probably have to set the
PYTHONPATH environment variable or something similar to ensure that the
correct libraries are loaded.

Also, I extracted the new version in /usr/portage/distfiles wwhich shouldn't
be there. Only the bz2 should appear there.

I don't understand. /usr/portage/distfiles shouldn't be there? The
extracted package shouldn't be in /usr/portage/distfiles?

David Fifield

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


Current thread: