Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: Errors on Mac 10.5 with NSE
From: Lee Heath <lheath () unspecific com>
Date: Mon, 19 Nov 2007 16:34:48 -0600

David Fifield wrote:
On Tue, Nov 13, 2007 at 08:39:00PM -0600, MadHat Unspecific wrote:
Fyodor wrote:
On Mon, Nov 12, 2007 at 10:35:27PM -0600, MadHat Unspecific wrote:
$ make clean
edit Makefile.in
$ configure && make && make install

No crash...  Looks like that was it.
Thanks for testing.  I also just noticed that the Debian Nmap package
removes the binary stripping as well
(http://packages.debian.org/sid/nmap).  So I have removed it from the
Nmap makefile for the moment.

I must admit to being quite torn by this, since stripping really does
reduce the binary size dramatically (from 4MB to 800KB on my x86_64
Linux system).  I'm thinking maybe we should add a test to configure
to decide whether (and how) to strip.  We would call "strip" if that
binary exists (and do no stripping if it doesn't), except on Mac where
we might be able to use "strip -x" successfully (
http://lua-users.org/lists/lua-l/2007-01/msg00357.html ).

Madhat: Can you try 'strip -x nmap' and see if it still runs or if it
crashes with the Lua error?

I just committed a change which makes "strip -x" the default. configure
looks for strip. Can a Mac OS X user please test it?

svn up
./configure && make && make install

$ nmap -T4 -vvv -A

no crash.  Looks good to me.

Sent through the nmap-dev mailing list
Archived at http://SecLists.Org

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]