Nmap Development mailing list archives

Re: Errors on Mac 10.5 with NSE


From: MadHat Unspecific <madhat () unspecific com>
Date: Tue, 13 Nov 2007 20:39:00 -0600

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?
  

OK, seemed to work fine, but not much size difference in size.
1.0M before
840K after

Thanks for posting the traceroute problem.  I hope someone finds a
solution to that.  I don't have a Mac to test with.
  

I'd give you access, but it is a laptop.  What can I do to help figure 
out what the issue is?



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


Current thread: