Nmap Development mailing list archives

Re: Errors on Mac 10.5 with NSE


From: Michael Bakeman <mbakeman () unr edu>
Date: Mon, 19 Nov 2007 14:01:05 -0800 (PST)

Ok after updating to svn revision 6287 and
$ configure && make && make install

running nmap -A -v 127.0.0.1
I get no errors.

Thanks,
Mike

On Mon, 19 Nov 2007, 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:

ok,
$ 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?

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: