Nmap Development mailing list archives

Re: BHDC08 Version of Nmap/Zenmap


From: Jay Chandler <lists () sequestered net>
Date: Tue, 12 Aug 2008 01:05:35 -0700


On Aug 10, 2008, at 10:12 PM, InfoSecSurvivor wrote:

Hello,

Not that this is really an Nmap/Zenmap error, but when trying to compile the BHDC08 version of Nmap/Zenmap on the latest version of Mac OS X I get the following error:

ImportError: No module named pangocairo

Both Pango and Cairo are installed, but I'm not sure about Pangocario? From the little I could find... It is supposed to be automatically created if when both the pango and cario packages are installed. Couldn't find anything concrete.

Any ideas?  Has anybody been able to compile this on Mac OS X?


Hi, Chris.

I've solved this particular issue, though I get hung up a bit later on down the road.

I'm on Leopard, with MacPorts installed. Pangocairo is installed as part of the pango package, so I don't have to jump through those hoops. If you're not willing to install from MacPorts, I'd suggest looking to the pango folks as to how best to get the pangocairo library working.

My issue:

I compile correctly, and the system installs, but zenmap bombs at runtime with: ImportError: No module named gtk

I think I need to pass the correct python prefix (the version of Python from MacPorts lies under /opt/local, but I can't find the right argument) to ./configure. ./configure --help doesn't reveal the magic invocation, so I'm hoping someone here has some wisdom.

Relevant ./configure output is:

checking for python... /usr/bin/python
checking for python version... 2.5
checking for python platform... darwin
checking for python script directory... /Library/Python/2.5/site- packages checking for python extension module directory... /Library/Python/2.5/ site-packages



--
Jay Chandler / KB1JWQ
Living Legend / Systems Exorcist
Today's Excuse: tachyon emissions overloading the system


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


Current thread: