Nmap Development mailing list archives
Re: Compile error on netbsd
From: David Fifield <david () bamsoftware com>
Date: Mon, 31 Aug 2009 14:23:33 -0600
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 1Does 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
Current thread:
- Re: Compile error on netbsd, (continued)
- Re: Compile error on netbsd Jay Fink (Aug 28)
- Re: Compile error on netbsd David Fifield (Aug 28)
- Re: Compile error on netbsd Jay Fink (Aug 28)
- Re: Compile error on netbsd Jay Fink (Aug 31)
- Re: Compile error on netbsd David Fifield (Aug 31)
- Re: Compile error on netbsd Jay Fink (Aug 31)
- Re: Compile error on netbsd David Fifield (Aug 31)
- Re: Compile error on netbsd Jay Fink (Aug 31)
- Re: Compile error on netbsd David Fifield (Aug 31)
- Re: Compile error on netbsd Jay Fink (Aug 31)
- Re: Compile error on netbsd David Fifield (Aug 31)
- Re: Compile error on netbsd Jay Fink (Aug 31)
- Re: Compile error on netbsd Jay Fink (Aug 31)
- Re: Compile error on netbsd David Fifield (Sep 01)