Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: Compile error on netbsd
From: Jay Fink <jay.fink () gmail com>
Date: Mon, 31 Aug 2009 20:06:28 -0400

That is.. far out; I honestly don't remember making that patch unless
it was something I did and forgot about - in any case I'll test it :)

I'll get back about the rate limiting as well.

Thanks,
   Jay

On Mon, Aug 31, 2009 at 4:23 PM, David Fifield<david () bamsoftware com> wrote:
On Mon, Aug 31, 2009 at 04:04:26PM -0400, Jay Fink wrote:
On Mon, Aug 31, 2009 at 3:14 PM, David Fifield<david () bamsoftware com> wrote:
On Fri, Aug 28, 2009 at 11:27:04AM -0400, Jay Fink wrote:
I found another issue too also specific to NetBSD but possibly others
the - gnu sed syntax for inserting NCAT_VERSION is not portable; this
happens with a fresh svn checkout; the dirty fix is to install gsed
then alias sed to it; I'll look into a long term fix for this as well:


gmake[1]: Leaving directory `/var/tmp/foo/nsock/src'
sed -i -e 's/^#[ \t]*define[ \t]\+NCAT_VERSION[ \t]\+\(".*"\)/#define
NCAT_VERSION "5.05BETA1"/' ncat/ncat.h
sed: unknown option -- i
usage:  sed [-aEnr] script [file ...]
        sed [-aEnr] [-e script] ... [-f script_file] ... [file ...]
gmake: *** [ncat/ncat.h] Error 1

Does the attached patch fix the sed problem? You will have to
reconfigure after applying it.

No that is just the error; I haven't looked into that yet.
That is a tough one as it only crops up on a fresh checkout :)

I don't understand your reply. There was a patch attached to my message;
here it is again.
http://seclists.org/nmap-dev/2009/q3/att-0836/Makefile-sed_diff
It looks like the problem is that NetBSD sed doesn't support the -i
(in-place) option. The patch makes it use a temporary file instead.

You can make that target run every time by running the command
       touch nmap.h
before the make.

David Fifield


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


  By Date           By Thread  

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