Nmap Development mailing list archives

Re: zenmap launch error


From: "sara fink" <sara.fink () gmail com>
Date: Tue, 16 Sep 2008 14:58:20 +0300

See my reply in the text.




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.


Yes.



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.


It is confusing.  Usually in gentoo  in /usr/local  various ebuilds enter
there. I have only few specific programs there.  Most of the programs appear
in /usr



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?


In /usr/portage/distfiles  only the  tar.gz files appear there.  When you
use emerge package the package is installed in /usr /var /opt all the
directories where it should appear. For nmap I put the .gz file in distfiles
and extracted compiled there. So I ended up with nmap-4.75 in
/usr/portage/distfiles/nmap-4.75.

Will install now 4.76 and see how it goes.



David Fifield

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


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


Current thread: