|
Nmap Development
mailing list archives
Re: BHDC08 Version of Nmap/Zenmap
From: David Fifield <david () bamsoftware com>
Date: Tue, 12 Aug 2008 20:11:48 -0600
On Tue, Aug 12, 2008 at 06:58:17PM -0700, Jay Chandler wrote:
On Aug 12, 2008, at 2:36 PM, David Fifield wrote:
On Tue, Aug 12, 2008 at 12:23:40PM -0700, Jay Chandler wrote:
On Aug 12, 2008, at 7:59 AM, David Fifield wrote:
Use the PYTHON environment variable when configuring:
PYTHON=/opt/local/bin/python ./configure ...
or maybe
PYTHON=/opt/local/bin/python2.5 ./configure ...
This one is the correct option (as I discovered last night) for the
binary location, but then:
checking for /opt/local/bin/python2.5 script directory... ${prefix}/
lib/python2.5/site-packages
checking for /opt/local/bin/python2.5 extension module directory... $
{exec_prefix}/lib/python2.5/site-packages
How do I assign these as well?
You shouldn't have to. Those messages come from the AM_PATH_PYTHON
Autoconf macro we use to check for Python. We don't use the
PYTHON_PREFIX and PYTHON_EXEC_PREFIX values; those locations are found
out by the setup.py script. It appears you can override PYTHON_PREFIX
and PYTHON_EXEC_PREFIX in the environment but you shouldn't need to.
I may have to-- PYTHON=/opt/local/bin/python2.5 ./configure continues
to generate the above error messages.
I don't understand--you mean configure stops running after those
messages? They aren't error messages, just information messages, so they
shouldn't cause the configure script to quit. Maybe you can send me the
config.log that exists after the script fails.
Can you run Zenmap by entering the zenmap source directory and running
"/opt/local/bin/python2.5 zenmap"?
After satisfying a handful of dependancies, yes. I'll include a list
of them a bit later once we get this issue sorted.
I wrote a howto on running Zenmap with MacPorts and Fink:
http://seclists.org/nmap-dev/2008/q2/0040.html
It's a little out of date in that I don't think MacPorts has the sqlite3
problem I described any more. The only top-level dependencies it should
require are py25-gtk and py25-sqlite3 (which bring in a ton of their own
dependencies).
I notice in those instructions that I said to specify PYTHON during
make, not configure. It shouldn't matter but doing that is worth a try.
You can also try entering the zenmap directory and running
/opt/local/bin/python2.5 setup.py clean --all
/opt/local/bin/python2.5 setup.py build --prefix="..."
/opt/local/bin/python2.5 setup.py install --force
(replace "..."), which is basically what the Nmap makefile does when
PYTHON is set correctly.
David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org
By Date
By Thread
Current thread:
- Re: BHDC08 Version of Nmap/Zenmap, (continued)
Re: BHDC08 Version of Nmap/Zenmap David Fifield (Aug 12)
|