Date: Mon, 12 Mar 2001 17:45:39 +1300 From: "Dan Langille" <dan@langille.org> To: freebsd-questions@freebsd.org Cc: dan@langille.org Subject: ipfstat -t option requires recompile, but how? Message-ID: <200103120445.f2C4jew13689@ns1.unixathome.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103120445.f2C4jew13689>