Date: Tue, 17 Mar 2020 18:19:32 -0500 From: Doug McIntyre <merlyn@geeks.org> To: freebsd-questions@freebsd.org Subject: Re: poudriere, bind and libxml2-dev Message-ID: <20200317231932.GA12692@geeks.org> In-Reply-To: <20200316190107.GA3339@foucry.net> References: <20200316190107.GA3339@foucry.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 16, 2020 at 08:01:07PM +0100, Jacques Foucry via freebsd-questions wrote: > I would like too use the statistics channel of bind. > > I use a poudriere in order to compile my own packages, as many of us. > > The bind doc is clear, named need both libxml2 And libxml2-dev: > > https://kb.isc.org/docs/aa-00769 > > I try to remove all the options of bind in order to be sure to have libxml2-dev > (poudriere option -r -p xxx dns/bind911 then poudriere option -p xxx > dns/bin911), but no chance. libxml2-dev is not include. libxml2-dev is a Linuxism. Typically on Linux the package without -dev includes just the library object, while the -dev includes the headers needed to compile with it. On FreeBSD, typically the packages (ie. textproc/libxml2) contains both. According to Freshports, https://www.freshports.org/dns/bind914/ the BIND9.14 package (which is the one you _really_ ought to be using, although it is the same for 9.11), builds with libxml2 automatically, no extra configuration options required. So, it should be ready to go for what you need out of the box? If you needed JSON, you would need to configure that lib in with the options.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200317231932.GA12692>