From owner-freebsd-questions Sun Mar 11 20:45:45 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ns1.unixathome.org (ns1.unixathome.org [203.79.82.27]) by hub.freebsd.org (Postfix) with ESMTP id F150F37B71A for ; Sun, 11 Mar 2001 20:45:41 -0800 (PST) (envelope-from dan@langille.org) Received: from wocker (wocker.int.nz.freebsd.org [192.168.0.99]) by ns1.unixathome.org (8.11.1/8.11.1) with ESMTP id f2C4jew13689; Mon, 12 Mar 2001 17:45:40 +1300 (NZDT) (envelope-from dan@langille.org) Message-Id: <200103120445.f2C4jew13689@ns1.unixathome.org> From: "Dan Langille" Organization: novice in training To: freebsd-questions@freebsd.org Date: Mon, 12 Mar 2001 17:45:39 +1300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: ipfstat -t option requires recompile, but how? Reply-To: dan@langille.org Cc: dan@langille.org X-mailer: Pegasus Mail for Win32 (v3.12c) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm trying to recompile ipfilter to obtain ncurses support for the ipfstat -t option. So I've modifed /usr/src/contrib/ipfilter/Makefile to add into ncurses support: # Uncomment the next 3 lines if you want to view the state table a la top(1) # (requires that you have installed ncurses). STATETOP_CFLAGS=-DSTATETOP # # Where to find the ncurses include files (if not in default path), # STATETOP_INC=/usr/include/ #STATETOP_INC=-I/usr/local/include # # How to link the ncurses library # #STATETOP_LIB=-lncurses #STATETOP_LIB=-L/usr/local/lib -lncurses STATETOP_LIB=-L/usr/lib/ -llibncurses Those changes may or may not be correct.... Then I try to compile: [root@xeon:/usr/src/contrib/ipfilter] # make freebsd4 if [ ! -f netinet/done ] ; then (cd netinet; ln -s ../*.h .; ln -s ../ip_ftp_pxy.c .; ln -s ../ip_rcmd_pxy.c .; ln -s ../ip_raudio_pxy.c .); (cd netinet; ln -s ../ipsend/tcpip.h tcpip.h); touch netinet/done; fi cd: can't cd to netinet *** Error code 2 Stop in /usr/src/contrib/ipfilter. Where did I go wrong? -- Dan Langille pgpkey - finger dan@unixathome.org | http://unixathome.org/finger.php got any work? I'm looking for some. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message