Date: Tue, 11 Mar 2003 10:02:07 +0000 From: Ceri Davies <setantae@submonkey.net> To: Drew Tomlinson <drew@mykitchentable.net> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: How Do I Build IPFW2 Only (Was Re: How Do I Specify -DIPFW2 In make.conf?) Message-ID: <20030311100207.GA71832@submonkey.net> In-Reply-To: <016501c2e764$b1ca82a0$6e2a6ba5@tagalong> References: <014001c2e73a$23f84db0$6e2a6ba5@tagalong> <20030310205547.GA39622@submonkey.net> <016501c2e764$b1ca82a0$6e2a6ba5@tagalong>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 10, 2003 at 04:25:14PM -0800, Drew Tomlinson wrote: > ----- Original Message ----- > From: "Ceri Davies" <setantae@submonkey.net> > To: "Drew Tomlinson" <drew@mykitchentable.net> > Cc: "FreeBSD Questions" <freebsd-questions@freebsd.org> > Sent: Monday, March 10, 2003 12:55 PM > > > On Mon, Mar 10, 2003 at 11:20:40AM -0800, Drew Tomlinson wrote: > > > I would like to enable IPFW2 support in 4.7-STABLE. The Handbook > > > (http://www.freebsd.org/releases/4.7R/relnotes-i386.html#AEN78) tells me > to > > > add 'options IPFW2' to the kernel config file and I understand that. > > > > > > Then it tells me to compile libalias and ipfw with the -DIPFW2 make > option. > > > If I understand the purpose of /etc/make.conf correctly, I should be > able to > > > specify -DIPFW2 there? How do I accomplish this? > > > > > > I'm sure this has been covered previously but my searches on Google are > not > > > turning it up. Thanks for a nudge to the appropriate docs! > > > > IPFW2= true > > Thank you for your response. I have added this to make.conf. > > Prior to adding it, I ran 'make buildworld'. How can I just rebuild IPFW so > it is IPFW2 instead without rebuilding my whole world? I saw in the > Handbook > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#Q21 > .4.15.1 an example for building pieces. Based on this example, I went to > /usr/src/sys/netinet and tried issuing make but without success. I don't > really understand the make process very well but I'm sure it didn't work > because there was no Makefile. Can I just build IPFW2 instead of rebuilding > the whole world? You could try "cd /usr/src; make -DNOCLEAN buildworld". That should just rebuild the bits that are different, but may not work. If a buildworld doesn't take you a long time, then I'd just do another one if I were you. > Thanks for helping me through this. No problem. Ceri -- 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?20030311100207.GA71832>