Nmap Development mailing list archives
Re: Compile error on netbsd
From: David Fifield <david () bamsoftware com>
Date: Mon, 31 Aug 2009 13:14:00 -0600
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. David Fifield
Attachment:
Makefile-sed.diff
Description:
_______________________________________________ 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 26)
- Re: Compile error on netbsd Jay Fink (Aug 27)
- 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)
