Nmap Development mailing list archives

Re: python install question


From: David Fifield <david () bamsoftware com>
Date: Mon, 20 Apr 2009 13:21:40 -0600

On Wed, Feb 18, 2009 at 03:53:23PM -0800, Aaron Leininger wrote:
I have been upgrading some of my boxen to 4.85beta3. I have one test
box that I use that has no GUI installed. I used the ./configure
--without-zenmap option on this box to speed up the compile since I
had no use for zenmap in this case. I know zenmap uses python but I
was surprised to find that the regular install of nmap from source now
requires python and python-dev to be installed in order to
successfully complete. The ndiff script at the end of the 'make
install' command is where the failure was. 

I got: 
   invalid Python installation: unable to open /usr/include/python2.5/pyconfig.h

After installing python2.5-dev, ndiff was successfully installed and
thus the 'make install' threw no errors. 

I committed some detection code that changes the error to

running install
error: invalid Python installation: unable to open /usr/lib/python2.6/config/Makefile (No such file or directory)
Installing your distribution's python-dev package may solve this problem.

David Fifield

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


Current thread: